Summary

  • RFC 8484 defines a protocol for sending DNS queries and getting responses over HTTPS, mapping each query-response pair into an HTTP exchange and defining the application/dns-message media type.
  • The query travels in an HTTP request by GET or POST — in the body for POST, in the URI for GET — and HTTP caching semantics apply to the responses.

Changing the envelope changes the observer. Encryption removes the forwarding path from the conversation and hands visibility to the endpoint, and blocking moves from port 53 to a hostname.

The confession, and the room it is made in

Every DNS query is a small confession. It says: here is the name I want, and by implication, here is what I am about to do next. For three decades that confession was made in the open — on port 53, in a wire format any forwarder on the path could read, cache, or quietly rewrite.

RFC 8484 did not change the confession. It changed the room.

The RFC, published in October 2018 by Paul Hoffman and Patrick McManus, takes the DNS wire format exactly as RFC 1035 left it and drops it, unmodified, into an HTTPS exchange. One query, one response, one HTTP request-response pair. The media type is application/dns-message. GET carries the base64url-encoded message in the URI; POST carries it in the body. The default port is 443.

Because the transport is HTTP, HTTP's caching rules come along for the ride. A DoH server sets Cache-Control on the response, derived from the TTLs in the answer, and any HTTP cache between client and server can honour it. The DNS TTL did not disappear. It acquired a second, HTTP-shaped shadow.

The RFC also asks clients to pad queries with the EDNS(0) padding option, so that the size of the request does not leak the length of the name. A query for a nine-character domain and a query for a ninety-character one should look the same on the wire.

What actually changed is the witness list

On the old path, the query was visible to every hop that forwarded it: the hotel Wi-Fi, the ISP's recursive resolver, the transparent middlebox nobody documented and nobody audited. Under DoH, the path is a TLS session to one endpoint. The forwarders see an encrypted stream addressed to a hostname. The endpoint sees everything.

That is a real gain, and a real transfer. The visibility did not evaporate. It concentrated.

Blocking changes shape too. Port 53 is easy to find and easy to throttle. A DoH endpoint is an HTTPS host on 443, sitting in the same traffic class as every bank and every video call. You can still block it — by hostname, by address, by SNI — but you are now blocking a website rather than a protocol, and the collateral is legible to everyone.

Encryption is a technical fix, not a governance fix

This is the part the vendor literature skips. DoH relocates the chokepoint; it does not remove it. A handful of public resolvers now sit where thousands of ISP resolvers used to sit separately, and the questions that matter — who audits them, who subpoenas them, which jurisdiction they answer to, what happens to the logs after the answer is served — have moved to a smaller, less regulated, less examined set of rooms.

The old DNS had a virtue nobody praised because nobody noticed it: it was boring, distributed, and mostly local. The new DNS is fast, private, and concentrated. All three properties are real. Only two of them are usually advertised.

RFC 8484 changed the envelope, not the question. But the envelope is where the power lives.