[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RaQ] How to make a slave nameserver detect new zones?



on Thursday, September 20, 2001 5:13 PM you wrote
<snip>
> That is, once a nameserver has been set-up as a slave, how can I have it
> detect new zones automatically as they are added to the master?
>
> I consulted DNS & BIND on this (pp.85-89) but it appears to only cover
> synchronization of exisiting zones. Is what I request not a feature of BIND?
>
You could run a script after updating the master named.conf file.
The script would generate a slave named.conf file,
The script would then start an rsync (ssh) session to sync the file with the
slave.
Of course this would require that the slave only serve your master.
And that a cron job check to see if named.conf was updated, to
reload named.

You could send it an email, and a daemon on the slave would rewrite
named.conf and perform a reload.

Gerald