DNS HTTPS RR (RFC 9460) for 3.3dev #2866
Open
+274
−46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a fresh start for #2484 as the PR wasn't ready yet for 3.2 by the time it was released.
The info for the HTTPS RR shows up in the very beginning, i.e. in
service_detection()
. All keys are listed now in bold, values in a regular font.get_https_rrecord()
was introduced by copying and modifyingget_caa_rr_record()
.There's a similar obstacle as with CAA RRs: older binaries show the resource records binary encoded. Thus a new set of global vars is introduced HAS_*_HTTPS which check whether the binaries support decoding the RR directly.
For CAA there was a minor bug fixed when records were queried also when it was instructed to minimize/skip or use proxy only.
Todo:
get_https_rrecord()
What is your pull request about?
If it's a code change please check the boxes which are applicable
help()