Skip to content
AdminKit

DoH vs DoT: the DNS-privacy tradeoffs explained

DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) both encrypt DNS queries so a network observer can no longer read which domains you're looking up in plaintext, but they differ in one practical way that matters more than the cryptography: DoT runs on its own dedicated port and is trivial for a network administrator to identify and block, while DoH blends in with ordinary HTTPS web traffic on port 443, which is exactly what makes it both harder to block and harder for legitimate network security monitoring to distinguish from everything else.

By AdminKit team, Netbase JSC · Updated October 24, 2026

Why plaintext DNS is a privacy gap worth closing

Every time a device resolves a domain name, it sends that query to a recursive resolver, and under the original DNS design, that query and its answer travel as plaintext — no encryption at all. This is a separate problem from the one DNSSEC solves: DNSSEC verifies that a DNS answer hasn’t been forged or tampered with, but it does nothing to hide the query from anyone watching the network (see our guide on what DNSSEC actually protects for that distinction in detail). Plaintext DNS means an ISP, a public Wi-Fi operator, or anyone positioned on the network path between you and your resolver can build a complete record of every domain you look up, even for sites you access entirely over HTTPS — the DNS lookup that precedes the HTTPS connection already gave away the destination. The IETF’s DPRIVE working group was formed specifically to address this gap, and DoT and DoH are its two resulting standards.

DoT: dedicated port, straightforward to identify

RFC 7858 defines DNS-over-TLS, which wraps standard DNS messages inside a TLS-encrypted connection on its own reserved port, 853. Architecturally, this is the simpler of the two approaches — it’s DNS wrapped in TLS, nothing more. The dedicated port is both DoT’s main practical strength and its main practical weakness depending on who you ask: a network operator who wants visibility into DNS traffic, or wants to enforce a specific resolver for content filtering or malware-domain blocking, can simply monitor or block port 853 without touching any other traffic. That makes DoT straightforward to deploy predictably on a managed network, but also straightforward for a restrictive network (or a censoring one) to block outright, forcing clients back to unencrypted DNS or no DNS at all.

DoH: blends in with web traffic, harder to selectively block

RFC 8484 defines DNS-over-HTTPS, which carries the same underlying DNS messages but frames them as HTTPS requests on port 443 — the same port essentially every website uses. This is the detail that matters most in practice: at the network level, a DoH query looks like ordinary HTTPS traffic to whatever resolver’s DoH endpoint it’s hitting. A network that wants to block DoH specifically, without blocking HTTPS broadly, generally has to resort to identifying and blocking specific known DoH endpoint addresses or using more invasive TLS inspection — neither of which is as simple as blocking one port. This is exactly why DoH has become the more broadly adopted option in consumer browsers (built into Firefox, Chrome, and Edge’s settings) and also why some enterprise and school network administrators specifically disable browser-level DoH, preferring to keep DNS on a visible, governable path through infrastructure they control.

The tradeoff in one sentence

DoT trades blockability for simplicity and clear separation from web traffic; DoH trades a harder-to-govern network boundary for resistance to selective blocking and broader out-of-the-box browser support. Neither is “more secure” than the other in a cryptographic sense — both use TLS underneath — the difference that actually matters is operational: who can see that DNS is happening at all, and who can enforce policy over it.

What neither protocol changes

Switching to DoH or DoT does not change who can see your queries in an absolute sense — it only changes the hop between your device and the resolver. The resolver itself still sees every query in full, so your actual privacy posture depends entirely on which resolver you point DoH/DoT at and that resolver’s own data retention and sharing practices. It also doesn’t change anything about DNS authenticity — a DoH or DoT connection to a resolver that itself returns tampered answers, or that doesn’t validate DNSSEC, offers encryption without the integrity guarantee DNSSEC separately provides.

How to check your own setup

Use AdminKit’s DNS resolver test tool to see which resolver your current connection is actually using and how it behaves, and DNS lookup to inspect specific records directly. Most large public DoH/DoT resolvers (Cloudflare, Google, Quad9) are deployed via anycast, so the specific server that actually answers a given query depends on where the request originates, not a single named machine. If you’re on a managed network (work, school) and DNS lookups behave differently than expected, that’s often a deliberate network policy around DoH/DoT rather than a misconfiguration — worth confirming with whoever manages that network before assuming something is broken.

DNS privacy (DoH/DoT) and DNS authenticity (DNSSEC) are complementary, not competing, protections — see DNSSEC: what it actually protects for the authenticity half of this picture, and is my router’s DNS hijacked for a related DNS-trust scenario that encryption alone doesn’t fully prevent.

This guide is general information, not a security audit of your specific network — see our disclaimer for what AdminKit's guidance does and does not commit to.

Frequently asked questions

What problem do DoH and DoT actually solve?

Both solve DNS confidentiality: ordinary DNS queries and answers travel in plaintext, so anyone on the network path — your ISP, a public Wi-Fi operator, or anyone positioned to observe traffic — can see every domain you look up, even if the sites themselves use HTTPS. DoH (RFC 8484) and DoT (RFC 7858) each wrap DNS queries in an encrypted channel so only the resolver you're talking to can see the actual query. Neither protects against the resolver itself, or anyone the resolver shares data with, seeing your queries — you're still trusting whichever resolver you point DoH/DoT at.

What's the actual technical difference between DoH and DoT?

DoT (DNS-over-TLS, RFC 7858) wraps DNS queries in TLS and runs on a dedicated port, 853, reserved specifically for this purpose. DoH (DNS-over-HTTPS, RFC 8484) wraps DNS queries inside HTTPS requests and runs on port 443 — the same port used for essentially all web traffic — which means a DoH query is, at the network level, indistinguishable from someone loading a webpage. That single difference in port and framing drives almost every practical tradeoff between the two.

Why would a network administrator care which one is used?

Because DoT's dedicated port makes it easy to identify and selectively block or monitor at a network boundary — a school, enterprise, or ISP wanting to enforce a specific resolver (for content filtering, malware-domain blocking, or compliance) can simply block port 853 and force DNS back through a visible, policy-controlled path. DoH on port 443 can't be blocked without also blocking general HTTPS traffic, which isn't practical — so a device or browser configured to use DoH to an external resolver can bypass network-level DNS policy entirely, which is why some enterprise and school network policies explicitly disable browser-level DoH in favor of an org-managed resolver.

Does using DoH or DoT mean a resolver can't see what I'm looking up?

No — the resolver you're querying still sees every query in full; encryption protects the query in transit between you and that resolver, not from the resolver itself. Your privacy posture is only as good as whichever resolver you choose and what that resolver's own logging and data-sharing policy says it does with query data. Switching to DoH/DoT without checking the resolver's privacy policy just moves who can see your DNS activity, it doesn't remove visibility altogether.

Which one should I actually use?

For most individual users, DoH is the more broadly supported option today — it's built into every major browser's settings and doesn't require separate OS-level configuration the way DoT sometimes does. For managed networks that need DNS policy enforcement to keep working (content filtering, malware-domain blocking, compliance logging), DoT's blockability is a feature, not a limitation, and many organizations prefer it, or prefer disabling browser-level DoH, specifically to keep DNS visible and governable on their own infrastructure.

Want AdminKit to watch this for you?

Free checks tell you the state today. Protective DNS and monitoring tell you when it changes.