Internet privacy

DNS over HTTPS vs. DNS over TLS

DNS over HTTPS (DoH) and DNS over TLS (DoT) protect supported DNS queries in transit between a client and its chosen resolver.

Updated

What is encrypted

Traditional DNS often uses unencrypted UDP or TCP. DoT carries DNS messages over TLS, while DoH transports DNS requests using HTTPS. Both can reduce visibility and interference by observers along the client-to-resolver path.

The resolver still has a role

Encryption does not remove the need to trust the resolver. A normal DoH or DoT provider can see the requests it receives and network information associated with the connection. Its data handling policy matters. DNS transport also does not conceal a website visit from the destination.

What encryption changes

Illustrative examples, not live lookup results.

Plain DNSUnencrypted query
example.com→
example.com

Classic DNS can expose the query to on-path observers.

DoH / DoTEncrypted channel
•••••••••••→
example.com

Encrypted DNS protects the transport to the selected resolver; the resolver still sees the query.

Encrypted DNS does not change the public source IP of the website connection.

Browser and system configuration

A browser may have its own encrypted DNS configuration, separate from the system's resolver or a VPN. An operating system may apply a different policy to other applications. Some settings fall back to ordinary DNS when the encrypted endpoint is unavailable.

Check your intended setup

Decide which resolver you want to use and whether it should travel through a VPN. A DNS leak test needs to observe queries for controlled test names. Simply checking an HTTPS connection to a resolver does not establish the route taken by every DNS query.

Try this

Consult the browser and VPN settings together when diagnosing a resolver mismatch. Do not assume encrypted DNS alone guarantees anonymity.

DNS record lookup →

Technical references