feat: add HTTPS (RFC 9460) DNS record type#1360
Merged
Merged
Conversation
sorccu
reviewed
Jun 24, 2026
sorccu
previously approved these changes
Jun 24, 2026
Adds 'HTTPS' to the DnsRecordType union so DNS check constructs can monitor a domain's HTTPS service-binding record (HTTP/3 advertisement via alpn, plus ipv4hint/ipv6hint/ech). Updates the DnsAssertionBuilder @example to the recommended assertion forms.
7c2e3e2 to
baaec81
Compare
sorccu
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Adds the HTTPS (RFC 9460, DNS type 65 / SVCB family) record type to the DNS check construct's
DnsRecordTypeunion, so monitoring-as-code can query a domain's HTTPS service-binding record — e.g. verify HTTP/3 advertisement (alpn), IP hints (ipv4hint/ipv6hint), or ECH.Changes
constructs/dns-request.ts— add'HTTPS'toDnsRecordType, with a doc note on therecordTypefield.constructs/dns-assertion.ts— update theDnsAssertionBuilder@exampleto the recommended forms:DnsAssertionBuilder.textAnswer('alpn="([^"]*)"').contains('h3')(capture group scopes the match to the alpn value)DnsAssertionBuilder.jsonAnswer('$.Answer[0].data').contains('alpn="h3')Context
Pairs with the runner + API support and the webapp record-type option in the main monorepo (runner/API and webapp PRs). The runner renders the HTTPS record's rdata into the answer (
1 . alpn="h3,h2" ipv4hint="…" …), which these assertions target.