Maintained by: NLnet Labs

[Unbound-users] unbound vs nsd

Ondřej Surý
Wed May 21 17:10:05 CEST 2008


Farkas Levente píše v St 21. 05. 2008 v 16:42 +0200:
> Stephane Bortzmeyer wrote:
> > On Wed, May 21, 2008 at 03:27:22PM +0200,
> >  Farkas Levente <lfarkas at bppiac.hu> wrote 
> >  a message of 19 lines which said:
> > 
> >> nlnetlabs develop nsd and unbound too. why?
> > 
> > Because one is authoritative-only and the other recursive-only.
> > 
> >> - why not merge the two project?
> > 
> > That would be fun since most BIND users request a separation between
> > the two functions :-)
> 
> ok i didn't look into the code so i don't know (just ask the authors), 
> but for me it seems there are many overlapping code in these projects 
> (dnssec, resolver, lookup etc). now it seems there are 3 separate 
> project nsd, unbound and ldns which have many common part (eg: drill, 
> unbound-host) and still have different source.

drill and unbound-host are really different tools.  bind9 has host and
dig as well and they're used for different purposes.

> at least a common lib makes me happy:-)

Unbound uses ldns library.  AFAIK NSD doesn't need ldns since it's not
a _client_ only a server.  And only function it uses from DNSSEC is
TSIG.

> just a very quick look:
> http://www.nlnetlabs.nl/nsd/svn/trunk/compat/malloc.c
> http://www.nlnetlabs.nl/ldns/svn/trunk/compat/malloc.c
> http://unbound.nlnetlabs.nl/svn/trunk/compat/malloc.c

You picked wrong example.  Those are just _compat_ functions to support
different platforms.

And unbound uses ldns library.

> ps. just a small note as i already ask it
> http://www.nlnetlabs.nl/pipermail/nsd-users/2006-November/000593.html
> none of them has dynamic update:-(

And Wouter gave you perfect reasoning why NSD doesn't have dynamic
updates.

Ondrej.
-- 
Ondřej Surý <ondrej at sury.org>  ***  http://blog.rfc1925.org/
Kulturní občasník              ***  http://www.obcasnik.cz/
Nehoupat, prosím               ***  http://nehoupat.blogspot.com/