[nsd-users] NSD v4.0 release date?

W.C.A. Wijngaards wouter at nlnetlabs.nl
Fri Jun 15 13:04:36 UTC 2012

Hash: SHA1

Hi Pavel,

This is a little brief, below, there is more documentation here:
man nsd-control.
nsd-control -h for a summary.
man nsd.conf  (for patterns, remote-control).
nsd.conf.sample for samples.

note that nsd.db changes file format from NSD3 to NSD4.
the nsd process needs to write to zonelistfile: "/var/db/nsd/zone.list"
this is where it stores the list of zones between restarts.

Generate the keys it needs and run
$ nsd-control-setup
and enable it in nsd.conf with
        control-enable: yes

then define a pattern in the nsd.conf (much like a zone, but starts
with pattern: and applies to a group of zones), e.g.
        name: "master"
        zonefile: "master/%s.zone".

The config file is backwards compatible for zone statements, you can
have 'hardcoded' zones in there in the old syntax.

$ nsd-control addzone example.com master
then you forgot to edit master/example.com.zone, and need to do
$ nsd-control reload example.com
(or just "reload" that checks modification times on all zonefiles).
$ dig @localhost example.com
$ nsd-control delzone example.com

zonec does not exist in NSD4 (part of the daemon, just 'reload' after
changing the file).  nsdc is gone.  This milestone (perhaps no longer
needed for the final version, I am working on this now :-) ) needs rm
/var/db/nsd/ixfr.db as daily cronjob instead of nsdc patch.  And
nsd-control write if you want to also have the zonefiles written for
slave zones.

Best regards,

On 06/15/2012 02:37 PM, Pavel Ciocan wrote:
> Hi Olaf,
> Thank you for your answer and sorry for my late reply. I saw your
> reply on Peter's question and i might actually start using this
> last snapshot on one of our nameservers  and will monitor it to see
> how it works. It should be a good test because we get between 40
> and 50 millions queries in 24 hours on each of our name servers and
> have a relatively big number of domains served. What prevented us
> from using NSD 3 is that it needs to be restarted when
> adding/removing zones and adding/removing zones happens relatively
> often on our nameservers. Where can i find the docs on how to
> add/remove zones on the fly?
> Thank you, Pavel
> On 14-Jun-12 11:53 AM, Olaf Kolkman wrote:
>> On Jun 13, 2012, at 5:12 PM, Pavel Ciocan wrote:
>>> Hello,
>>> Does anybody know when NSD 4.0 will be released?
>> Hello Pavel,
>> We are currently shifting priorities in order to crank up the
>> work on NSD4.0 it is not very likely that you will see a
>> production release before end of year, albeit not impossible
>> either.
>> During the development process working snapshots (working, but
>> with limited functionality) will be published in SVN (See
>> http://www.nlnetlabs.nl/svn/nsd/tags/ ). Obviously these 
>> snapshots are for the daring among you who want to help us test
>> in real world environments.
>> Currently we are at snapshot 5. Now that might not mean a lot but
>> we have accomplished a few things:
>> * Performance increase with radixtree and more optimal
>> compilation. * UDB on disk, removal of zonec. This means using
>> editable disk database with mmap. * NSEC3 prehash incremental *
>> Patterns, new config file structures to manage many zones *
>> Control, SSL remote control: output statistics, force zone
>> transfer, add and remove zones.
>> The above is a cut-n-paste from internal notes and may not mean
>> very much. However, while maintaining the (stable) NSD3 query
>> logic we improved performance and added features that folk have
>> been waiting for: Addition and removal of zones without the need
>> of a restart.
>> If you are daring to run the snapshot we appreciate any feedback
>> you may have.
>> Keep you posted,
>> --Olaf
>> *NLnet *Labs  Olaf M. Kolkman 
>> www.NLnetLabs.nl <http://www.NLnetLabs.nl> olaf at NLnetLabs.nl
>> <mailto:olaf at NLnetLabs.nl> 
>> Science Park 400, 1098 XH Amsterdam, The Netherlands
> _______________________________________________ nsd-users mailing
> list nsd-users at NLnetLabs.nl 
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users

Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


More information about the nsd-users mailing list