NOTIFY


Originally, slave DNS servers would poll only the master server as set by the zone's refresh parameter. Some people have been unhappy with that, so the NOTIFY extension to the DNS protocol was defined in RFC 1996. Using this protocol, a zone's master can notify the zone's slaves of changes in the zone. So, instead of waiting for a few hours for a refresh cycle to start, the zone update propagates to the slave servers pretty quickly. I say "pretty quickly" because after a zone has been updated, your DNS server waits for a random number of seconds before sending the NOTIFY. This avoids being bombarded by SOA and zone transfer requests all at the same time, and the delay distributes the queries from the slaves in time.

A master server notifies all the nameservers listed in NS records that are not itself. If you have unlisted nameservers, you can use an also-notify declaration within the zone declaration:

 zone "…" {         …         also-notify { 192.168.57.5; }; }; 

The secondary nameservers will act on a NOTIFY only if they receive it from a declared master server. If your master server is multihomed or has interface aliases, it might be sending the NOTIFYs from the wrong address. You can override this within the global options declaration in named.conf:

 options {         …         query-source 192.168.55.2; 

This causes BIND to use the given address as the source address for all traffic it originates.



The Concise Guide to DNS and BIND
The Concise Guide to DNS and BIND
ISBN: 0789722739
EAN: 2147483647
Year: 1999
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net