Log verbosity up to request/answer level

Hello,

I am a new comer to NSD. My question is probably a FAQ and the answer is
probably in the documentation.

NSD is version: 4.1.0 on a Debian 8.6

It looks like evreything is doing right, serving my home.zone

For testing purpose i am trying to get NSD to temporary log the
questions/answers

nsd.conf
::::::::
server:
        do-ip4: yes
        port: 53
        username: nsd
        zonesdir: "/etc/nsd"
        logfile: "/var/log/nsd.log"
        verbosity: 3
        pidfile: "/run/nsd/nsd.pid"

Whatever the verbosity I set ( via the conf file or thru nsd-control)
I can get the question/anwer level logged.

I probably have missed something.

Can anybody help ?

Thanks, jacques

Hi Jacques,

Whatever the verbosity I set ( via the conf file or thru nsd-control)
I can get the question/anwer level logged.

NSD will never log queries and responses, regardless of the verbosity.
You'll have to use tcpdump to view/capture the queries and responses
independently of NSD.

Regards,
Anand

Hi Jacques,

Whatever the verbosity I set ( via the conf file or thru
nsd-control) I can get the question/anwer level logged.

A useful quote from my colleague Wouter I copied from a bug report:

"Verbosity is not the debug logging for NSD. Verbosity level 5 is about
the max right now. If you compile with debug enabled, then use -F 60 -L
2 to enable more logging. -F -1 -L 2 enables even more debug logging,
but the volume of that may slow down the server."

Best regards,
Yuri