Adding/removing slave zones

Hi there,

I have this setup, where I would like to add and remove a larger amount of slave zones rather regularly.

What I currently do is this:
I have a directory included in my nsd.conf.
I put a file with a ‘zone:’ definition per slave zone in there.
After I add or remove a zone, I use ‘nsd-control reconfig’ to reload NSD’s configuration.

However, telling NSD to reload it’s entire configuration feels a bit rough. Therefore I am curious about, if there are better ways to do this.

Best regards
Andreas

Hi Andreas,

What I currently do is this:
I have a directory included in my nsd.conf.
I put a file with a 'zone:' definition per slave zone in there.
After I add or remove a zone, I use 'nsd-control reconfig' to reload NSD's configuration.

However, telling NSD to reload it's entire configuration feels a bit
rough. Therefore I am curious about, if there are better ways to do this.

Is this causing any problems for NSD? It is slow to reload its config?

If there isn't an actual problem, then your method seems fine.

Regards,
Anand

Hi Andreas,

yes, it is!

nsd-control addzone
nsd-control delzone

Kind Regards,
Kaulkwappe