← BACK TO LEARN / PRIVACY

How to Test for VPN Leaks: IP, WebRTC, IPv6 & DNS

Follow a VPN leak-testing checklist for your public IP, WebRTC and IPv6. Learn what results mean and when a separate DNS leak test is needed.

By IPNixaPublished Updated

Run the VPN check

What “working” means for a VPN

A leak is traffic escaping the routing or privacy policy you intended the VPN to enforce. Intent matters: a deliberately excluded app or split-tunnel destination is not automatically a malfunction. Define which browser, apps, address families and DNS resolver should use the tunnel before judging observations. This check cannot inspect the whole device or certify the kill switch.

Most leaks are not dramatic failures. They usually come from traffic the VPN app was never set up to carry, such as IPv6, or from browser features that open their own connections. A complete check looks at four separate paths:

Run the test in under two minutes

You only need IPNixa in your browser and your VPN app. Do the checks in this order so the before-and-after comparison is meaningful.

  1. With the VPN off, open the IPNixa VPN check and select Save current connection. Record the confirmed IPv4 and IPv6 addresses and network. The saved comparison stays in this tab for up to 30 minutes.
  2. Connect your VPN and wait until the app says it is connected.
  3. Select Check again & compare. Compare each confirmed address family, country and network with the saved connection.
  4. Read the WebRTC and IPv6 observations. An additional public address or a country mismatch needs review; matching countries alone do not rule out leaks.
  5. Use the separate VPN detection page to inspect VPN, proxy, Tor and hosting signals. A classification describes an observed address, not the security of your tunnel.
  6. Finish with a DNS leak test from your VPN provider or a dedicated DNS test service.
How traffic can leak around a VPN tunnelYour deviceVPN tunnelVPN serverexit 198.51.100.24Websitesees the VPN addressIPv6 leakWebRTC leakDNS leakYour ISPsees your real IP
Traffic routed through a VPN uses the VPN server’s exit address. Traffic excluded by split tunneling, IPv6 routing or DNS settings may take another path. Compare the results with your intended VPN configuration.

How to read each result

Use this table to decide whether a line is fine, needs a second look, or needs a fix.

VPN leak test results and what to do
CheckExpected observationNeeds reviewWhat to do
Public IPChanged to an address from the VPN networkSame address as without the VPNReconnect, and make sure split tunneling does not exclude your browser
Network / ASNConsistent with the selected exit networkUnexpected provider or unchanged baselineReview routing; a hosting or ISP name alone is inconclusive
LocationAn estimate consistent with the selected serverUnexpected city or countryCheck the server selection; location databases can lag
WebRTCCompleted gathering exposes only expected addressesAn additional public address, or gathering could not completeReview the observed addresses; empty, timed-out and unsupported results do not establish protection
IPv6Confirmed address follows the intended routeIPv4 changed but IPv6 kept the saved address, or an unexpected exit countrySave before connecting the VPN, then compare both families; matching countries alone are inconclusive
DNS (separate service)Resolvers match the intended DNS configurationUnexpected resolver outside that configurationUse a dedicated DNS test and review the VPN’s DNS settings

Why IPv6 needs a separate check

Many home and mobile connections are dual-stack: they have both an IPv4 and an IPv6 address. Some VPN apps only route IPv4 through the tunnel. Your browser still reaches dual-stack websites over IPv6, often first, and those websites see your provider’s IPv6 address — which reveals your provider and an approximate location.

IPNixa checks IPv4 and IPv6 separately. A different exit country is a signal to review routing or geolocation; a same-country VPN still requires address comparison. A failed probe cannot prove that IPv6 is blocked safely. Review your VPN app’s IPv6 routing or leak-protection settings.

WebRTC leaks in your browser

WebRTC lets browsers make calls and share video directly between people. To find a direct path, the browser asks a STUN server which public address it appears to have. If that request travels outside the VPN, it can reveal an address the website never saw over normal web traffic.

Modern browsers hide local network addresses by default, so the real question is whether a public address other than the VPN’s appears. The IPNixa check gathers WebRTC candidates through Cloudflare’s public STUN server and compares them with the addresses confirmed over the web. If another public address shows up, enable your VPN’s WebRTC protection or use a browser setting or extension that limits WebRTC to the VPN.

Observed means that an address or other signal was seen. Compared means that values were checked against each other, not that VPN protection was certified. Unconfirmed covers empty public-address results, timeouts or execution failures; Unsupported means the browser exposes no WebRTC API. A completed test with no public address can reflect browser privacy controls or a blocked STUN endpoint.

Why DNS leak tests need a separate service

Before your browser can load a site, a DNS resolver translates its name into an address. If those lookups go to your internet provider’s resolver instead of the VPN’s, your provider can still see which sites you visit, even though the pages themselves travel through the tunnel.

A web page cannot see which resolver answered your lookups. A real DNS leak test works by making your device look up unique, random names and watching which resolvers ask for them at an authoritative DNS server. That needs dedicated DNS infrastructure, so this check marks DNS as not tested instead of guessing. Use your VPN provider’s leak test page or a dedicated DNS leak service, and turn on the app’s DNS leak protection.

When “VPN detected” is wrong

IPNixa labels network-name, ASN and WARP clues separately from optional provider classifications on its VPN detection page. VPN, proxy, Tor and hosting are distinct signals. A hosting address alone does not prove a VPN is in use, and an unlisted VPN may receive a negative or unknown classification. Read the source and the exact request IP shown with the result.

iCloud Private Relay primarily protects Safari browsing; Cloudflare WARP coverage depends on its mode. WARP’s DNS-only mode encrypts DNS without tunneling other device traffic. Do not infer identical coverage from a relay or WARP label: check the product mode and the browser or application actually tested.

Frequently asked questions

How do I know if my VPN is working?

Save a direct baseline when appropriate, connect the VPN and compare each confirmed family. Review additional WebRTC addresses and test DNS separately against your intended resolver policy, including any encrypted DNS you configured. Matching results support that comparison; they do not certify every app or future connection.

What is a VPN leak?

Traffic that bypasses the routing or privacy policy you intended the VPN to enforce. Intentional exclusions are different from unexpected bypasses. Address, WebRTC and DNS tests each provide partial evidence about different paths.

Can IPNixa test DNS leaks?

No. A web page cannot see which DNS resolver your device uses; that requires a dedicated DNS test service. The check marks DNS as not tested rather than showing a result it cannot measure.

Why does IPNixa say a VPN is detected when I am not using one?

A detection provider can have outdated data or a false positive. Network-name and ASN clues are labeled as hints; hosting is separate from VPN detection. Check the source, request IP and timestamp before drawing a conclusion.

Does a VPN leak test work on my phone?

Yes, in your phone’s browser. It checks the browser’s traffic only; other apps may follow different routing rules, especially with split tunneling.

Sources and further reading