[nsd-users] How to add new zones to the slave on NSD 4.0
johani at johani.org
Thu Feb 27 14:41:03 UTC 2014
On 25 Feb 2014, at 23:17 , Emre Hasegeli <emre at hasegeli.com> wrote:
> We started using patterns with NSD 4.0 to host zones of out customers.
> I am trying to setup a slave server for backup. It works fine if I run
> "nsd-control addzone" for each zone on both the master and the slave.
> Is it possible to make the slave get the new zones when they are added to
> the master?
As both master and slave are yours, then you can basically wrap the problem like this:
nsd-control -s $master addzone $zone mpattern
nsd-control -s $slave addzone $zone spattern
I.e. it sounds like this is mostly a question of convenience. If that is correct (I may of course be missing your point) then I think it is strongly preferable not to have more complicated control goop built into the servers when the same control can be easily achieved outside the servers.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the nsd-users