Bind slave not updating
The zone file [b]/var/named/chroot/var/named/test1zone[/b] is also not transferred.The zone entry in the [b]named.conf[/b] file is not transfered either. Log on the Master server: # /etc/init.d/named restart ; tail -f /var/log/messages [quote] Feb 4 ns1 named: command channel listening on 127.0.0.1#953 Feb 4 ns1 named: zone 0.168.192.in-addr.arpa/IN: loaded serial 101 Feb 4 ns1 named: zone test1.com/IN: loaded serial 101 Feb 4 ns1 named: zone yourdomain.com/IN: loaded serial 101 Feb 4 ns1 named: running Feb 4 ns1 named: zone 0.168.192.in-addr.arpa/IN: sending notifies (serial 101) Feb 4 ns1 named: zone yourdomain.com/IN: sending notifies (serial 101) Feb 4 ns1 named: zone test1.com/IN: sending notifies (serial 101) [/quote] Neither of the Slave server show anything in their logs with regards to the new [b]test1[/b] entry. As currently I am testing on only 3 BIND DNS servers, but we will end up having close to 8 servers at all our branches.The 3 servers are tentatively installed on a Xen virtual server for testing purposes. The services on all 3 servers start up without any apparent issues.
/bin/bash cd /var/named/chroot/etc/ #store number of lines in conf file lines=`cat | wc -l` # bc calculates how many lines to tail - header modifylines=`echo "$lines-27" | bc` #write the header to a file (first 27 lines) head -27 /var/named/chroot/etc/named_slave/named.conf2 rm tail head fwd slave tailnew rev # rsync it over to secondary rsync -e ssh -avzl P /var/named/chroot/etc/named_slave/[email protected]:/var/named/chroot/etc/. I think there is an easier way and please correct me if I'm wrong: According to the theory of DNS, authoritative DNS servers, that is master DNS servers, have TTL(time-to-live) and serial number values specified in the SOA record for each zone.I have also disabled the iptables firewall, as that is not difficult to set up and allow port access between the 3 servers.