-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
The record got field names from the DNSKEY record by accident, fix this #1065
Conversation
Also updated tests to add a new DS record for a sub zone along with updates since an existing DS records is now handled Depends on octodns/octodns#1065
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.
Thanks for the find & even more for the PR with the fixes. Comments inline. Once they're sorted we can move this forward.
Basically changing from https://www.rfc-editor.org/rfc/rfc4034.html#section-2.1 to https://www.rfc-editor.org/rfc/rfc4034.html#section-5.1 So: flags -> key_tag protocol -> algorithm algorithm -> digest_type public_key -> digest
3cd5f6b
to
4277351
Compare
4277351
to
533cd12
Compare
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.
Added a DEPRECATION warning when the old fields are used so that we can eventually remove the backwards compat. I think this is gtg.
Thanks!
Ah. Once the integration tests run it caught an issue where the old property names are being accessed. That should be easy enough to fix. https://github.com/octodns/octodns/actions/runs/6285771507/job/17068502376?pr=1065 |
So I was going to add back the "legacy" properties, but realized that
Edit: reordered 2 & 3 as it looks like we'll need to cut a new release of core for octodns/octodns-powerdns#50 to require before it'll pass CI |
Scratch the last comment about process. After looking at the version checking patch I realized that the cleanest path forward would be to have octodns-powerdns just handle both ways transparently. Since there hasn't been a release with DS support yet that should be enough, octodns/octodns-powerdns#51 does this. |
Basically changing from
https://www.rfc-editor.org/rfc/rfc4034.html#section-2.1 to https://www.rfc-editor.org/rfc/rfc4034.html#section-5.1
So:
flags -> key_tag
protocol -> algorithm
algorithm -> digest_type
public_key -> digest