[SOLVED] BIND Slave zone transfer issue - "failed while receiving responses: end of file"

5 posts / 0 new
Last post
#1 Tue, 05/10/2011 - 05:13
chris1262

[SOLVED] BIND Slave zone transfer issue - "failed while receiving responses: end of file"

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[29597]: zone xxx.co.uk/IN: Transfer started. May 10 10:29:11 server named[29597]: 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[29597]: 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[29597]: 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[29597]: 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.

Thanks,

Chris.

Tue, 05/10/2011 - 05:55
chris1262

Sorry to waste your time on this, turns out my VPS provider doesn't allow transfers despite the previous technical support person telling me that they do.

Tue, 05/10/2011 - 08:49
andreychek

Well, nuts :-)

Thanks for letting us know though!

-Eric

Tue, 05/10/2011 - 09:31 (Reply to #3)
chris1262

No Problem, hope you didn't read all the way through my mammoth first post before noticing the second post? IS there a way to mark the thread solved? or delete it? (although some of that info might be useful to others)

Thanks for your quick response, as usual first rate support, will definitely go pro once I save up enough pennies!

Chris.

------------------SOLVED-------------------------

Tue, 05/10/2011 - 09:35
andreychek

Some folks edit their initial post, and put [solved] into the subject. That's as good a way as any :-)

Thanks for your kind words, we're glad you like Virtualmin :-)

-Eric