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

improve the logging of ixfr fallbacks to axfr #301

Merged
merged 1 commit into from Oct 31, 2023

Conversation

ttyS4
Copy link

@ttyS4 ttyS4 commented Oct 31, 2023

hi,

When nsd is used as a primary (like serving the zone after verification) it does not properly log if the zone transfer was ixfr or axfr.
It only logs what the client asked for. This is misleading because someone could think it was an ixfr reply, but with default configuration it falls back to axfr unless ixfr-out is explicitly configured.

This meant to fix that by properly logging when it falls back.

Regards,
Tamás

Copy link
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are good log output print statements. It should help pinpoint what IXFR and what AXFR answers are delivered, the verbosity level is similar to the level where notify packets are logged, so that is well chosen.

@wcawijngaards wcawijngaards merged commit be5d381 into NLnetLabs:master Oct 31, 2023
4 checks passed
wcawijngaards added a commit that referenced this pull request Oct 31, 2023
- Merge #301: improve the logging of ixfr fallbacks to axfr.
@wcawijngaards
Copy link
Member

Thank you for the code patch! The changes have been merged into the code.

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

Successfully merging this pull request may close these issues.

None yet

2 participants