-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[1.1.1.1] Add warning about lack of RFC for DoH JSON format #19756
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
[1.1.1.1] Add warning about lack of RFC for DoH JSON format #19756
Conversation
| --- | ||
|
|
||
| Cloudflare respects DNS wireformat as defined in [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). | ||
| Cloudflare respects DNS wireformat as defined in [RFC 1035](https://www.rfc-editor.org/rfc/rfc1035.html). |
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.
@SebastiaanYN can we point to certain section in this RFC that contains the specifics we're following here? Like section 7. RESOLVER IMPLEMENTATION
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.
In this case we're referring to the RFC as a whole because it's about the data format, which is defined in multiple sections of the RFC (2/3/4)
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.
okay, then let's keep it as suggested 👍
| For critical use cases, it is recommended to use the [DNS over HTTPS wireformat](/1.1.1.1/encryption/dns-over-https/make-api-requests/dns-wireformat/), which is defined in [RFC 1035](https://www.rfc-editor.org/rfc/rfc1035.html). | ||
| ::: | ||
|
|
||
| Cloudflare's DNS over HTTPS endpoint also supports JSON format for querying DNS data. For lack of an agreed upon JSON schema for DNS over HTTPS in the Internet Engineering Task Force (IETF), Cloudflare has chosen to follow the same schema as Google's DNS over HTTPS resolver. |
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.
wondering if we should phrase this a bit more generally like
(...) chosen to follow the same schema as
Google's DNS over HTTPS resolverother common public resolvers' DNS over HTTPS implementation. 🤔
Summary
Adds a warning about the lack of RFC to the DoH JSON format documentation, and point users to the wireformat for critical use cases.
Screenshots (optional)
Documentation checklist