SS Safe Surf Lab
vpnleak testdns leak

VPN Leak Test: How to Check for IP, DNS, WebRTC and IPv6 Leaks

Run a proper VPN leak test in about ten minutes: compare a baseline, check IP, DNS, WebRTC and IPv6 leaks, test the kill switch, and fix what you find.

SS Safe Surf Lab team · · 6 min read · 6 sources
Churchill Club Top 10 Tech Tech Trends Debate 2013 — I chose Deep Learning / Machine Learning
Photo: jurvetson (CC BY 2.0) via Openverse

A VPN leak test checks whether your real IP address, your ISP’s DNS servers, or your IPv6 address are still visible to websites while your VPN is connected. The quick version: note your real IP with the VPN off, connect the VPN, then run IP, DNS, WebRTC and IPv6 checks on a site like ipleak.net, BrowserLeaks or dnsleaktest.com — if anything that belongs to you or your ISP shows up, you have a leak.

No single test covers every leak type, so it pays to run several. Below is the method we use, what each result means, and how to fix the common failures. Tool names and settings are accurate as of November 2026, but browsers and VPN apps change their menus often.

The four leaks you are testing for

Leak typeWhat gets exposedUsual cause
IP leakYour real public IPv4 addressVPN not actually connected, split tunneling, or a dropped tunnel with no kill switch
DNS leakThe domains you visit, via your ISP’s DNS serversOperating system or browser sending DNS queries outside the tunnel
WebRTC leakYour real IP, revealed by the browser itselfBrowser WebRTC features that can discover your addresses
IPv6 leakYour real IPv6 addressVPN only tunnels IPv4 while your network also provides IPv6

DNS and IPv6 leaks are mostly a VPN or system configuration issue, while WebRTC leaks come from the browser, as Comparitech explains. That distinction matters when you go to fix them.

How to run a VPN leak test, step by step

1. Record a baseline with the VPN off

  1. Disconnect your VPN completely.
  2. Open ipleak.net or dnsleaktest.com.
  3. Write down your public IP address, any IPv6 address shown, and the name of the DNS provider (usually your ISP).

This baseline is what you are looking for later. Without it, it is hard to tell whether an address in the results is yours or the VPN’s.

2. Connect the VPN and check your IP

  1. Connect to a VPN server, ideally in a different country so the change is obvious.
  2. Reload the test page.
  3. Confirm the IP address and location now belong to the VPN server, not your baseline.

If your real IP still appears, the VPN is not routing your browser traffic. Check that split tunneling is not excluding your browser — Mullvad’s own help page suggests turning off split tunneling if its connection check fails. Many VPN providers offer a similar check page of their own.

3. Run a DNS leak test

  1. On dnsleaktest.com, choose the Extended test rather than the standard one.
  2. Look at the list of DNS servers and the ISP column.

According to dnsleaktest.com’s own explanation, the standard test sends one round of six queries, while the extended test runs six rounds for 36 queries in total, which is meant to make sure all the DNS servers you use are discovered. That makes the extended test better at catching a fallback resolver that only shows up occasionally.

Reading the result: with the VPN on, the servers should belong to your VPN provider or a resolver you deliberately configured. If your ISP from the baseline still appears, your DNS is leaking. Cybernews and others describe the same on/off comparison.

4. Run a WebRTC leak test

  1. With the VPN connected, open the WebRTC test on BrowserLeaks (ipleak.net also includes one).
  2. Check the public IP fields.

Your baseline IP should not appear anywhere. If the public address fields show nothing or only the VPN’s address, you pass. Local addresses such as 192.168.x.x are private network addresses and not the same as leaking your public IP.

5. Check for IPv6 leaks

  1. Look at the IPv6 section on ipleak.net while connected.
  2. Compare it with the IPv6 address from your baseline, if you had one.

If your real IPv6 address shows up, traffic is bypassing the tunnel. If your baseline showed no IPv6 at all, your current network may simply not offer it — so repeat this test on other networks, because an IPv6-capable network can expose a leak that your home Wi-Fi hides.

6. Test the kill switch

A kill switch should block traffic when the VPN connection drops, instead of silently falling back to your normal connection. Mullvad, for example, says its app keeps blocking internet traffic until a secure connection is re-established or you disconnect manually (Mullvad help).

A simple, safe way to check:

  1. Turn on the kill switch in your VPN app’s settings.
  2. Keep a test page open that shows your IP, and refresh it repeatedly.
  3. Briefly turn your Wi-Fi off and back on (or switch networks) while the VPN is connected.
  4. Watch whether your baseline IP ever appears before the VPN reconnects.

If your real IP shows up at any point during the reconnect, the kill switch did not hold. Expect to lose internet access during this test; that is the point.

How to fix the leaks you find

DNS leaks

  • Turn on the DNS leak protection option in your VPN app if it has one, and use the VPN’s own DNS servers.
  • Check your browser’s secure DNS (DNS over HTTPS) setting. A browser can send encrypted DNS queries to its own chosen resolver, which shows up in tests as a resolver that is not your VPN’s. Either disable it while using the VPN or point it at a resolver you trust, then retest.
  • Mullvad’s help pages also suggest following its DNS leak guide if its connection check flags a problem; most major VPN providers publish similar platform-specific instructions.

WebRTC leaks

  • Firefox: type about:config in the address bar, search for media.peerconnection.enabled, and set it to false. Several guides, including Comparitech and Mullvad, describe this method. Set it back to true to undo it.
  • Chrome: there is no built-in switch to fully disable WebRTC. The usual workaround is an extension from the Chrome Web Store that restricts how WebRTC uses your network, or relying on your VPN’s own browser extension if it offers WebRTC protection.
  • Trade-off: disabling WebRTC entirely can break browser-based calling services such as Google Meet or Discord in the browser. Sources disagree on how much breaks, so test the services you rely on.
  • Mobile: Mullvad’s guide notes that on Android, both Chrome and Firefox can leak your local IP via WebRTC, and that it can be disabled in Firefox but not in Chrome. Local IPs are less sensitive than public ones, but it is worth knowing.

IPv6 leaks

  • Enable IPv6 leak protection in your VPN app if available, or choose a VPN that fully supports IPv6 tunneling.
  • If neither is possible, disabling IPv6 on your device or router stops the leak. Some sources treat this as the only reliable fix without VPN-side protection; others call it a last resort. Either way, it is a configuration change, so note how to undo it.

IP leaks on reconnect

  • Turn on the kill switch (some apps call it “always-on” or “block connections without VPN”).
  • On Android and iOS, check the system-level VPN settings as well as the app, since the operating system handles some of this.

Getting reliable results

  • Use more than one tool. Each site tests slightly differently, and passing one test says nothing about the others.
  • Test where you actually use the VPN: home Wi-Fi, mobile data, and public Wi-Fi can behave differently, especially for IPv6.
  • Retest after updates to your VPN app, browser, or operating system.
  • Remember what a browser test can’t see. These sites only test the browser you open them in. Other apps on your device may route differently, especially if you use split tunneling or a browser-only VPN extension.

A clean result across IP, DNS, WebRTC, IPv6 and a kill switch check is a good sign that your VPN is doing its basic job. It doesn’t tell you anything about the provider’s logging or ownership, which is a separate question worth researching before you trust a VPN with your traffic.

Frequently asked questions

Is it a leak if the DNS test shows Cloudflare or Google instead of my VPN? +

Not automatically. If you deliberately set a custom DNS resolver in your VPN app or browser, seeing it is expected. It is a leak when the resolver belongs to your ISP, or to a provider you never chose, while the VPN is connected.

WebRTC shows a 192.168.x.x or 10.x.x.x address. Is that a problem? +

Those are private, local network addresses, not your public IP, so they do not reveal your location the way a public IP leak does. The thing to worry about is your real public IPv4 or IPv6 address appearing in the WebRTC results while the VPN is on.

How often should I run a VPN leak test? +

Run it after installing a VPN, after VPN app updates, after operating system or browser updates, and whenever you switch to a new network. Leaks can depend on the network, for example an IPv6-capable Wi-Fi network may behave differently from your mobile data.

Can a browser extension VPN pass a leak test? +

A browser extension usually only routes that browser's traffic, so a browser-based test can look clean while other apps on your device still use your real connection. A full VPN app that tunnels the whole device is the better choice if you want everything protected.

Sources

  1. How to perform a VPN leak test (IVPN Privacy Guides) (ivpn.net)
  2. Standard vs Extended test (DNS Leak Test) (dnsleaktest.com)
  3. How to check if your VPN is leaking DNS (Cybernews) (cybernews.com)
  4. WebRTC leaks (Mullvad help) (mullvad.net)
  5. How to stop WebRTC leaks (Comparitech) (comparitech.com)
  6. Using the Mullvad VPN app (Mullvad help) (mullvad.net)
About this guide. Researched and drafted with AI assistance from the sources above, then checked against our editorial rules. It reflects what was publicly known on November 11, 2026; details can change, so confirm with the official source before acting on it. How we work →

Our reviews

In-depth reviews from Safe Surf Lab that go with this topic.

Keep reading