Send DNS using GET or POST
02GET encodes a DNS wire message in a base64url query variable; POST carries the binary message in the body.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
DIAGRAM§ 4.1 ↗
RFC 8484 · § 4.1EXAMPLE
3 / 3
03
Send the HTTPS request with the appropriate media-type handling.
Send the HTTPS request with the appropriate media-type handling.
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
Read the updated RFC section ↗
DoH servers must implement both GET and POST.
- DoH servers must implement both GET and POST.
- The media type is application/dns-message; this RFC is not a JSON DNS API.
The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.
Read the RFC section ↗Diagrams simplify the RFC. Read the linked sections for complete requirements.
Privacy