DNS over HTTPS
DNS Queries over HTTPS (DoH)Application layer · OSI 7Sealing DNS lookups inside encrypted HTTPS traffic
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
Overview
Classic DNS sends every queried site name in plain text so local routers and ISPs can read or forge replies. packs those same DNS messages inside an encrypted HTTPS session to the .
DNS over HTTPS (RFC 8484) transports standard wire-format DNS queries (application/dns-message) over HTTPS/2 or HTTP/3 on port 443, shielding domain lookups from on-path eavesdropping and tampering.
Key facts
- Layer
- Application (over HTTPS / TCP 443)
- Media type
- application/dns-message
- Protects
- Queries and answers in transit
- Sibling
- DNS over TLS (port 853)
- Defined in
- RFC 8484, RFC 1035
Lookups shielded from the local path
Plain UDP lookups leak every site name and invite tampering. Over DoH, the same DNS wire message rides inside TLS on port 443, keeping names private on the path while placing trust in the resolver.
RFC 8484 DoH sealed binary DNS queries inside HTTP/2 over TLS 1.3 to dns.google, preventing on-path inspection or spoofing.
- Path visibility
- HTTPS to 8.8.8.8 only
- Resolver view
- Sees every queried name
- Spoof defense
- TLS prevents MITM reply injection
- Follow-up leak
- Site IP & SNI unless ECH active
Try it yourself
Send a DoH query directly with curl
Query a DoH JSON or wire endpoint over HTTPS to see the resolver respond on port 443.
curl -H "accept: application/dns-json" "https://dns.google/resolve?name=example.com&type=A"