Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BIND: Slave name server cannot XFR from master 1

Status
Not open for further replies.

aznluvsmc

MIS
Mar 21, 2004
476
CA
Hi,

My slave BIND server can't seem to do an initial AXFR for the zone data files it is configured as slave for. When I chekc /var/log/messages on the slave it says it connected to the master but then I see permissions denied listed.

On the master server, I see that the AXFR started and then ended without any error messages. Does anyone know what the problem might be? My O'Reilly book on BIND and DNS does not mention anything about this problem.

Thanks
 
When you started BIND on the slave did you start it as Root, does it have the privileges to create a file in the directory where the zone file will be copies to?

You can test to see if the slave can do a zone transfer by doing the following command:

dig @1.1.1.1(address of the master) zone_to_transfer.com axfr

If the transfer works you should see the contents of the zone scroll down the screen.
 
I will double check the permissions of the directory where the zone files are to be stored on the slave. I assume that the named user/group must be given permission to do this?
 
Thank you. The problem was that named did not have proper permissions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top