Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
You'll need to run the commands below on both your HDAs.<br/>
 
You'll need to edit named.patch before executing the patch command:<br/>
On your main HDA: replace home.com with your second HDA domain name, and 192.168.1.10 with your second HDA real IP address.<br/>
On your second HDA: replace home.com with your main HDA domain name, and 192.168.1.10 with you HDA real IP address.<br/>
cat > wget -O named.patch << 'EOF' *** http:/usr/binwiki.amahi.org/hdactl 2010-06-16 21:55:38.000000000 -0400 --- images/usrc/binca/hdactlNamed.new 2010-08-03 07:49:22.083756431 -0400 *************** *** 255,260 **** --- 255,265 ---- printf $hda "\tallow-update { key ddnskey; };\n"; printf $hda "\tcheck-names ignore;\n"; printf $hda "};\n\n"; + + printf $hda "zone \"home.com\" IN {\n"; + printf $hda "\ttype slave;\n"; + printf $hda "\tmasters { 192.168.1.10; };\n"; + printf $hda "};\n\n"; } sub print_void_info { EOFpatch
patch -p0 < named.patch
service hdactl restart