Bind slave server not updating queenslanddating com
Right now it just waits for TTL expiration on the slaves.Any way to easily fix this, or is it a bug/feature request?My largest client is getting annoyed at me, and I've tried to hack it into the code, but it's not working. User makes a change to their dns zone, and they click apply changes.
I have also disabled the iptables firewall, as that is not difficult to set up and allow port access between the 3 servers.
I just wanted to cut that out of the equation to make sure DNS and replication is working. I also did an upgrade of all 3 servers, thanks for that.
On your /etc/and zone files I see all necessary options for a successful AFXR transfer.
Here is the SOA record for my zone:$TTL 86400 ; 1 IN SOA ns1. ( 2010013001 ; serial, I use date and a 2 digit number 10800 ; refresh (3 hours) 900 ; retry (15 minutes) 604800 ; expire (1 week) 86400 ; minimum (1 day) )On the /etc/on the master server you have all the relevant options I have:notify yes;allow transfer;etc. I'm happy to post full conf files, minus private info. took a bit to tweak the script to change the master entries in the "named.conf" file to slave for the slave servers, but so far it is working fine.
My configs are now as follows: Master server:# vi /var/named/chroot/etc/Feb 4 ns1 named: command channel listening on 127.0.0.1#953Feb 4 ns1 named: zone 0.168.192.in-addr.arpa/IN: loaded serial 101Feb 4 ns1 named: zone test1.com/IN: loaded serial 101Feb 4 ns1 named: zone yourdomain.com/IN: loaded serial 101Feb 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) 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.
And to do such a task manually is really not viable. Please help Thanks As far as I am aware you need to write scripts to automate the configuration transfer between the master and the slaves.
I am pasting the steps which I have followed to configure my master and slave server ================================================== ============== Configure Bind as master and slave server Install Bind on your server yum install bind OR sudu apt-get install bind9 Generate RNDC Key using the command rndc-confgen -a -k rndc-key it will stored in /etc/rndc-key file Master Server IP 192.168.0.1 Slave Server IP 192.168.1.1 Master Server Configuration ======================== options ; //### added rndc-key into ### key "rndc-key" ; acl "trusted" ; controls ; view "external" ; Slave Server Configuration ================== options ; key "rndc-key" ; acl "trusted" ; controls ; view "external" ; ================================================== ============== I have the same entry as you suggested.
zone "yourdomainname.com" in ; But my concern is If I am adding a new DNS record for a new domain on my master server then why slave server file is not getting updated with the zone entry for that domain name.
The 3 servers are tentatively installed on a Xen virtual server for testing purposes.