[nsd-users] reloading NSD zone configuration

Paul Wouters paul at xelerance.com
Wed Apr 22 17:12:00 UTC 2009

On Wed, 22 Apr 2009, Erik Romijn wrote:

> I've been looking into how I can let NSD pick up changes in it's config
> file (zone additions, changes and removals).
> Unless I am mistaken somewhere, NSD will only pick this up after a full
> restart, which can take up to several seconds on my system with, so far,
> a very small amount of zones (<10).

It picks up zone changed when you tell it to reload. Reload just will not
pick up removed or added zones.

> I would like to change the zone configuration of NSD up to every minute,

What is the use case for this? :)

> My questions:
> (a) Is there a better way to change zone configuration
>    while NSD is running?

Not that I know.

> (b) Am I right in assuming that, if I have a large number of zones,
>    the restarts will start taking proportionally longer?

Yes. But you might speed things up by running the zone compiler manually
yourself so that your waiting time does not include zone compilations.

> (c) Is there anyone that has tried to do something similar before,
>    and found a way to avoid this problem?

I'd be interested in seeing why you need to add/remove zones every minute...


More information about the nsd-users mailing list