An old NSD daemon, stuck with old data?

Robert Martin-Legene robert at dk-hostmaster.dk
Tue Nov 22 11:29:04 CET 2005


On Tue, Nov 22, 2005 at 11:14:38AM +0100, Stephane Bortzmeyer wrote:
> Is it possible that the "old" daemons were still receiving some of the
> UDP requests

If you had managed to get a list of which processes had which files
open, before you had done the kill, this would have told you if it was
technically possible for a process to receive traffic on the port. I use
lsof myself for that information. I know others exist, but I forgot
their name. Try this "next time". (lsof compiles on most systems).

This is how it looks in Solaris 9:

robert at thunder (0)$ lsof -Pn|head -1; lsof -Pn|grep UDP.\*:53
COMMAND     PID    USER   FD   TYPE        DEVICE   SIZE/OFF     NODE NAME
named       398    root   20u  IPv4 0x300038a99b0        0t0      UDP 127.0.0.1:53 (Idle)
named       398    root   24u  IPv4 0x300039990d0        0t0      UDP 172.16.11.53:53 (Idle)
named       398    root   26u  IPv4 0x30003827b68        0t0      UDP *:53 (Idle)

Whether nsd itself has a feature which enables the behaviour you
experienced, I don't know. I will leave it to others to elaborate on
that.

-- 
Robert Martin-Legène
IT-sikkerhedschef - IT security manager
DK Hostmaster A/S - the DK TLD Registry



More information about the nsd-users mailing list