Checking what websites can see about you…

Skip to content
choosebettervpn
Privacy

What is DNS, and why does it matter for your privacy?

DNS is the internet's phone book. Every lookup can reveal the sites you visit, unless you protect it.

Written by Itezaz Hasan
Editor
Fact-checked · Updated 2 December 2026 · 2 min read
Key takeaways
  1. 1DNS turns website names like example.com into the IP addresses computers use.
  2. 2Whoever answers your DNS lookups can see every site you visit.
  3. 3By default that's usually your internet provider, and the lookups are often unencrypted.
  4. 4Encrypted DNS or a VPN with its own DNS keeps those lookups private.

We may earn a commission when you buy through our links. It never changes our scores or rankings. How we make money

DNS (the Domain Name System) is the internet's phone book: it turns names like choosebettervpn.com into the numeric IP addresses computers use. Every time you visit a site, your device asks a DNS server for that address, and whoever runs that server can see the request. That's why DNS matters for privacy.

How DNS works

  1. You type a website name.
  2. Your device asks a DNS server: "What's the address for this name?"
  3. The DNS server replies with an IP address.
  4. Your browser connects to that address.

By default, your DNS server is usually your internet provider's. Traditional DNS isn't encrypted, so your Wi-Fi owner can often see the lookups too.

What your DNS provider can see

  • Every website and app server your device looks up
  • When you looked it up
  • Your IP address

It can't see the pages you read or what you type on HTTPS sites. But the list of sites alone says a lot about you.

Three ways to make DNS private

1. Encrypted DNS in your browser or phone

DNS over HTTPS (DoH) and DNS over TLS (DoT) encrypt your lookups.

  • Browsers: Chrome, Edge and Firefox have a "Secure DNS" or "DNS over HTTPS" setting.
  • Android: Settings → Network → Private DNS (names vary by phone).
  • iPhone and Mac: need a configuration profile or app.

2. A VPN with its own DNS

A good VPN sends DNS lookups through its encrypted tunnel to its own DNS servers. Your ISP sees neither your lookups nor the sites you visit. See what is a VPN.

3. A filtering DNS service

Some DNS services also block known malware or ad domains. That's an extra layer of safety on top of privacy.

VPNs with private DNS

Our VPN pages list DNS leak protection and private DNS as features, from our live data:

OUR PICK
Free data
Unlimited
Free devices
1
From
$2.99/mo
Get Proton VPN
PICK 2
Free data
No free plan
Free devices
—
From
—/mo
Get Mullvad
PICK 3
Free data
No free plan
Free devices
—
From
$3.39/mo
Get NordVPN

Learn the terms in our VPN glossary.

Our take

DNS is the privacy leak most people have never heard of. The good news is that the fix is easy: turn on secure DNS in your browser, and use a VPN that handles DNS itself. Then run a quick leak test once to make sure it's working.

FAQ

What is a DNS leak?

A DNS leak happens when your device sends DNS lookups outside the VPN tunnel, usually to your ISP. Your IP is hidden but your ISP can still see which sites you visit.

Is changing my DNS to 1.1.1.1 or 8.8.8.8 private?

It moves your lookups from your ISP to Cloudflare or Google. With encrypted DNS turned on, your ISP can't read them, but the new provider can.

Does DNS over HTTPS replace a VPN?

No. It hides your DNS lookups but not your IP address or the rest of your traffic's destination.

Sources
  1. Cloudflare: What is DNS?
  2. EFF Surveillance Self-Defense

Update history: 2 December 2026 — First published

Was this guide helpful?
About Itezaz Hasan

I am an experienced IT Support Specialist, Network Engineer, Cybersecurity Professional, and VPN Testing Expert with strong technical knowledge in designing, implementing, troubleshooting, and securing network infrastructures. I have hands-on experience in VPN deployment, testing, and performance analysis, ensuring secure and reliable connectivity across enterprise environments. My expertise includes network administration, cybersecurity best practices, system troubleshooting, IT support, VPN technologies, firewall configuration, network monitoring, and security assessments. I am skilled at identifying vulnerabilities, resolving complex technical issues, and maintaining secure IT environments to support business operations.

All articles →