-
Notifications
You must be signed in to change notification settings - Fork 36
Ignore and deprecate some profile properties #1472
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
Conversation
|
I cannot find a good documentation of what |
|
I feel the semantics of |
|
This PR suggests to set
Yes, we want Now we come to We want |
|
Here is some context for why the default "fallback" value is true: #460 |
|
@mattias-p, please set correct |
RD flag, protocol and TC upgrade policy for a given query should be determined by code, not config.
0f1d5be to
6ac9a9e
Compare
matsduf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Else it looks fine.
| =head2 resolver.defaults.igntc | ||
| A boolean. Default false. Ignored. Deprecated and planned for removal in v2026.1. Remove it from your profile file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After removal the profile will break, won't it? Maybe give longer time, v2026.2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this one I'm fine with either.
| =head2 resolver.defaults.igntc | ||
| A boolean. Default false. Ignored. Deprecated and planned for removal in v2026.1. Remove it from your profile file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this one I'm fine with either.
@mattias-p @matsduf I've set RC-Deprecations and V-Patch (maybe V-Minor instead? I'm not sure). |
That looks correct. When the deprecated is removed it will be a breaking change, but not now. And no functionality is added. |
|
Tested on Rocky 8 and work fine. |
Purpose
Ignore and deprecate profile properties that complicate query parameter semantics for no good reason, and allows user configuration to cause Zonemaster to misbehave for no good reason.
Context
Fixes the remainder of #1148.
Changes
Ignore and deprecate these profile properties:
resolver.defaults.igntcresolver.defaults.recurseresolver.defaults.usevcHow to test this PR
Here is a profile file that sets all four properties to unreasonable values:
{"resolver":{"defaults":{"igntc":true,"recurse":true,"usevc":true}}}I don't have any examples of zones that break with that profile, but it does break ASN lookups without the changes in this PR.