How to Tell If Your VPN Is Leaking Your IP Address

Your VPN can say connected and still leak your real IP, DNS requests or browser data. Five tests take ten minutes and show where your traffic really goes.

By Galactic News Editorial · Published 2026-11-24T02:11:31+00:00 · Updated 2026-11-24T02:11:31+00:00

How to tell if your VPN is leaking your IP address - leak test checklist

How to Tell If Your VPN Is Leaking Your IP Address

Your VPN app can say connected and still leak. A leak means your real address, your DNS requests, or your browser data slip outside the encrypted tunnel. You will not notice it in normal use. The only way to know is to test. This guide walks through the checks in order, from a 30-second browser test to a kill-switch test. It takes about ten minutes. You need no special software beyond your browser and, for one step, a terminal.

Start With a Baseline

Every leak test compares two states: tunnel off and tunnel on. Without a record of the first, the second means nothing. Disconnect completely. Open an address-checking site such as WhatIsMyIP.com and write down three things: your public address, your internet provider's name, and the location shown. Then visit a DNS leak test site and note the DNS servers listed. These will usually belong to your internet provider. Keep that note open. It is your baseline. Use a clean browser profile for the tests when you can. Content blockers sometimes disable WebRTC, which can make a leaky setup look clean. Test with two different leak-test services rather than one, because each service only sees the traffic that reaches its own servers.

Test 1: Check Your Public IP Address

Connect to a server in another city or country. Pick somewhere far away so a stray result is easy to spot. Refresh the address-checking site. The address shown should now belong to the server, and the location should match the server you chose. When your baseline address is still showing, you have an address leak. Also check from the command line, not just the browser. Apps do not all share the browser's network settings, so a browser test can pass while another app leaks. On macOS or Linux, run curl -4 https://ifconfig.co. On Windows PowerShell, run curl.exe -4 https://ifconfig.co. Both should show the server's address. When the browser shows the server address but the terminal shows your real one, look for split-tunnelling rules or a proxy set only in the browser.

Test 2: Check for a DNS Leak

DNS is the lookup that turns a site name into an address. A DNS leak happens when those lookups go to your internet provider's servers instead of your provider's. Your provider can then see every site you visit, even though the traffic itself is encrypted. To test it, connect and refresh the DNS leak test site. The DNS servers listed should now belong to your provider, or to a resolver it routes through, such as Cloudflare or Google Public DNS. When your provider's servers from the baseline are still listed, you have a DNS leak. Good test sites include BrowserLeaks, IPLeak.net, and dnscheck.tools. IPLeak.net also adds a torrent address check. BrowserLeaks shows raw WebRTC data and runs a burst of DNS queries. Use at least two of them and compare the results.

Test 3: Check for a WebRTC Leak

WebRTC is a browser feature that powers video calls and real-time collaboration. It can discover your network addresses on its own, bypassing the tunnel. A WebRTC leak exposes your real address to websites even while the app looks connected. To test it, keep the tunnel on and visit a WebRTC leak test page, such as the BrowserLeaks WebRTC test. You should see only the server's address. No local network addresses, and definitely not your real public address. When your real public address appears, you have a WebRTC leak. The fix depends on your browser. In Firefox, you can disable WebRTC in the settings. In Chrome, an extension with WebRTC blocking can help. Many apps also include a WebRTC leak protection setting. Turn it on when yours offers one.

Test 4: Check for an IPv6 Leak

IPv6 is the newer internet address format. Many services tunnel IPv4 traffic but ignore IPv6. When your network has IPv6, your traffic can slip out through that gap. First, check whether your baseline had an IPv6 address. When it did not, this test cannot show a leak on your current network, so repeat it later on a network that has IPv6. When it did, connect and run curl -6 https://ifconfig.co from a terminal. The result should match the server location, not your home city. When it shows your real IPv6 address, you have an IPv6 leak. The simplest fix is to disable IPv6 on your device, or to switch to a service that tunnels or blocks IPv6 traffic. Check your provider's support pages for its IPv6 policy.

Test 5: Test the Kill Switch

A kill switch blocks all traffic when the connection drops. Without one, a brief dropout exposes your real address. This is the most important test of the five. Open a leak test page that auto-refreshes, or keep refreshing it by hand. While it loads, disconnect or toggle your Wi-Fi off and on. Watch what happens during the gap. A working kill switch blocks everything until the tunnel reconnects, so your baseline address should never appear. When your real address flashes up, even briefly, the kill switch is not working. Check that it is turned on in the app settings. Some providers split this into two settings: a kill switch and a system-level lock. Turn both on. Then repeat the test.

What to Do If You Find a Leak

Leak typeMost likely causeFirst fix to try
Address leakSplit tunnelling or a browser-only proxyCheck split-tunnel rules; test from the terminal
DNS leakSystem DNS still pointing at your providerEnable DNS leak protection; switch VPN servers
WebRTC leakBrowser exposing addresses directlyDisable WebRTC or enable the VPN's WebRTC block
IPv6 leakVPN tunnels IPv4 onlyDisable IPv6 or switch to a provider that handles it
Kill-switch failureKill switch off or app-level onlyTurn on the system-level kill switch

When a leak survives the basic fixes, try a different server, restart your device, and update the app. Outdated apps are a common cause of leaks. When the leak still appears on every server, contact the provider's support team with screenshots of the test results. When they cannot fix it, consider switching providers. A service that leaks is worse than no service at all, because it gives you confidence you have not earned.

Bottom Line

Testing takes ten minutes and five checks: address, DNS, WebRTC, IPv6, and the kill switch. Take a baseline first, test with the tunnel on, and use two different test sites. Repeat the checks monthly, and after every app update or server change. A service that passes all five is doing its job. One that fails any of them needs fixing before you trust it.