What is a DNS leak?
DNS is the internet's phone book: every time you visit a site, your device asks a DNS resolver to turn the name (like example.com) into an IP address. When you use a VPN, those lookups are supposed to travel inside the encrypted tunnel and be answered by the VPN's own resolvers. A DNS leak is when the lookups escape the tunnel and reach your internet provider's resolvers instead — so your provider can see which sites you visit, even though the rest of your traffic is encrypted.
Leaks usually have one of four causes: the VPN is not routing DNS through the tunnel; the system has its own DNS servers set (in the OS or the router) that override the VPN; IPv6 traffic bypasses a VPN that only covers IPv4; or the browser's own encrypted DNS (DoH) resolves outside the VPN path. A DNS leak check exists to catch these before you rely on the VPN alone.
How a real DNS leak test works
A full resolver test works like this: the test page makes your browser look up a set of unique, randomly generated subdomains. Your resolver — whichever server your system actually uses — has to ask the test site's authoritative DNS server for those names. That server logs which resolver asked, and the page shows you the list. If you are on a VPN and the list shows your ISP's resolvers, you are leaking.
That is why this page does not pretend to show your live resolvers: the test needs an authoritative DNS backend that logs queries, and this site does not run one. The checks above test everything that can be checked honestly from a browser — WebRTC, visible IP, IPv6, encrypted DNS — and the resolver box identifies addresses you paste in. For the full background-resolver test, use dnsleaktest.com or browserleaks.com/dns.
How to read your results
| Check | Green means | Red means |
|---|---|---|
| Your visible IP | The ISP and location shown are your VPN's (if you are on one) — websites see the VPN, not you. | The ISP and location shown are your real ones while the VPN is on — the VPN is not hiding your traffic at all. |
| WebRTC leak | WebRTC exposes no public IP, or only the same IP your connection already uses. | WebRTC reports a public IP that differs from your connection IP — your real address is visible to any site that asks. |
| IPv6 exposure | No IPv6 address outside your connection, or your connection itself is IPv6. | A public IPv6 address appears that differs from your connection IP — IPv6 is bypassing the tunnel. |
| Encrypted DNS | Your browser can reach public DoH resolvers and their answers are DNSSEC-validated (AD flag set). | DoH is unreachable — encrypted DNS is not available on this connection, so lookups go out in plain text unless your system encrypts them another way. |
| Your resolvers | The addresses belong to public resolvers you chose, or to your VPN. | The addresses look like your ISP's resolvers while you are on a VPN — DNS is leaking around the tunnel. |
One honest note about the green results: they mean no leak was found in the checks this page can run. They do not prove your background DNS queries stay in the tunnel — only a full resolver test proves that.
How to fix a DNS leak
- Use your VPN's DNS and its kill switch. In your VPN app, turn on the setting that routes DNS through the VPN (sometimes called “VPN DNS” or “private DNS”), and turn on the kill switch so traffic stops if the VPN drops. Reconnect, then run this check again.
- Fix WebRTC. In Firefox, open
about:configand setmedia.peerconnection.enabledtofalse. Chrome has no built-in off switch — use a trusted extension that disables WebRTC, or use another browser for sensitive browsing. Safari does not expose extra IPs unless you grant media permission. - Turn on encrypted DNS. In your browser settings, enable DNS over HTTPS (Chrome, Firefox, Edge and Brave all offer it) and pick a provider such as Cloudflare or Google. On Android, set Private DNS to a hostname such as
dns.googleorone.one.one.one. Encrypted DNS does not fix a leak by itself, but it stops your ISP from reading the lookups that do escape. - Set DNS on the router, not just the device. If your device points at the router (a private address like
192.168.1.1), the router's own DNS setting decides where queries go. Set the router to your chosen public resolver or your VPN's resolver. - Deal with IPv6. Either use a VPN that tunnels IPv6 as well as IPv4, or disable IPv6 on the device (Windows: network adapter settings; macOS:
networksetup -setv6off Wi-Fi; Linux: the IPv6 toggle in NetworkManager or a sysctl setting). - Flush the DNS cache after changing settings. Windows:
ipconfig /flushdns. macOS:sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Linux with systemd-resolved:resolvectl flush-caches. Then test again in a fresh browser tab — an old tab can keep a pre-VPN address.
How to find your DNS servers
Every device can show the DNS servers it uses — you need those addresses for the resolver box above, and for judging whether a VPN is really in charge of your DNS.
- Windows: Command Prompt →
ipconfig /all→ “DNS Servers” lines (there are often two: a primary and a secondary). - macOS: Terminal →
scutil --dns→ “nameserver” entries; or System Settings → Wi-Fi → Details → DNS. - Linux:
resolvectl status(systemd) or read/etc/resolv.conf. - Android: Settings → Network & internet → Private DNS shows the encrypted-DNS hostname; the Wi-Fi network details show the plain DNS servers.
- iPhone: Settings → Wi-Fi → tap the “i” next to your network → the DNS field lists the servers.
If the address is your router's (usually 192.168.x.x or 10.x.x.x), the router forwards queries onward — check the router's own DNS settings to see where they really go.
What is DNS over HTTPS?
Normal DNS sends queries as plain UDP packets: anyone on your network path — your ISP, a public Wi-Fi operator, a censor — can read them and see which sites you look up. DNS over HTTPS (DoH) wraps the same queries inside an encrypted HTTPS connection, so the path cannot read or change them. It does not hide your queries from the resolver itself (Cloudflare or Google still sees them), and it does not hide the IP addresses you then connect to — but it closes the easiest snooping channel. DNS over TLS (DoT, port 853) does the same job at the system level; Android's Private DNS uses DoT. DNSSEC is a separate layer: it cryptographically signs DNS answers so a resolver can prove they were not forged — the AD flag in the DoH results above means the answer passed that validation.
DNS leak check vs a full resolver test
| What you want to know | This page | dnsleaktest.com / browserleaks.com |
|---|---|---|
| Is my real IP leaking via WebRTC? | Yes — real check | Yes (browserleaks has a WebRTC page) |
| Which IP, ISP and location do sites see? | Yes | Yes |
| Is IPv6 escaping my VPN? | Yes — via WebRTC + connection family | Yes — dedicated IPv6 probes |
| Can my browser use encrypted DNS? | Yes — live DoH + DNSSEC check | No |
| Whose DNS servers do I use? | Yes — paste addresses, get names | No — they detect, they do not identify pasted addresses |
| Which resolver answers my queries live? | No — needs a DNS backend we do not run | Yes — their DNS servers log it |
| Step-by-step fix guide | Yes | No |
The two kinds of test complement each other: run this page for the browser-side leaks and fixes, then run a full resolver test for the background DNS path.
Honest limits
This page cannot see which resolver your system queries in the background — that needs an authoritative DNS server that logs queries, and this site does not run one. It cannot test torrent clients, apps outside the browser, or a VPN's kill switch. The WebRTC check depends on your browser exposing ICE candidates: a browser that blocks WebRTC entirely shows no addresses, which is good for privacy but means the check cannot confirm anything either way. The DoH check tests whether your browser can reach public encrypted resolvers — it does not tell you whether your system DNS is encrypted, because browser DoH and system DNS are separate settings. The resolver identifier knows the well-known public resolvers; an address it does not recognise is reported as “most likely your ISP's” — usually right, but a small or regional resolver, or your VPN's own resolver, can also be unrecognised. Results are a snapshot of this moment and this network: reconnect, change networks, or restart the VPN, and the answer can change.
More free tools
More free tools from The Cited Brand:
- llms.txt Generator & Validator — make a clean llms.txt file for your site in 2 minutes, and check any file against the basic rules.
- AI Crawler Checker — see whether GPTBot, ClaudeBot, PerplexityBot and 20 more AI crawlers can reach your site, or your robots.txt blocks them.
- Schema Markup Generator — make valid JSON-LD code for your pages, so search engines understand what each page is about.
- robots.txt Checker — check any site's robots.txt file: rules by bot, problems in plain words, a per-bot verdict table, and a tester for single pages.
- robots.txt Generator — build a robots.txt file in minutes: pick which AI bots may visit, add your sitemap, and download the file.
- AI Crawler Diagnostic Tool — diagnose your site for AI crawlers: find what blocks them and get the exact fix for each problem.
- AI Crawler Monitoring — keep watch after the check: spot AI bot visits in your server logs, Cloudflare analytics, and GA4.
- AI Agent Directory — the full list of 23 AI crawlers: who runs each one, what it does, and how to check a real visit.
- Secure Password Generator — generate a secure password or a word-based passphrase in one click. Made in your browser, never stored or sent anywhere.
- QR Code Generator — make a free QR code that never expires, for a link, text, Wi-Fi, email or phone. No account, no tracking, nothing uploaded.
- Password Strength Checker — check a password you already have: entropy, crack time, and pattern warnings, all in your browser.
- API Key Generator — make random API keys, secrets, and JWT signing secrets for your apps. Made in your browser, never stored or sent anywhere.
- QR Code Reader — scan a QR code from an image or your camera and see what it holds, with a warning for risky links. Nothing uploaded.
- UUID Generator — make UUIDs in one click — v4, v7, v1, v6, or name-based v3/v5. Bulk up to 1,000. Made in your browser, never stored or sent anywhere.
- Lorem Ipsum Generator — generate lorem ipsum in one click — paragraphs, sentences, words, characters or lists, as plain text, HTML, Markdown or JSON. Made in your browser, never stored or sent anywhere.
- Timestamp Converter — convert a Linux timestamp to a date and back — seconds, milliseconds, microseconds or nanoseconds, in any timezone, with copyable date commands. Made in your browser, never stored or sent anywhere.
- DNS Leak Check — check for DNS leaks: WebRTC test, visible IP + ISP + ASN, IPv6 exposure, encrypted-DNS reachability, and a DNS resolver identifier. Honest about its limits, no VPN ad.
- Tip Calculator — calculate a tip, the total and each person's share — bill, tip %, split, round-up, service presets and a comparison table. Free, no sign-up, nothing stored.
Frequently asked questions
What is a DNS leak?
A DNS leak happens when the domain-name lookups your device makes — the queries that turn a name like example.com into an IP address — travel outside your VPN tunnel and reach your internet provider's DNS servers instead. Your provider can then see which sites you visit, even though your other traffic is encrypted. A leak usually means the VPN is not routing DNS, the system has its own DNS servers set, or IPv6 traffic is bypassing the tunnel.
How do I check for a DNS leak?
Connect to your VPN first, then run the checks on this page: the WebRTC test shows whether your real public IP is visible, the IP panel shows which ISP and location websites see, and the IPv6 check shows whether IPv6 traffic escapes the tunnel. Then paste your DNS server addresses into the resolver box below to see whose resolvers they are. For the full test — which resolver answers your queries in the background — use dnsleaktest.com or browserleaks.com, which run their own DNS servers for that purpose.
Does this DNS leak check show my DNS servers?
No — and any page that claims to do this from a plain website is misleading you. Seeing which resolver answers your queries needs an authoritative DNS server that logs those queries, and this site does not run one. What this page does instead: it tests the leaks that can be checked honestly from a browser (WebRTC, visible IP, IPv6, encrypted DNS) and it identifies DNS server addresses you paste in, so you can see whether they belong to a public resolver, your router, or most likely your ISP.
What is a WebRTC leak?
WebRTC is the browser feature behind video and voice calls. To set up a call it can ask a STUN server for your public IP address — and any website can trigger the same request. If you are on a VPN and WebRTC reports your real ISP address instead of the VPN address, your real IP is leaking to every site that asks. This page runs a real WebRTC check: if it finds a public IP that differs from your connection IP, that is a leak.
What is an IP DNS checker?
An IP DNS checker is a tool that shows your visible IP address and your DNS behaviour together, so you can judge whether a VPN or proxy is really hiding you. This page is one: the IP panel shows the address, ISP, ASN and location websites see, and the other checks cover WebRTC, IPv6, encrypted DNS and your resolver addresses.
How do I check my DNS configuration?
On Windows run ipconfig /all and look for the DNS Servers lines. On macOS run scutil --dns and look for nameserver entries. On Linux run resolvectl status or read /etc/resolv.conf. On Android, Private DNS lives under Settings, Network & internet, Private DNS. On iPhone, tap the i next to your Wi-Fi network and read the DNS field. Paste the addresses into the resolver box on this page to see whose they are.
How do I fix a DNS leak?
First, set your VPN to use its own DNS servers and turn on its kill switch, then reconnect and test again. Second, fix WebRTC: in Firefox set media.peerconnection.enabled to false in about:config; Chrome has no built-in off switch, so use a trusted extension or another browser. Third, turn on encrypted DNS — DNS over HTTPS in your browser, or Private DNS on Android — so lookups are encrypted even if they leave the tunnel. Fourth, check IPv6: either route it through the VPN or disable it. The fix guide on this page walks through each step.
What is DNS over HTTPS (DoH)?
DNS over HTTPS sends your DNS queries inside an encrypted HTTPS connection instead of plain UDP, so nobody on your network path can read or change them. It does not hide your queries from the resolver itself — Cloudflare or Google still sees them — but it stops your ISP and local snoopers from reading them. This page tests whether your browser can reach public DoH resolvers and whether their answers carry the DNSSEC AD flag, which means the answers were cryptographically validated.
What is an IPv6 leak?
An IPv6 leak happens when your VPN only routes IPv4 traffic but your device also has IPv6 connectivity: IPv6 traffic then leaves through your real ISP connection, exposing your real IPv6 address and location. It is common because many VPN apps still tunnel IPv4 only. This page flags it when WebRTC reveals a public IPv6 address that differs from your connection IP. The fix is a VPN that tunnels IPv6 too, or disabling IPv6 on the device.
Is this DNS leak check private?
Yes, with one honest note. The WebRTC test and the resolver identifier run fully in your browser. Two checks contact other servers, and the page says so: the IP check calls our own server (any site you visit sees your IP — we show it back to you and store nothing), and the encrypted-DNS check sends DNS queries to Cloudflare's and Google's public DoH resolvers. The WebRTC check uses Google's public STUN server to learn your public address, the same way a video call does. Nothing you type or test is stored, logged, or sent to us.