Cache.

Barry Margolin barmar at bbnplanet.com
Wed Oct 20 15:04:42 UTC 1999


In article <010701bf1a9e$49e40b20$24db3fcb at cia.com.au>,
Marc-Adrian Napoli <marcadrian at cia.com.au> wrote:
>Hi everyone, just two quick questions.
>
>Firstly, does "ndc reload" clear the cache of BIND 8.1? If not, how is the
>cache cleared?

"ndc restart" will is the only way to clear the cache

>And secondly.. when I change a zone file on master, and then do a "ndc
>reload' I can see the change instantly.
>
>However, when I go to the slave server for the zone, and do an "ndc reload"
>.. the change is not apparent straight away?
>
>Should the zone transfer for the particular changed zone happen
>instantaneously? Or should I wait a couple of minutes?

I don't think reloading forces the slave server to refresh all zones.
However, if you delete the zone file on the slave server, it will refresh
that zone immediately.  But if you're running BIND 8 on all the servers,
they should use the NOTIFY mechanism to cause the slave to refresh almost
immediately; you shouldn't need to do a reload at all.

Also, make sure you incremented the serial number in the SOA record.  The
slave server will not transfer the zone unless it can tell that something
has changed, and this is how it tells.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list