-
Notifications
You must be signed in to change notification settings - Fork 371
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 RECORD TYPE: HTTPS & SVCB #2919
Conversation
da8c08c
to
91c29e4
Compare
That should fix #1660 if I complete all required additions and tests... :) |
@tlimoncelli I'm a little bit unhappy about the SVCB params parsing. Any advice/hint how I can improve that and avoid the code duplication? |
How about letting miekg/dns do the parsing like in SetTargetLOCString() ? |
Thanks for the hint. I already changed it! |
Looks good so far! When the PR is no longer marked draft, I'll do a deeper review. One note: Please add integration tests that (1) create a record, (2) change each field one at a time. Thanks! |
Will hopefully complete the changes tomorrow and extend also the docs. |
Prop. I missed some places (again) ... from my point of view the most changes should be done. |
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 GitHub pull request looks great! I only have some minor feedback.
providers.CanUseLOC: providers.Can(), | ||
providers.CanUseNAPTR: providers.Can(), | ||
providers.CanUsePTR: providers.Can(), | ||
providers.CanUseSOA: providers.Can(), | ||
providers.CanUseSRV: providers.Can(), | ||
providers.CanUseSSHFP: providers.Can(), | ||
providers.CanUseSVCB: providers.Can(), |
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.
@tlimoncelli, would it be an idea to call on all provider maintainers and ask them if they would like to test these two capabilities and determine whether these capabilities can be used for their provider?
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.
Obviously outside the scope of this GitHub pull request.
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 can at least confirm it is working also for Cloudflare.
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.
Yes, once this is merged please post to the mailing list and ask maintainers to add support.
Thanks for the feedback. Fixed the issues in the docs. |
aac8154
to
608f09d
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.
Mostly just some cosmetic changes.
One more thing... please reformat helpers.js:
npm install prettier
node_modules/.bin/prettier --write pkg/js/helpers.js
(Please do NOT check in the new package-lock.json
file)
providers.CanUseLOC: providers.Can(), | ||
providers.CanUseNAPTR: providers.Can(), | ||
providers.CanUsePTR: providers.Can(), | ||
providers.CanUseSOA: providers.Can(), | ||
providers.CanUseSRV: providers.Can(), | ||
providers.CanUseSSHFP: providers.Can(), | ||
providers.CanUseSVCB: providers.Can(), |
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.
Yes, once this is merged please post to the mailing list and ask maintainers to add support.
608f09d
to
0eeba65
Compare
0eeba65
to
4a0c384
Compare
No description provided.