DNS over HTTPS (DoH): What It Is and How to Test It

A plain DNS query is unencrypted by default β€” anyone on the network path can read which domains you're looking up. DNS over HTTPS (DoH) wraps that same query inside an ordinary HTTPS request instead.

What DoH Actually Does

DoH sends DNS queries and responses inside HTTPS, the same protocol used for regular web browsing, instead of the traditional plaintext UDP or TCP on port 53. To an observer on the network, a DoH query is indistinguishable from any other HTTPS request to that server.

Plain DNS versus DNS over HTTPSreadable on the pathencryptedBrowserISP resolverUDP 53BrowserDoH resolverHTTPS 443
Port 53 traffic can be read and filtered on the way; DoH hides it inside ordinary HTTPS.

Why It Matters

A plaintext DNS query reveals every domain you look up to anyone on the path β€” your ISP, a public Wi-Fi operator, or an on-path attacker β€” even if the site itself is loaded over HTTPS afterward. DoH encrypts the query itself, closing that specific gap.

DoH vs. DNS over TLS (DoT)

DoT encrypts DNS the same way, but over its own dedicated port, 853. That makes it just as easy to block as plain DNS β€” a network operator only has to block one port. DoH deliberately shares port 443 with regular HTTPS traffic, so blocking it without also blocking most of the web is far harder.

The Trade-Off

That same property is what makes DoH genuinely controversial: it can bypass DNS-based filtering set up at the network level β€” by an employer, a school, or parental-control software β€” since the traffic no longer looks like DNS to anything monitoring port 53. This is a real, actively debated trade-off between individual privacy and network-level policy enforcement, not a settled technical footnote.

Checking Whether DoH Is Active

Testing a resolver's DoH endpoint directly confirms whether it responds correctly over HTTPS, independent of whether your browser or OS is actually configured to use it for everyday lookups.

Frequently asked questions

What is DNS over HTTPS?

DNS over HTTPS (DoH) sends DNS queries and responses inside an ordinary HTTPS request instead of plaintext DNS on port 53, so the query is encrypted and looks like regular web traffic.

Does DoH make my DNS queries completely private?

It hides the query from anyone on the network path, but the DoH resolver you use still sees every lookup β€” DoH shifts who can see your queries, it doesn't eliminate visibility entirely.

Why do some networks try to block DoH?

Schools, employers and parental-control software often rely on inspecting or filtering plain DNS traffic on port 53. DoH traffic is indistinguishable from regular HTTPS, so it can bypass that filtering, which is why some networks block known DoH resolver endpoints specifically.

Try it on your domain

See the theory in practice β€” run a DNS over HTTPS (DoH) Tester for your own domain.