[Pdns-users] PowerDNS Authoritative 4.6.2, how to log served responses (i.e. NOERROR, NXDOMAIN, SERVFAIL, etc)?

Dmitriy Koff irishman407 at gmail.com
Tue Jun 14 11:38:25 UTC 2022


Hello!

I'm trying to configure log for PowerDNS (4.6.2) and cannot figure how to
log served responses (i.e. NOERROR, NXDOMAIN, SERVFAIL, etc)

/etc/pdns/pdns.conf (parameters regarding logs)
loglevel=5
log-dns-details=yes
log-dns-queries=yes
query-logging=no

# nslookup example.com 127.0.0.1
Server:         127.0.0.1
Address:        127.0.0.1#53
** server can't find example.com: NXDOMAIN

All i've got in log is packetcache status of request (miss or hit) --
"Remote 127.0.0.1 wants 'example.com|A', do = 0, bufsize = 512: packetcache
MISS"

Expected something like
"Remote 127.0.0.1 wants 'example.com|A', do = 0, bufsize = 512: packetcache
MISS, *NXDOMAIN*"

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220614/0215976c/attachment.htm>


More information about the Pdns-users mailing list