Safelight

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

  1. With your VPN on, open the Safelight connection check
  2. Look at which DNS servers asked in the "DNS leak" row
  3. If your internet provider's name appears, DNS is leaking
Check my connection nowFree · 30 seconds · nothing stored

How to fix it

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.

More guides