Hi, I hope someone can shed some light on this BIND issue I have been trying to trouble shoot;
I have setup a slave zone in BIND but BIND is unable to transfer the zone data from the master server. The following error appears in /var/log/messages:May 10 10:29:11 server named: zone xxx.co.uk/IN: Transfer started. May 10 10:29:11 server named: transfer of 'xxx.co.uk/IN' from XX.XX.XX.XX4#53: connected using xxx.xxx.xxx.xxx#50810 May 10 10:29:11 server named: transfer of 'xxx.co.uk/IN' from XX.XX.XX.XX#53: failed while receiving responses: end of file May 10 10:29:11 server named: transfer of 'xxx.co.uk/IN' from XX.XX.XX.XX#53: end of transfer
Some more information about my setup:
CentOS 5.6 SELinux disabled (is this default for virtualmin?) BIND version 9.3.6, under chroot /var/named/chroot (tried running without chroot also,no difference)
Trying to set up my server to act as a slave for xxx.co.uk, the master server for this domain is (I think) running djbdns. Have setup glue records with my registrar for ns.xxx.co.uk and ns1.xxx.co.uk pointing at the two IP addresses of my BIND server
I have been trying to fix this for a few days now and have tied/checked the following:
Telnet into port 53 works and port scans show port 53 to be open (TCP & UDP)netstat -tulpn | grep :53
shows BIND is listing n the correct interfaces
Checked iptables & apf firewall, both are set to allow TCP & UDP on 53 for both interfaces
Checked BIND configuration, no errors found
Installed bind-chroot (using yum) and set BIND to run chrooted and without, same error message occurs
also noticed error: May 10 10:15:57 server named: the working directory is not writable Checked directory permissions for /var/named/ and chrooted equivalent, all look correct (compared to a fresh install and examples on the internet) From googling this error it appears to be misleading and a non issue?
I am starting to think I have miss-configured some DNS settings at the Master/Registrar, is it possible that this would effect zone transfers?
Running a test at intodns.com gives the following problems:DNS servers responded ERROR: One or more of your nameservers did not respond: The ones that did not responded are: 89.xxx.xxx.xxx 89.xxx.xxx.xxx (ns.xxx.co.uk & ns1.xxx.co.uk) Missing nameservers reported by your nameservers ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are: ns.xxx.co.uk ns1.xxx.co.uk This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example).
My BIND server is the master for other zones which function correctly (as far as I can tell) so I am a little confused about the above.
I have also contacted my VPS provider (they are the master for the zone xxx.co.uk) to see if they can shed some light on the issue.
Apologies for the long post, I hope someone can guide me in the right direction with this.