[nsd-users] NSD4 beta2

Andreas Schulze andreas.schulze at datev.de
Mon Jan 21 09:09:27 UTC 2013


Am 10.01.2013 10:33 schrieb W.C.A. Wijngaards:
> The new beta for NSD4 is available, NSD4.0.0b2:

first of all: I updated some nameservers to nsd4b2 and they still run fine.
So thanks for such good software...

1.
is there a separate mailinglist for developement?

2.
when comiling 4.0.0b2 I gave no special --with-xfrdir so it defaults to /tmp

$CHROOT/tmp did not exist and I got this:

Jan 19 14:29:10 nsd[24553]: error: /tmp/nsd.24553.task.0: No such file or directory
Jan 19 14:29:10 nsd[24553]: error: /tmp/nsd.24553.task.1: No such file or directory
Segmentation fault

short fix:
install -d $CHROOT/tmp

note the segfault, that should be alarm us.

3.
my nsd.db was not writeable for the nsd user:
"server preparation failed, nsd could not be started"

that also leaves two taksfiles in  $CHROOT/tmp which should be deleted before nsd is exiting.

4.
I played arround with the rrl feature and set "rrl-ratelimit: 2"
now I fire some "dig @$(NSD) example.org. ANY"
I found "info: ratelimit block example.org any target $mynetwork/64"
and "ratelimit unblock" 

but then the server starts logging this :
nsd[19065]: warning: server 27369 died unexpectedly with status 6, restarting
nsd: ./buffer.h:252: buffer_write_at: Assertion `buffer_available_at(buffer, at, count)' failed.

nsd[19065] is the parent, nsd[27369] looks like the child that died.

btw. I never noticed that a query was not anwered!?

5.
I run nsd from a superviser and use option -d to start nsd.
Now I see three processes:
# ps afx | grep nsd | grep -v grep
 7434 ?        S      0:00  |   \_ supervise nsd
18899 ?        S      0:00  |   |   \_ /usr/sbin/nsd -d
19065 ?        S      0:01  |   |       \_ /usr/sbin/nsd -d
31565 ?        S      0:00  |   |           \_ /usr/sbin/nsd -d

is there a better solution to run nsd supervised?

Thanks
Andreas

-- 
Andreas Schulze
Internetdienste | P252

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Dipl.-Kfm. Dr. Robert Mayr
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen



More information about the nsd-users mailing list