TodayTools

Compare protocols

DNS vs DNS over HTTPS: privacy, speed and control

Donate
What brings you here?

The difference at a glance

DNS

Domain Name System

Best for: Managed and local networks

The name you look up is readable by the network on the way.
  1. example.com?, from You
  2. 203.0.113.10, from Resolver

DNS over HTTPS

DNS over HTTPS

Best for: Public Wi-Fi and private lookups

The same lookup, hidden inside HTTPS.
  1. Lookup, from You, locked
  2. Answer, from Resolver, locked

The short answer

Classic DNS sends name lookups as plain text on UDP port 53, so the network you are on can read and even change them. DNS over HTTPS (DoH) puts the same question and answer inside an HTTPS connection on port 443, so they are encrypted and look like normal web traffic. The resolver you pick can still see your lookups.

Which one fits you?

Tick everything that is true for you.

What do you need?

Your pick shows here

Tick one or more lines and we weigh them for you.

DNS and DNS over HTTPS side by side

DNS vs DNS over HTTPS: differences row by row
What differsDNSDNS over HTTPS
Port53 (UDP, TCP for large answers)443 (TCP, or QUIC with HTTP/3)
EncryptedNoYes
Who can read lookupsAnyone on the path and the resolverOnly the resolver
Can be changed on the wayYesNo, protected by TLS
First lookupOne quick round tripNeeds an HTTPS connection first, then reuses it
Network filtersEasy for a school or office to applyCan bypass local filters, which some admins block
StandardRFC 1034, RFC 1035RFC 8484

Watch each one work

Each page plays the real packets on a map, step by step, with every header explained.

Test yourself

Each line describes one of the two. Which one?

Question 1 of 7

Port

53 (UDP, TCP for large answers)

Questions people ask

Is DoH the same as DNS over TLS?

Both encrypt DNS. DNS over TLS (DoT, RFC 7858) uses its own port, 853, so networks can spot and block it. DoH uses 443 and blends in with web traffic.

Does DNS over HTTPS hide sites from my internet provider?

It hides the lookups. The provider can still see the IP addresses you connect to and often the site name in the TLS handshake, unless Encrypted Client Hello is in use.

Is DoH the same as DNSSEC?

No. DNSSEC signs answers so you can tell they are genuine, but does not hide them. DoH hides lookups but does not prove the answers came from the domain owner. They work well together.

Is DNS over HTTPS slower?

The first lookup can be a little slower while the HTTPS connection opens. After that the connection is reused, and lookups are about as fast as classic DNS.

More comparisons

Donate