[nsd-users] Logfile/verbosity and master/slave

Arnt Gulbrandsen arnt at gulbrandsen.priv.no
Sun Dec 14 16:56:24 UTC 2008


Matthijs Mekking writes:
> I am not to keen about putting this type of logging in-server and I 
> agree with Arnt and Wouter that you should tcpdump or something to 
> retrieve these queries.

One thing you could usefully do is mangle the nsd source code to parse 
queries and basically do all the input stuff, but log any and all 
syntax errors and not process valid queries at all. It should NEVER 
send any replies or any other network output.

The idea would be to have an nsd companion program which one can run on 
a monitor port, or feed input from a tcpdump file, to get quick and 
simple analysis of some kinds of problems.

Arnt



More information about the nsd-users mailing list