[nsd-users] How to add new zones to the slave on NSD 4.0

W.C.A. Wijngaards wouter at nlnetlabs.nl
Thu Feb 27 15:18:45 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Stephane,

On 02/27/2014 04:02 PM, Stephane Bortzmeyer wrote:
> On Thu, Feb 27, 2014 at 03:41:03PM +0100, Johan Ihrén
> <johani at johani.org> wrote a message of 73 lines which said:
> 
>> nsd-control -s $master addzone $zone mpattern nsd-control -s
>> $slave  addzone $zone spattern
> 
> Note this solution is not atomic: if the network has a glitch, you
> may end up with the zone configured on the master and not on the
> slave.

The zonelist files are plain text and (if the server is stopped) can
be synced/diffed/copied.

It is also possible to add it to (an include file of) the config file.
 And then nsd-control -s $server -c $server.keys.conf reconfig.

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTD1dVAAoJEJ9vHC1+BF+NpmIP/jOXtsxRBGKENJVWozbVzniJ
bXgTLI9iYT7CoD9FhlPTu2NKhFL4kZhW0vE5Mws8HVJUF6kQ/S7E25vDC8Fofn58
cSPD4AwejYVGr7prDO17kvSBe/WBdzXQ6hPtmiN7t/3LOZ+PNXvQYuqkpnSt4And
AHvsiXWpwLhpd3QuyaPsUSBaW1vpunHt5jmHAr4xvAD1V3uSbDQuQ0uBsuoU8NI1
GjRIx/delKcvC9jNUG8EJMPeArejdI+e7OXYvhSAvUzU9bXpC5W5sfj46toFGkVI
vXnQrklyyQ2FLxLPdVZ8ecPVz4ZfNyrFoLD6VCQY47Y9N4rLOFEjjhlEY8jraT4G
kAjzOOsWkfbfA0v2jjXA5t5+l60aIQR130OkDZnp1fjkmpgVI0YzoVprqKKENO3V
CtzxAzAdAISw06GTI0mIbg4ettlOSgeRo13iI/wPhDKRzmH5ScPcnINthc4epamF
KJ6YIaUMVk/ZB3/i6jI8EJf6TwEhLCXl9fruVxrlaP/pv1K4XjbYYaC8wVO0vLi9
yLEX2h/AhPjMd5MmyDHfeYPIcnJ9zsARzveuosXVerFW1ePVmjz5k6nybsuq3vL5
ocibqzJAIkdJNFauTtncc0Sa1XBhV1ETAH+XI0l7JdB8Evvyyng7U82ROatQz9BI
R4Hyum7ptjkQiLsRarZw
=0+de
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list