Encrypted DNS: who can still see your lookups

DoH and DoT hide your DNS lookups from the network, but not from everyone. What each one protects, how to turn it on and check it, and when it gets in the way.

Popo
On this page

DNS was designed to be readable. Anyone on the path between you and your resolver, such as the Wi-Fi's owner or your provider, can read every name you look up, and can change the answers. Encrypted DNS puts the same question in an envelope. It's a real improvement, and it's often credited with more than it does.

What it hides, and from whom

Who can read the namePlain DNSEncrypted DNSInside a VPN
Wi-Fi ownerYesNot from DNSNo
Internet providerYesNot from DNSNo
The resolverYesYesYes
The VPN provider——Yes, if it resolves
The site’s own DNS serversYes, but usually not who askedThe sameThe same
The envelope is opened by the resolver. Encryption moves your trust from the network to whoever runs the resolver.

"Not from DNS" needs explaining. Once your browser has the address, it connects, and at the start of most connections it still names the site in the clear. So the network can usually read the name there instead. Who can see your AI chats shows how to check that, and the standard meant to close the gap.

What encryption does give you:

  • Answers that can't be altered on the way, so a network can't redirect you by forging them.
  • No list of lookups for someone who's only listening for DNS.
  • Assurance about who answers: the resolver proves its identity with a certificate.

DoT, DoH and DoQ

Travels overPortStandardOn the network it looks like
Plain DNSUDP or TCP531987Readable DNS
DoTTLS853RFC 7858 (2016)Encrypted DNS
DoHHTTPS443RFC 8484 (2018)Ordinary web traffic
DoQQUIC853RFC 9250 (2022)Encrypted DNS
Three ways of wrapping the same question. Where they differ is in how easy they are to recognize, and to block.

DoT has a port of its own, so a network can see that you're using encrypted DNS and block it. DoH looks like any other HTTPS connection, so it's harder to single out. Browsers use DoH, and phones and routers often use DoT.

You can make a DoH request with nothing but curl, since it's just a web request:

Terminal
curl -s -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=ckip.net&type=A'{"Status":0,"TC":false,"RD":true,"RA":true,"AD":false,"CD":false,"Question":[{"name":"ckip.net","type":1}],"Answer":[{"name":"ckip.net","type":1,"TTL":300,"data":"172.67.196.68"},{"name":"ckip.net","type":1,"TTL":300,"data":"104.21.74.32"}]}

On Windows, use curl.exe with double quotes. Status 0 means success.

How common it is

APNIC, the Asia-Pacific address registry, publishes what share of the queries reaching Cloudflare's public resolver are encrypted:

Encrypted share of queries to Cloudflare’s public resolver

India48.1%
South Korea29.7%
France25.3%
Germany25.0%
United States22.9%
United Kingdom21.2%
Brazil20.1%
Japan19.9%
South Africa11.9%
APNIC Labs, page dated 10/11/2026, read on 30 November 2026. It covers people who use this one resolver, not everyone in the country.

Even among people who've chosen a public resolver, or whose browser or provider chose it for them, most queries in most of these countries are still readable.

Turn it on

In the browser (affects only that browser):

  • Chrome: Settings → Privacy and security → Security → Use secure DNS.
  • Firefox: Settings → Privacy & Security → DNS over HTTPS.

If you leave Chrome on the provider you have now, it encrypts only if that provider supports it. Choose one to be certain.

In the operating system (affects everything):

  • Windows 11: Settings → Network & internet → your connection → DNS server assignment → Edit, then turn on DNS over HTTPS.
  • Android: Settings → Network & internet → Private DNS.
  • iPhone, iPad and Mac: through a configuration profile or an app from the provider.

In the router (affects every device): if it supports DoT or DoH. Lookups between your device and the router stay plain.

Systems can also switch by themselves. A resolver can announce that it has an encrypted service, through RFC 9462. When we asked 1.1.1.1 and 8.8.8.8 in November 2026, both did.

Check that it works

Run the DNS leak check and see whether the resolver is the one you chose:

It shows who answers, not whether the question was encrypted. For Cloudflare, https://one.one.one.one/help reports whether your browser reached 1.1.1.1 over DoH or DoT.

If nothing changed after you turned it on, the system setting may apply while the browser uses its own, or the other way around.

When it causes trouble

  • Company systems don't open. Internal names exist only on the company's resolver. Leave the setting to your administrator.
  • Parental controls or ad blocking by DNS stop working, because lookups no longer pass through them.
  • Hotel Wi-Fi won't show its login page, which relies on intercepting things.
  • With a VPN, a browser's own DoH can send lookups to that provider instead of the VPN's resolver. They still travel inside the tunnel if it covers everything, but the leak check will list that provider. What is a DNS leak? explains how to read that.
  • A network that blocks it may break lookups completely if you've made encryption mandatory. Android's Private DNS with a fixed hostname and Firefox's maximum protection don't fall back to plain DNS.

Who should you trust with it?

That's the question encryption leaves. Splitting the knowledge is one answer: Oblivious DoH, described in RFC 9230, puts a relay in between, so that one party knows your address and another knows the question. Support is limited. For everyone else it comes down to choosing a resolver whose policy you find acceptable: your provider's DNS or a public one?

More in Privacy & leaks

DNS and WebRTC leaks, fingerprints and what sites see

All 10 articles