Skip to content
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

Always use a DNS Message ID of 0 for DoH and DoQ #3024

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dyhkwong
Copy link
Contributor

According to RFC 9250, when sending queries over a QUIC connection, the DNS Message ID MUST be set to 0.
According to RFC 8484, DoH clients using media formats that include the ID field from the DNS message header, such as "application/dns-message", SHOULD use a DNS ID of 0 in every DNS request.

Real-life case: quic+local://223.5.5.5:853 requires a zero DNS Message ID.

Related pull request: #1325.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant