gotinfo.net by VARØ Industries

How to Test Your VPN for IP, IPv6, DNS and WebRTC Leaks

GotInfo guides  |  VARØ Industries

A VPN's app showing "Connected" tells you the tunnel is up. It does not tell you that all of your traffic is using it. A leak test takes five minutes, needs nothing but a browser, and is worth repeating whenever you change VPN provider, app version or network.

What a leak is

A VPN is supposed to send all of your traffic through an encrypted tunnel to the VPN's server, so websites see the server's address instead of yours, and your internet provider sees only encrypted traffic to the VPN. A leak is any traffic that bypasses the tunnel, or any way a site can still learn your real address. There are four common kinds.

LeakWhat escapesTypical cause
IPv4Your real public IPv4 addressThe tunnel dropped and the app has no kill switch, or split tunnelling excludes the browser
IPv6Your real IPv6 addressThe VPN only tunnels IPv4, and your device happily uses your provider's IPv6 for sites that support it
DNSThe names of the sites you visit, sent to your provider's resolverThe operating system keeps using the network's DNS servers instead of the VPN's
WebRTCAddresses your browser reveals to a page through its real-time communication featuresThe browser gathers network candidates from interfaces outside the tunnel

Step 1: record a baseline with the VPN off

Disconnect the VPN and open the GotInfo home page. Write down:

This is what the internet sees without protection. Every check below compares against it.

Step 2: connect and reload

Connect the VPN, wait until it reports connected, and reload the page in a fresh tab. Check each item against your baseline.

  1. IPv4 address. It should be different, and the ISP and ASN should now belong to the VPN provider or the hosting company it rents servers from. If you still see your home provider, traffic is not going through the tunnel. Check split tunnelling settings and whether the browser has its own proxy configured.
  2. IPv6 address. There are two good outcomes: an IPv6 address belonging to the VPN, or no IPv6 address at all (shown as unavailable). The bad outcome is your baseline IPv6 address, or any address with the same first four groups (the same /64 prefix from your provider). That is an IPv6 leak. The IPv4 vs IPv6 guide explains how to read the prefix.
  3. Location. It should match the VPN server's region, roughly. Geolocation databases lag behind, so a VPN server can appear in the wrong city or country. That is a database issue, not a leak, as long as the ASN is the VPN's.
  4. WebRTC addresses. If your real public IPv4 or IPv6 address from step 1 appears here while the VPN is connected, that is a WebRTC leak. Private addresses such as 192.168.x.x, or random names ending in .local, reveal far less: modern browsers hide local addresses behind such names by default.

Step 3: test DNS

GotInfo does not run a DNS leak test, because detecting your resolver requires a dedicated DNS server that sees the lookups. Dedicated DNS leak test sites work by making your browser look up random, unique names under a domain they control, then reporting which resolvers asked for them. Run one with the VPN connected:

Browsers that use encrypted DNS (DNS over HTTPS) send lookups to their configured provider regardless of the operating system's settings. That is not a leak to your ISP, but it does mean a third party sees your lookups, so check which provider is set.

Step 4: test failure

Leaks often happen not while the VPN is working, but in the seconds after it drops: when you switch Wi-Fi networks, when a laptop wakes from sleep, or when the server goes away. To test the kill switch:

  1. Enable the app's kill switch or "block connections without VPN" setting.
  2. Start a continuous ping in a terminal (ping -t 1.1.1.1 on Windows, ping 1.1.1.1 elsewhere) or keep reloading GotInfo.
  3. Force a disconnect: switch networks, toggle Wi-Fi off and on, or block the VPN server's address briefly in your firewall.
  4. With a working kill switch, traffic stops entirely until the tunnel is back. If pings continue or GotInfo shows your home address during the gap, the kill switch is not protecting you.

On Android, the system VPN settings include "Always-on VPN" and "Block connections without VPN" options, which are more reliable than an app's own switch. On other platforms, rely on the VPN app's kill switch and repeat this test after app updates.

Fixing what you find

What a VPN does not hide

A clean leak test shows that your network address is hidden. It says nothing about the other ways sites recognize returning visitors: logged-in accounts, cookies, and the browser itself. Your screen size, fonts, graphics hardware and settings are the same with or without a VPN, and together they can form a stable browser fingerprint. Run the fingerprint test with the VPN on and off: most of the signals stay exactly the same. Also remember that the VPN provider itself can see where your traffic comes from and where it goes, so you are moving trust from your ISP to the VPN company rather than removing it.

Run the IP, IPv6 and WebRTC checks now: open GotInfo with your VPN off, then on, and compare.

Related guides