VPN Leak Tests Explained: IP, DNS and WebRTC Checks You Can Run in Minutes
A VPN can show a green connected badge and still leak your real IP address or DNS requests. These free IP, DNS, WebRTC and IPv6 checks take minutes to run.
By Galactic News Editorial · Published 2026-11-20T10:26:05+00:00 · Updated 2026-11-20T10:26:05+00:00
VPN Leak Tests Explained: IP, DNS and WebRTC Checks You Can Run in Minutes
A VPN can show a green "connected" badge and still leak. A leak means some traffic escapes the encrypted tunnel. It can reveal a real IP address, a home internet provider, or the sites visited. The good news is that anyone can test for leaks. Free tools check IP, DNS and WebRTC leaks in minutes. This guide explains what each test does, how to run it, and what a pass looks like.
What a VPN Leak Is
A VPN leak is any traffic or identifier that reaches the network outside the encrypted tunnel. The VPN is supposed to carry all of it. Four paths cause nearly all leaks users can spot. The public IPv4 address may stay visible. DNS requests may go to the home internet provider. IPv6 traffic may bypass the tunnel. Browser features such as WebRTC may expose a real address on their own.
Leaks happen for simple reasons. A VPN app may fail to route IPv6 traffic. A browser may use its own DNS settings. A dropped connection may expose traffic before the kill switch acts. A leak test compares two states: before the VPN and after it. Without a baseline, there is nothing to compare.
VPN Leak Tests Explained: The Baseline First
Start with the VPN disconnected. Visit an IP checker and a DNS leak test page. Write down the public IPv4 address. Note the public IPv6 address if one appears. Record the DNS resolvers shown. Note the internet provider name. These are the baseline values. Any of them reappearing after connecting means a leak.
Use a clean browser profile for the tests. Extensions and content blockers can change results. Some blockers disable WebRTC. That can make a leaky setup look clean. Run each test twice, on two different test sites, when possible. Each site only sees the traffic that reaches its own servers.
Test 1: The IP Address Check
The IP check is the fastest test. Connect to a VPN server in a distant location. Pick a city at least two time zones away. That makes stray traffic easy to spot. Then check the public IP address again. The address and location should match the VPN server. They should not match the baseline.
Check from the browser and the command line. Apps do not all share the browser's network settings. On macOS or Linux, run curl -4 https://ifconfig.co. On Windows, use PowerShell with curl.exe. Both results should show the VPN location. If the original IP appears anywhere, there is an IP leak.
Test 2: The DNS Leak Check
DNS turns domain names into IP addresses. A DNS leak sends those requests to the home provider instead of through the tunnel. That can reveal which sites are visited. A DNS leak test page works by asking the device to look up random names. The page then reports which resolver answered. The resolver should belong to the VPN provider. It may also be a public resolver the VPN routes through, such as Cloudflare.
To run the test, connect the VPN and open a DNS leak test site. BrowserLeaks and dnscheck.tools are widely used options. Look at the resolver list. A pass means no baseline resolver appears. A leak means the home provider's resolver shows up. Some VPNs leak DNS only on certain networks. Repeat the test on home Wi-Fi and on public Wi-Fi.
Test 3: The WebRTC Leak Check
WebRTC is a browser feature for video calls and real-time apps. It can discover network addresses on its own. That can bypass the VPN and expose a real IP address. A WebRTC leak test shows which addresses the browser reveals. The result should show only the VPN server's IP address. It should not show the real public IP. Local network addresses may also appear. Those are less serious, but a public IP in the results is a fail.
To run the test, connect the VPN and open a WebRTC leak test page. BrowserLeaks offers a dedicated WebRTC test. Check the results for the baseline IP. If it appears, try a fix. Many VPNs offer WebRTC leak protection in their settings. Browser extensions can also block WebRTC. Some browsers let users disable WebRTC in settings. Note that disabling it may break video calls.
Test 4: The IPv6 Leak Check
IPv6 is the newer internet address format. Many VPNs only tunnel IPv4 traffic. IPv6 traffic can then travel outside the tunnel. That exposes the real IPv6 address and location. Check the baseline first. If the network has no IPv6 address, this test cannot show a leak there. Repeat it later on a network with IPv6.
To test, connect the VPN and check the IPv6 address. Run curl -6 https://ifconfig.co from the command line. The result should match the VPN location. If it shows the home IPv6 address, there is a leak. The simplest fix is a VPN that blocks or tunnels IPv6. Some VPN apps have an IPv6 leak protection toggle. Turning off IPv6 on the device also works, though it is a blunt fix.
Test 5: The Kill Switch Check
A kill switch blocks all traffic if the VPN drops. Test it on purpose. Start a page that refreshes itself, such as a leak test page. Then disconnect the VPN or switch Wi-Fi off and on. Watch the page during the gap. A working kill switch blocks everything until the tunnel returns. The baseline IP should never appear. If traffic flows during the gap, the kill switch is not working. Check the VPN settings and confirm the kill switch is on. Some apps offer it only on certain platforms.
What to Do When a Test Fails
A failed test is a fixable problem in most cases. First, update the VPN app. Leaks are often fixed in newer versions. Next, enable leak protection in the app settings. Switch to a different server. Restart the device. If the leak stays, try another protocol, such as WireGuard or OpenVPN. If nothing works, contact the VPN provider's support team. A provider that cannot fix a leak is worth replacing.
Test on a regular schedule. Run the checks after each app update. Run them again when joining a new network. A monthly check takes five minutes. It is the simplest way to know the VPN is doing its job.
Bottom line
IP, DNS, WebRTC and IPv6 checks cover nearly every leak a user can spot. Take a baseline first. Then test each path with the VPN on. A pass means only the VPN server's details appear. A fail means the real address or provider shows up. Most leaks have a simple fix in settings. Regular testing turns trust into evidence.