Jacques Lav!gnotte.
2016-Dec-11 15:06 UTC
[nsd-users] 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 -- GnuPg : C8F5B1E3 WeUsePGP Because privacy matters http://weusepgp.info/
On 11/12/2016 16:06, Jacques Lav!gnotte. wrote: 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20161212/b9a1f77e/attachment.bin>