[nsd-users] reloading NSD zone configuration

Aaron Hopkins lists at die.net
Wed Apr 22 18:52:30 UTC 2009

On Wed, 22 Apr 2009, Paul Wouters wrote:
> I'd be interested in seeing why you need to add/remove zones every minute...

I'm basically building a smaller version of http://www.everydns.com/ and
don't want to drop any queries every time a new domain gets added or removed
by a customer.  How do I do this with NSD?

EveryDNS currently uses tinydns to serve its data, which bakes all of the
information it needs to serve into its CDB.

Somewhat similarly, the NSD zone compiler already needs to parse nsd.conf,
and already puts some information from there into the nsd.db.  Would it be
difficult to put everything necessary to serve a zone into the nsd.db and
re-read that on a reload?

Alternatively, all of my zones have the exact same config except that the
"name:" and "zonefile:" change.  I'd be happy if I could just tell NSD a set
of options to use for all zones, and to have it serve everything it finds in
the nsd.db using those options rather than bothering to re-read the config.

                                     -- Aaron

More information about the nsd-users mailing list