Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: More verbose logging of XFR details #226

Open
klaus-nicat opened this issue Aug 17, 2022 · 1 comment
Open

Feature Request: More verbose logging of XFR details #226

klaus-nicat opened this issue Aug 17, 2022 · 1 comment

Comments

@klaus-nicat
Copy link

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:

  • IXFR?
  • IXFR with fallback to AXFR?
  • AXFR-style IXFR (Primary server does not have journal)
  • AXFR?

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
Copy link

johanix commented Nov 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants