secondary zone file house keeping? BIND 9.2

Eivind Olsen eivind.olsen at ttyl.com
Tue Nov 20 20:45:44 UTC 2001


--On 20. november 2001 09:48 -0800 "(D.M.)" <hmprimerib at hotmail.com> wrote:
> guys, I'm running BIND9.2rc9.  We have quite a bit of DNS turnover and
> I can forsee a ton of stale secondary zone files (files that exist
> after the slave entry has been removed from the conf file).  anyone
> know of a way to thin the herd of secondary zone files after they've
> been removed from the conf?

One option could be to move all the secondary zone files away/delete them, 
and then restart the nameserver-process. It should then re-fetch the 
zonefiles it has in its configuration-file and re-populate the directory 
with those files.

Of course this might not be the best solution in all cases, if you have 
mixed secondary zonefiles and master zonefiles on the same nameserver and 
in the same directory. But if you have for example one directory for master 
zonefiles and another for secondary zonefiles it should be easy.

-- 
Talk To You Later
Eivind Olsen




More information about the bind-users mailing list