Glossary
DNS over HTTPS (DoH)
Definition
DNS over HTTPS: A protocol (RFC 8484) that sends DNS queries and responses inside HTTPS requests to a resolver, protecting them from eavesdropping and tampering on the network path. The resolver itself still sees each query.
Also known asDoHDNS-over-HTTPSencrypted DNS
In short
DNS over HTTPS (DoH, RFC 8484) carries DNS queries and answers inside HTTPS requests to a resolver, using the application/dns-message format. It stops people on your network from reading or forging your lookups, and blends DNS traffic with ordinary web traffic on port 443. It doesn't hide your lookups from the resolver you choose, or the content you then send to a service.
Key takeaways
- DoH puts each DNS query and response inside an HTTPS exchange with a resolver.
- It protects lookups from eavesdropping and tampering on the network path.
- The resolver you send queries to still sees every name you look up.
- DoH shares port 443 with web traffic, which makes DNS harder to single out.
- It protects the lookup, not the content of what you send afterward.
Last reviewed 3 December 2026 by Foxcolab Team
DNS over HTTPS (DoH) sends your DNS lookups, the step where your device asks which address belongs to a name like example.com, inside encrypted HTTPS requests. RFC 8484 defines it: "Each DNS query-response pair is mapped into an HTTP exchange." Classic DNS travels unencrypted, so anyone on the network path can read which sites you look up or forge the answers.
How it works#
Your browser or operating system sends the same binary DNS message it always would, but as the body or a parameter of an HTTPS request to a DoH resolver. RFC 8484's own example looks up www.example.com, written in the HTTP/2 style the RFC uses:
:method = GET
:scheme = https
:authority = dnsserver.example.net
:path = /dns-query?dns=AAABAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB
accept = application/dns-messageThe dns value is the query, encoded to fit in a URL. The answer comes back as an application/dns-message response over the same encrypted connection.
What it protects, and what it doesn't#
| Plain DNS | DoH | |
|---|---|---|
| Network can read your lookups | Yes | No |
| Network can forge answers | Yes | No, the resolver is authenticated |
| Resolver sees your lookups | Yes | Yes |
| Easy to single out and block | Yes | Harder, it shares port 443 with web traffic |
DoH moves trust from your network to the resolver you pick, and RFC 8484 notes that HTTPS adds its own ways to link queries to you, such as cookies. It's also different from DNSSEC: DoH encrypts the conversation with the resolver, while DNSSEC lets anyone verify the records really came from the domain's owner. They work well together.
A worked example#
On hotel Wi-Fi, a captive network logs every DNS request. With DoH on in your browser, the hotel sees an encrypted connection to your resolver, not the names of the sites you visit. It can still see the addresses you then connect to, and the resolver sees every name.
In Foxcolab#
DoH hides which names you look up. It doesn't hide what you send once you're connected, and the service you reach can still read your content unless it's encrypted before it leaves your device. In Foxcolab Drive, Docs, Sheets and Notes, content is encrypted on your device, so Foxcolab can't read it, and mail from one Foxcolab user to another is end-to-end encrypted.
If you're adding Foxcolab's records to your domain, the Domains tab notes that changes usually show up within a few minutes (set up a domain).
Keep exploring
Related terms
- DNS (Domain Name System)DNS is the internet's directory. It turns a name like example.com into the records computers need, from a website's address to the servers that accept a domain's mail.
- DNSSECDNSSEC signs DNS records so resolvers can tell a genuine answer from a forged one. Here's how the chain of trust works, what DNSSEC doesn't do and the mistake that takes domains offline.
- Encryption in transit (TLS)Encryption in transit protects data while it crosses a network, usually with TLS. It stops eavesdroppers, but every server along the way can still read the data.
- MetadataMetadata is data about your data, such as who, when, where and how much. Encryption usually protects content but leaves much of the metadata visible.
- TLS (Transport Layer Security)TLS is the protocol that encrypts and authenticates internet connections, the S in HTTPS. Here's what it provides, which versions to use and what it leaves exposed.
- VPN (virtual private network)A VPN tunnels your traffic to a VPN server, hiding it from the local network but not from the VPN provider. Here's what a VPN protects, what it doesn't, and when you need one.

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.