VPN leak test

Check whether your VPN is really hiding you. This test looks for IP, WebRTC, DNS and IPv6 leaks in about ten seconds.

Connect your VPN first, then run the test

Takes about 10 seconds. Run it with and without your VPN to compare.

  1. Public IP addressThe address websites see.
    Waiting
  2. WebRTC leakWhether your browser exposes another IP.
    Waiting
  3. DNS leakWhich DNS servers look up sites for you.
    Waiting
  4. IPv6 leakWhether IPv6 traffic slips around your VPN.
    Waiting

A VPN should hide two things: your real IP address and the websites you look up. Misconfigured apps, the browser's WebRTC feature, DNS settings and IPv6 can quietly leak one or both. This test checks all four in about ten seconds.

What the test checks

1. Your public IP address

This is the address every website sees. With your VPN on, it should belong to your VPN provider and show the country of the server you picked, not your home internet provider.

2. WebRTC leak

WebRTC lets browsers make video calls directly. To do that, it asks a public "STUN" server what your IP is, and some setups answer with your real IP even through a VPN. We run the same check any website can run. If it finds a public IP that doesn't match the one above, your real address may be exposed.

3. DNS leak

Before loading any site, your device asks a DNS server to look up its address. We make your browser perform a few unique test lookups and then see which DNS servers carried them out. With a VPN on, they should belong to your VPN provider or a privacy DNS service you chose. If you see your home internet provider there, your browsing is leaking around the VPN.

4. IPv6 leak

Many connections have both an IPv4 and an IPv6 address, and some VPNs only protect IPv4. Websites that support IPv6 (Google, Facebook, Netflix and many more) then see your real IPv6 address, even though IPv4 sites see the VPN. We detect both addresses and check that they belong to the same network.

How to read the results

ResultWhat it means
IP shows your VPN's providerThe VPN is working for normal traffic.
IP shows your home providerThe VPN isn't connected, or isn't routing your browser's traffic.
WebRTC shows a different public IPPossible WebRTC leak: turn on your VPN's WebRTC protection or block WebRTC in the browser.
DNS servers belong to your home providerDNS leak: enable your VPN's DNS leak protection and check your browser's secure DNS setting.
IPv6 is on a different network from IPv4Possible IPv6 leak: turn on your VPN's IPv6 leak protection, or turn IPv6 off on your device while connected.

How to fix a leak

  1. Update your VPN app and turn on its leak-protection and kill-switch settings.
  2. Check your browser's secure DNS (Chrome and Edge: Settings > Privacy and security > Use secure DNS; Firefox: Settings > Privacy & Security > DNS over HTTPS). Point it at your VPN's DNS or turn it off while connected.
  3. Fix IPv6. Use a VPN that supports IPv6, or enable its IPv6 leak protection (some apps call it "block IPv6"). As a last resort, turn IPv6 off in your device's network settings.
  4. Block WebRTC leaks with your VPN's browser extension, or the settings in our FAQ below.
  5. Run the test again to confirm everything now points to your VPN.

Still leaking after all that? Some free and budget VPNs simply don't protect WebRTC, IPv6 or DNS well. Providers with built-in leak protection fix this by default.

Disclosure: some links on this page are affiliate links. If you buy through them, CheckIfSiteDown may earn a commission at no extra cost to you. It never affects our status results, and we only recommend services with a strong reputation. Learn more.

VPNs with built-in leak protection

Best all-rounder

A large server network in dozens of countries, consistently fast speeds and an independently audited no-logs policy.

  • Servers in many countries to get around regional blocks
  • Fast, stable connections
  • Independently audited no-logs policy
Get NordVPN →
Best for privacy

From the Swiss makers of Proton Mail: open-source apps, a strong privacy record, and a free plan to try it first.

  • Based in privacy-friendly Switzerland
  • Open-source, audited apps
  • Free plan available
Get Proton VPN →

Prices and features change — check the provider's site for current offers. Check its refund terms before you buy.

The DNS check uses the free bash.ws leak-test service. The WebRTC check contacts public STUN servers run by Google and Cloudflare; your IPv4 and IPv6 addresses are detected with ipify, and network names come from IPinfo (IP data licensed under CC BY-SA 4.0). Nothing from this test is stored on our server.

Frequently asked questions

What is an IPv6 leak?

Many internet connections now have two addresses: an older IPv4 one and a newer IPv6 one. Some VPNs only send IPv4 traffic through their tunnel. Any website that supports IPv6 then sees your real IPv6 address, which identifies your home connection, even though the VPN appears to be working.

What is a DNS leak?

Every time you open a website, your device first asks a DNS server for its address. With a VPN on, those questions should go through the VPN's own DNS servers. A DNS leak happens when they go to your internet provider instead: the VPN hides your traffic, but your provider can still see every site you look up. The test above checks for this by seeing which DNS servers carry out a few unique test lookups.

What is a WebRTC leak?

WebRTC is the browser feature behind video calls. To connect calls directly, it can discover your public IP address, and on some setups it finds your real address even while a VPN is on. Websites can read that address with a few lines of code, which defeats the point of the VPN.

How do I fix a DNS leak?
  1. Turn on your VPN app's DNS leak protection (most good VPNs have it, often on by default).
  2. If your browser uses its own "secure DNS", set it to use your VPN's DNS or turn it off while the VPN is on.
  3. Make sure your VPN handles IPv6; if it doesn't, IPv6 lookups can bypass it.
  4. Run this test again to confirm.
How do I stop WebRTC leaks?

Use your VPN's browser extension or app setting for WebRTC protection if it has one. In Firefox you can turn WebRTC off by setting media.peerconnection.enabled to false in about:config. Chrome and Edge need an extension, such as uBlock Origin's "Prevent WebRTC from leaking local IP addresses" setting.

Can I run this test without a VPN?

Yes. Without a VPN it shows what every website can already see: your real IP address, your provider and the DNS servers you use. Run it again with your VPN connected and compare: your IP addresses and DNS servers should all change to your VPN's.

Is this test private?

We don't store the results. Your browser contacts ipify to detect your IPv4 and IPv6 addresses and public STUN servers (Google and Cloudflare) for the WebRTC check. The DNS check makes a few one-off test lookups, answered by the free bash.ws leak-test service, to see which DNS servers carry them out. See our privacy policy for details.