Anthony Capone <[EMAIL PROTECTED]> wrote:
>I have setup 2 name servers, a primary and secondary. I was wondering how
>does the secondary transfer a new zone to it? Maybe I am not being clear
>enough. These two server are authoritave names servers for a domain. I have
>purposly updated the serial number on the primary server to see if the
>secondary server would update its copy of the zone, but it has not after 4
>days. Now, I am wondering if I must set that up, in order for the transfer
>to work. I apologize if this is off-topic but I need some help from the DNS
>gurus out there! Or maybe just a web site that would help out...
When running a bind 4.x server, the slave will poll the master every X
hours, where X is the value of the "refresh after X hours" variable in the
SOA record for the zone file. Bind 8.x works a bit differently and that's
what *most* people are running. When you restart the master, it looks for
nameserver records in the zone file(s) and notify's the slaves that the
various zones have been updates and a properly configured slave (also
running bind 8.x) will load the updated zone(s) immediately. If there are
no nameserver records in the zone file, then it's back to the polling after
X hours. If you look at /var/log/messages on the master, you should see
this take place when everything is working properly:
hostname named[24913]: reloading nameserver
hostname named[24913]: Zone "mydomain.com" (file db.mydomain)
hostname named[24913]: master zone "mydomain.com" (IN) loaded (serial
2000073100)
hostname named[24913]: Forwarding source address is [0.0.0.0].1169
hostname named[24913]: Ready to answer queries.
hostname named[24913]: Sent NOTIFY for "mydomain.com IN SOA"
(mydomain.com); 2 NS, 2 A
hostname named[24913]: Received NOTIFY answer from [SLAVE IP] for
"mydomain.com IN SOA"
hostname named[24913]: approved AXFR from [SLAVE IP].2410 for "mydomain.com"
hostname named[24913]: zone transfer (AXFR) of "mydomain.com" (IN) to
[SLAVE IP].2409
You may also want to check the same file on the slave. Have you setup the
slave's /etc/named.conf file correctly so it knows it's a slave? Something
like so:
zone "mydomain.com" {
type slave;
file "db.mydomain.bak";
masters {
IP ADDRESS OF MASTER(s);
};
};
-Eric
Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]
Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list