DNS Leak Test — Check If Your VPN Leaks DNS
Check your DNS configuration signals and make sure your VPN isn't leaking.
A DNS leak happens when your device’s DNS queries — the translation of web addresses into IP addresses — are sent to your internet provider’s DNS server instead of through the encrypted VPN tunnel. That lets the provider keep seeing which sites you visit even though your VPN is active.
You pay for a VPN for your privacy — but a green VPN icon doesn’t automatically mean your DNS is safe. The DNS leak test on this page checks your DNS configuration signals and shows you how to make sure your VPN really protects you.
The test starts automatically when the page loads — or click the button to run it again.
A plain website cannot see the DNS server your device actually uses — only your device or your VPN knows that. This test checks configuration signals (public IP, network type and DoH support), not the real DNS resolver.
What is a DNS leak?
DNS (Domain Name System) is the internet’s “phone book”: every time you type a web address, your device asks a DNS server to translate it into an IP address. With an active VPN, those queries should travel inside the encrypted tunnel to the VPN provider’s DNS server.
The leak happens when DNS queries instead go to your ISP’s DNS server — outside the VPN tunnel. Common causes: old manual DNS settings on the system, an outdated VPN app, the browser’s WebRTC feature, or a brief VPN drop without a kill switch. The result is the same as without a VPN: the DNS server operator can log every domain visited.
Leak vs. no leak: what each result means
| Checked signal | With DNS leak | With secure DNS |
|---|---|---|
| ISP name without vs. with VPN | Unchanged | Changes with the VPN network |
| Network type | Unknown datacenter/hosting detected | Normal residential ISP or VPN provider network |
| DNS-over-HTTPS | Not reachable / not enabled | Reachable — browser DNS queries are encrypted |
| System DNS server | ISP DNS | VPN DNS, 1.1.1.1 or 9.9.9.9 |
Use the table as a cheat sheet when reading the test result above: a single suspicious signal is enough to check your settings.
How the test works — and its limits
Honestly: a normal website cannot see the DNS server your device actually uses. That information exists only in your operating system or your VPN app, and no website can reveal it directly.
What this DNS leak test does: it checks three configuration signals observable from the browser:
- Your public IP, ISP/organization and ASN — the network identity the internet sees, from an IP geolocation service.
- Network type — the organization/ASN name is scanned for hosting keywords (hosting, datacenter, cloud, VPS etc.). An implausible result can indicate faulty VPN routing.
- DNS-over-HTTPS support — we test whether your browser can reach a public DoH resolver, because DoH encrypts DNS queries so they can’t be read on the local network.
For full certainty, follow the 3-step guide in the results area: note ISP without VPN, connect VPN, test again. This before/after comparison is the manual method experts use.
How to fix a DNS leak
If the test shows a leak — or you want to prevent one — proceed in this order:
- Enable your VPN’s kill switch. It disconnects the internet on VPN drop, so DNS never slips through unprotected.
- Force the VPN DNS. Choose “use VPN provider DNS” in the app settings if available — that keeps DNS in the same tunnel.
- Set encrypted DNS manually. Trusted alternatives: Cloudflare
1.1.1.1or Quad99.9.9.9, and enable DNS-over-HTTPS in the browser (Chrome, Firefox and Edge offer it in privacy settings). - Disable WebRTC. WebRTC can reveal your real IP through the browser; disable it in settings or via an extension and verify with our WebRTC leak test.
- Update your VPN app and OS. DNS leaks often come from bugs already fixed in newer versions.
- For advanced users: firewall rules. Block outbound traffic on port 53 (normal DNS) except via the VPN interface, so leaked DNS has no way out.
Summary: how to check if your VPN leaks
- Disconnect the VPN, run the DNS leak test above and note the ISP name.
- Connect the VPN to your preferred server and run the test again.
- Compare: the ISP name must change. If it stays the same with the VPN active, you have a DNS leak — apply the fixes above and test again.
Repeat the check every time you switch VPN apps, update the system, or change networks (e.g. from home WiFi to café WiFi). DNS leaks can return after updates change your network settings.
Frequently asked questions
How do I check if my VPN has a DNS leak?
Run the test above without a VPN and note the ISP name, then connect the VPN and run the test again. If the ISP name stays unchanged with the VPN active, your DNS queries are bypassing the tunnel. To be sure: repeat the test with a different VPN server and make sure the kill switch is active. If the leak persists, manually switch DNS to 1.1.1.1 or 9.9.9.9 and test again.
Why is my DNS leaking even though the VPN is connected?
DNS leaks are usually caused by system settings overriding the VPN DNS, an outdated VPN app, or the browser's WebRTC feature revealing your real IP. A good VPN routes DNS through its own tunnel, but bugs and OS configurations let queries slip through. Update the VPN app, enable 'use VPN provider DNS' if available, disable WebRTC in the browser, and check for old manual DNS entries in your network settings.
Can my ISP see which sites I visit?
Yes — if your device uses the provider's default DNS server, ISPs can log every domain you visit. That's the core of a DNS leak: without a properly working VPN, your browsing history is visible to the ISP. Encrypted DNS-over-HTTPS (DoH) and a correctly configured VPN prevent this logging, because DNS queries no longer reach the ISP as plain text.
What's safer against leaks: VPN DNS or 1.1.1.1?
Both are safe when configured correctly, but the VPN provider's DNS is usually better because queries stay in the same encrypted tunnel as your other traffic. Cloudflare's 1.1.1.1 with DoH is also encrypted and doesn't store your identity. Dangerous is unencrypted ISP DNS. Rule of thumb: use the VPN DNS when possible; otherwise 1.1.1.1 or 9.9.9.9 with DNS-over-HTTPS enabled.
Is this DNS leak test free and safe?
Yes, the test on this page is free and safe: it only reads your public IP address and network information that any website can see anyway, and everything is processed in your browser without storing data. But mind the limitation — a website can't see your actual DNS server. For full certainty, combine the test with the manual 3-step test (note ISP, connect VPN, compare) from the results area.