What Is a DNS Leak? How to Test and Fix It
Updated 2026-11-29
DNS is the internet's directory. When you type an address, your device first asks a DNS server where that site is, then connects.
What is a DNS leak?
A VPN routes all your traffic another way to hide it. Sometimes the DNS questions slip out and go to your regular provider, so the provider can still see which sites you visit. That is a DNS leak.
Without a VPN, your provider answering DNS is normal, so it isn't a "leak". Your provider can still see the sites you visit, and secure DNS reduces that.
How to test
- With your VPN on, open the Safelight connection check
- Look at which DNS servers asked in the "DNS leak" row
- If your internet provider's name appears, DNS is leaking
Check my connection nowFree · 30 seconds · nothing stored
How to fix it
- VPN app: turn on DNS leak protection, "use VPN DNS" and the kill switch
- Browser: a secure DNS setting in Chrome or Edge can bypass the VPN; turn it off while using the VPN
- Android: make sure Private DNS isn't set to something different from your VPN
- iPhone: using iCloud Private Relay and a VPN together can mix results
Showing your provider less without a VPN
Secure DNS (DNS over HTTPS) encrypts DNS questions so others on your Wi-Fi and your provider can't easily read them. In Chrome: Settings → Privacy and security → Security → "Use secure DNS". On Android, set Private DNS to dns.google or one.one.one.one.