The short answer
Without a VPN, your internet provider can usually tell which sites you visit, even with encrypted DNS. Encrypted DNS hides the names you look up. The IP addresses you connect to, and in most cases the site name in the first message of each HTTPS connection, are still in view. HTTPS already hides the pages, the full addresses and everything you type.
Each change you make moves information from one party to another rather than making it vanish. Encrypted DNS hands your lookups to the resolver you chose. A VPN hands your whole connection to the VPN operator. Choose who you trust, then read what they say they keep.
Five things a visit leaves on the wire
Opening https://www.example.com/account produces several separate pieces of information, and each is protected by something different.
- The DNS lookup for www.example.com.
- The IP address your device then connects to.
- The server name sent at the start of the HTTPS connection.
- The page itself, including the path /account, which travels inside HTTPS.
- The timing and size of the traffic.
A setting that protects one of these doesn't protect the others. That is the whole idea of this guide.
DNS lookups
Plain DNS is unencrypted. RFC 9076, the IETF's review of DNS privacy, says almost all DNS traffic is still sent that way, and that it can be seen by an eavesdropper like any other traffic. If your device uses your provider's resolver, as most do by default, the provider doesn't even need to eavesdrop. It answers every lookup itself.
Encrypted DNS, such as DoH from RFC 8484, closes the eavesdropping part. Your provider sees an encrypted connection to the resolver's address and can't read the names inside it. The resolver still can. If you switch to encrypted DNS run by your own provider, you have protected the lookups from other networks on the way and nothing else.
DNS reveals names, not pages. A lookup for www.example.com doesn't include /account, and your device caches answers, so one lookup can cover many visits. It is still a good record of which sites and services you use and when.
Destination IP addresses
To deliver your traffic, your provider has to see where it is going. No DNS setting changes that. Every connection carries the address of the server at the other end.
How much an address gives away depends on the site. A site on its own server can be identified from its address alone. A site behind a large hosting company or content delivery network shares its addresses with many others, so the address only narrows it down. RFC 9849, the standard for Encrypted Client Hello, says the same thing from the other side. It notes that the site you are visiting may be visible through plaintext DNS queries or visible server IP addresses.
The site name in the TLS handshake
HTTPS starts with a handshake. In its first message, the browser normally names the site it wants, using an extension called Server Name Indication, or SNI. RFC 6066 defines it as a field in that first message, the ClientHello. In an ordinary handshake that message isn't encrypted, so the network can read the name.
Encrypted Client Hello, or ECH, fixes this. It was published as RFC 9849 in March 2026, as a Proposed Standard. ECH encrypts the ClientHello under a public key that belongs to the server. What stays visible is an outer handshake that names the provider in front of the site, not the site. RFC 9849 is open about the limit. Using ECH still reveals that you are connecting to a particular service provider, just not which of its sites.
As of November 2026, ECH only works when both your browser and the site support it, so many visits still send the name in the clear. Cloudflare's documentation says ECH is on by default for sites on its free plan, and that every site using it there shares the same outer name, cloudflare-ech.com. The same page notes that networks can stop ECH from being used, for example by removing the ECH settings from DNS answers. That is one more reason ECH works best together with encrypted DNS.
What HTTPS already hides
Inside an HTTPS connection, the page, the full address with its path and query string, cookies, form fields and passwords are all encrypted. Your provider sees none of it, with or without encrypted DNS. The site itself sees all of it, of course.
Two limits apply. A device managed by an employer or school can be set up to trust an inspection service that opens HTTPS traffic, and then the organisation can see inside it. And encryption doesn't hide timing and volume. A provider can see when you are online, how much you transfer and roughly what shape it has, such as a long steady download that looks like video.
With a VPN
With a full-tunnel VPN that carries DNS, your provider sees one encrypted connection to the VPN server, its timing and its volume. The names, addresses and SNI of the sites you visit are inside the tunnel.
They haven't disappeared. They come out of the tunnel at the VPN's server. The VPN operator is now in the position your provider was in, with the same view of DNS, addresses and SNI, unless you also use encrypted DNS to another resolver and sites that support ECH. A VPN is a choice of whom to trust, not a way to trust nobody. And a DNS leak is the case where the lookups skip the tunnel and land with your provider anyway, which is what our test checks.
Worked example: one visit, four setups
A visit to https://www.example.com/account. The site is at 192.0.2.80 behind a provider that supports ECH. The chosen encrypted resolver is at 198.51.100.53. The VPN server is at 203.0.113.20. No inspection software, and a fresh DNS lookup each time.
| Setup | The lookup | Site's IP | Site name in handshake | Page and /account |
|---|---|---|---|---|
| Plain DNS from the provider | Seen, the provider answers it | Seen | Seen, unless ECH is used | Hidden |
| Encrypted DNS, browser without ECH | Hidden, the resolver sees it | Seen | Seen | Hidden |
| Encrypted DNS and ECH | Hidden, the resolver sees it | Seen | Hidden, only the provider's outer name | Hidden |
| Full-tunnel VPN with its DNS | Hidden, the VPN sees it | Hidden, only 203.0.113.20 | Hidden from the provider | Hidden |
Read the table as what your internet provider can see. In row three, the provider still sees a connection to 192.0.2.80. If many sites share that address, the provider knows you visited one of them. If only one site uses it, the address gives it away and ECH has hidden little. In row four, the VPN operator sees what the provider saw in row one or two, depending on whether you also use encrypted DNS.
In every row, the path /account and the page stay inside HTTPS. Timing and volume are visible in every row too.
Choosing a resolver by its privacy policy
Once your lookups go to a resolver of your choice, its operator sees all of them, so its privacy policy is the document that matters. Read the policy for the DNS service, not the company's general website policy. Look for five things.
- Whether your IP address is kept. Is it written to disk, and is it stored next to the names you looked up?
- For how long. A fixed number of hours or days, or "as long as necessary"?
- What is kept for good. Most services keep some aggregate data. Check whether it is truly without your address.
- Sharing and selling. Whether anything goes to third parties, and the exceptions.
- EDNS Client Subnet. RFC 7871 defines this option, which passes part of your network address on to the servers the resolver asks. It notes that the client's network address then becomes visible to every server involved and to any network the DNS packets cross, and encourages resolvers to cut IPv4 addresses down to 24 bits.
Then check whether an independent audit is named, and when it was done.
Three large services publish policies worth reading side by side. As of November 2026, Cloudflare's policy for 1.1.1.1 says it won't keep the source IP of queries in non-volatile storage, deletes its resolver logs within 25 hours and won't sell or share users' personal data, and that one of the four big accounting firms audits these practices. Google Public DNS says its temporary logs, which hold the full IP address, are deleted within 24 to 48 hours, and that it keeps a sample of permanent logs with the IP address replaced by a city or region. Quad9, a foundation based in Switzerland, says it doesn't collect or record user IP addresses and keeps mostly counters.
For a yardstick, Mozilla's rules for resolvers built into Firefox require that data identifying users is kept for no more than 24 hours and not sold or passed on, with ECS limited. A policy that falls short of that deserves a closer look. This is a way to compare documents, not a ranking. A policy is a promise, and the test on this site can only confirm which resolver answers you, not what it does afterwards.
Sources
- RFC 9076: DNS privacy considerations
- RFC 8484: DNS queries over HTTPS (DoH)
- RFC 6066: TLS extensions, including Server Name Indication
- RFC 9849: TLS Encrypted Client Hello
- Cloudflare docs: Encrypted Client Hello
- RFC 7871: Client Subnet in DNS queries
- Cloudflare: 1.1.1.1 public DNS resolver privacy commitments
- Google Public DNS: Your privacy
- Quad9: Data and privacy policy
- Mozilla Wiki: Trusted Recursive Resolver policy