Hello, I setup my master and slave using FreeBSD. I'm currently running the Bind 9.X version, so far everything is working successfully. Just one small problem.
I can't get the master copy of my DNS to transfer it to the slave server. I included transfer-allow {192.168.1.111;}; // this is the slave server's IP
I ran the rndc reload command to check but I don't see the copy in the /etc/named/master/?
Any help would be appreciated and if you would like the layout of my DNS, I can provide that too.
-
BIND 9 master servers will send out NOTIFY messages to each of the NS records you have, when the zone is loaded. This would be any host you have NS records for. For example:
example.com. NS ns1.example.org. example.com. NS ns2.example.info.
In this case, if ''ns1.example.org'' was the master, it would send a NOTIFY to ''ns2.example.info'' when a new zone version was loaded.
To ensure that this happens, you must increment the serial number in the SOA record for your domain each time you edit it.
You can check all NS servers at once if you use host -C example.com
You may also want to run dig commands from one server to another. Try: dig @otherserver example.com. soa +norec If you see nothing, your machines are likely having firewalls get in the way.
Lastly, check the log files. There is usually something in there if things go wrong.
From Michael Graff -
First test that you can pull the domain on the slave:
dig @MASTERIP example.com AXFR
If this doesn't work you've got a network or permissions problem.
Either way turn up the log level for bind on both the master and the slave and see what it tells you. http://www.zytrax.com/books/dns/ch7/logging.html
From Craig
0 comments:
Post a Comment