-
Notifications
You must be signed in to change notification settings - Fork 34
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
New implementation of Nameserver11 - #1110 #1034
Conversation
The process we have followed so far is to have the specification completed before implementation starts. In that we lower that risk of have work to be redone. I suggest that the implementation is paused until the specification is done. |
I agree with @matsduf. We should follow the same process we had before. Specifications first, then implementation. |
Commit 39bb1c7 addresses PR zonemaster/zonemaster#1093. |
It turns out that the update done by zonemaster/zonemaster#993 misses some error scenarious. See zonemaster/zonemaster#1110. There is a new update of the test case specification in zonemaster/zonemaster#1111 to be reviewed. |
@tgreenx, can zonemaster/zonemaster#1111 be merged and incorporated in this update? |
Yes |
Implementation is updated to latest specification (zonemaster/zonemaster#1111). However we should wait that #1147 is merged first before merging this PR, then rebase on latest develop and do the changes to EDNS queries as mentioned in the code of this PR (see commit 5cc0f15) |
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.
This looks fine, and I see no obvious error. There are, however, not enough unit tests or test zones to verify this implementation. I think we can merge, and then let the upcoming tests zones that are defined in zonemaster/zonemaster#1113 verify it. In that PR there is a test-data specification for the test case.
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.
LGTM. I found one small thing that could be improved but from my understanding it's not big enough to block merging.
push @unset_aa, $ns->address->short; | ||
} | ||
|
||
elsif ( defined $p->edns_data ) { |
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.
This check is more general than what is prescribed in the specification. It doesn't seem like a huge deal, but I wanted to point it out.
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.
I looked at that, and since the query has no flags and no other options in EDNS, besides the undefined option, which the server is expected to ignore and not include in the response, I think this should work.
Purpose
This PR proposes a new implementation for Nameserver11, following the update of the specification in zonemaster/zonemaster#1111.
Context
Addresses zonemaster/zonemaster#1110 (previously zonemaster/zonemaster#993)
Testing