NLnetLabs / nsd

The NLnet Labs Name Server Daemon (NSD) is an authoritative, RFC compliant DNS nameserver.
https://nlnetlabs.nl/nsd
BSD 3-Clause "New" or "Revised" License
463 stars 105 forks source link

Feature Request: More verbose logging of XFR details #226

Open klaus-nicat opened 2 years ago

klaus-nicat commented 2 years ago

Hi! I am using NSD as secondary. While debugging XFRs. from logs it is not possible to find out what kind of XFR was performed:

So it would be great if NSD logs what kind of request was tried, and what finally was performed. At the moment I get this info reading the logs from the primary (Bind9) - but this is a workaround and only possible if I have access to the Primary too.

johanix commented 2 years ago

Speaking of more verbose logging of XFRs: I recently had the problem that NSD (as the secondary) refused to transfer a zone from my code (as the primary). I'm fully aware that it was my code that was at fault, but even with verbosity turned to 25 the only thing NSD said was "bad xfr". Inspection of the zone via "dig ... axfr" worked fine, but revealed nothing strange, and another server implementation (Knot-DNS) accepted the zone witout complaints.

Here is a vote for a bit more detail than "bad xfr"... :-)

Cheers, Johan