How to test a VPN or proxy for DNS, WebRTC and IPv6 leaks
Test the exact browser profile or app each account uses for leaks, first with its proxy or VPN on, then with the proxy broken on purpose. The second test matters more. In 26 threads on Privacy Guides and the Qubes forum where people saw their own setup leak, 9 leaks happened while the VPN or proxy was down, restarting or switched off, and 5 came from an app or virtual machine that had never been sent through it. WebRTC and IPv6 came up once between them, as a line in a VPN company's own checker.
Updated 21 November 2026 · 8 min read
Contents
Why each account needs its own address in the first place is in one IP per account.
What leaked in 26 cases
We took every thread on the two forums from January 2024 to November 2026 with leak, WebRTC, real IP, kill switch or IPv6 in the title, 151 threads, and 78 more whose opening post spoke of a real IP, an IP leak, a DNS leak or a home IP. Most were news about data breaches, vendor announcements or setup questions. In 26 the poster described their own setup showing traffic or their address outside the tunnel:
| What the poster saw | Threads |
|---|---|
| A DNS test showed a resolver that was not the VPN's | 9 |
| Traffic went out directly while the VPN or proxy was down, restarting, switching or turned off | 9 |
| An app or virtual machine had never been set to use the VPN or proxy | 5 |
| System or router services went around the tunnel | 2 |
| Their IP sat in the headers of an email they sent | 1 |
These are privacy users, not account managers, and each row is what they saw, not what any site recorded.
The DNS row is the least alarming. In 7 of the 9 the lookups went to a public resolver (Cloudflare, Google, NextDNS, Control D) or to the browser's secure DNS, and in 4 of those 7 the poster had set it up themselves. In the other 2 the poster only said a VPN company's own checker had failed them. None of the 9 named their internet provider's resolver.
The drops are the ones to fear. The VPN let the home address out when the laptop changed networks, during the seconds after boot, when Windows was locked, when another user logged into the same PC, after updates, and when the VPN kept stalling and the poster switched it off to keep working. In one case the poster had simply forgotten to turn the VPN on before opening a site on the phone. In one Qubes case the Mullvad browser extension's proxy was off after the user logged back in, and the real IP showed until a restart.
When the proxy or VPN drops: test the kill switch
A drop looks like nothing. The page loads as before, from your home connection, while the account is still logged in. You only see it on an IP page opened at that moment.
So break the connection yourself before an account depends on it. With the test page open, turn the VPN off, stop the proxy, change Wi-Fi, put the laptop to sleep and wake it, then reload each time. The page should fail to load. If it loads, read the address: that is what the account's site would get on the day it happens for real.
How each browser behaves when its own proxy dies, and which setups fall back to a direct connection without a word, is in a proxy per browser profile. For a VPN, the kill switch is the setting that should stop traffic, and the drop cases above show it does not always hold through boots, network changes, screen locks and app updates. Test it after every VPN update.
On a Mac, BrowserPilot, which we build, gives each profile its own proxy and stops the profile when that proxy drops instead of loading the page from home; DNS and WebRTC stay on the profile's proxy too. It only covers that browser. Your mail app, phone apps and macOS's own services still go out on whatever connection the Mac has.
Traffic that never went through the proxy
In the five unrouted cases the test ran somewhere the VPN or proxy had never been set up for: a virtual machine on the default network, an app that ignored the SOCKS setting while a command-line test used it, a qube connected to the plain firewall instead of the VPN qube.
The same happens with accounts. A proxy set in one browser profile does nothing for another profile, for the platform's desktop app or for a phone. Split tunnelling, which sends chosen apps around the VPN, does the same on purpose; on Android it often means switching the kill switch off. Open the IP page in the exact profile or app the account uses, not in the one you set up first.
DNS leak test: how to read the resolvers
Before a page loads, the browser asks a DNS resolver for the site's address. A DNS test page lists the resolvers that answered for you and the network each belongs to.
Read the list this way:
- Your internet provider's resolver is a leak. Lookups are leaving from your home connection while the pages load through the proxy.
- A public resolver (Cloudflare, Google, NextDNS, Quad9) is not your home address. It usually comes from the browser's secure DNS or DNS over HTTPS option, which sends lookups past the VPN's own DNS. Turn it off in that profile if you want the lookups to follow the VPN.
- The VPN provider's resolver, or with a SOCKS5 proxy a resolver on the proxy's side, is what you want.
A VPN company's checker can fail you for using any other company's DNS, or a competing VPN, so use a neutral test page as well. With a SOCKS5 proxy, set the browser to resolve names through the proxy, so the lookups leave from the proxy's side.
WebRTC leak: what the test shows and how to close it
WebRTC is the browser feature behind video calls. The WebRTC section of a test page shows the addresses a page can collect through it. A public address that is not your proxy's or VPN's is a leak. A local address shown as a random name ending in .local is normal.
With a VPN on the whole device, WebRTC goes through the tunnel and the test shows the VPN's address. With a proxy only in the browser it depends on the proxy: WebRTC mostly uses UDP, which a SOCKS5 proxy can carry and most HTTP proxies cannot. In Firefox, media.peerconnection.ice.proxy_only set to true keeps WebRTC on the proxy, and media.peerconnection.enabled set to false turns it off (Mozilla wiki). On an iPhone, Lockdown Mode turns WebRTC off in Safari. With WebRTC off, calls in that profile stop working.
IPv6 leak
Many home connections have an IPv6 address next to the IPv4 one. A VPN or proxy that only carries IPv4 leaves IPv6 on your normal line. On a test page this shows as a second address, from your provider, under IPv6. Close it with a VPN app that carries IPv6, or by turning IPv6 off in the system or the router for that machine. Support changes between app versions, so look again after updates.
Phones
On a phone the system itself goes around the VPN, and no test page in the browser shows it.
- Android sends its connectivity checks outside the VPN when it joins a Wi-Fi network, even with "Block connections without VPN" on, as Mullvad reported in 2022.
- In May 2026 Mullvad reported that on Android 16 any app can send traffic outside the tunnel, even with Always-on VPN and "Block connections without VPN" on. Google closed the report as infeasible to fix, GrapheneOS patched it, and Mullvad gives an adb command that turns the feature off until a system update undoes it (Mullvad).
- On iOS, Mullvad added a "Force all apps" setting in April 2026 against traffic leaking around its app, and warns that traffic still leaks while the app updates (Mullvad).
- A VPN in Android's main profile does not cover a work profile or Private Space. Each needs its own VPN app switched on.
If two accounts must stay apart, a VPN setting alone will not keep a phone from showing your home address now and then; give them separate profiles with their own VPN, or separate phones. The setup is in several accounts on one phone.
Each mail server that takes a message adds a Received line, and the SMTP standard says it should include the address of the machine that connected (RFC 5321, section 4.4). When you send from a desktop mail app, that machine is yours, so your home IP can reach the recipient. Whether it stays depends on the provider. Proton says mail sent from its web and mobile apps carries no user IP, while desktop apps sending over SMTP may. In the one email case we counted, a poster who sent Gmail through a desktop mail app found their own address in a Received line; the same test through Outlook and iCloud Mail showed only their servers.
The mail server also sees your IP every time a mail app checks the inbox, so one mail app holding two accounts' mailboxes shows both providers the same address. Send from the webmail of each account in its own profile, and keep each inbox in one place; more in a phone number and an inbox for every account.
Check each account before it logs in
A browser test sees only what a page can see; the phone and email checks below cover the rest. Note what each page shows with the proxy off first, so you know your home address when it appears.
- Open browserleaks.com/ip in the profile or app the account uses. The IPv4 address and any IPv6 address must both be the proxy's or VPN's.
- Open browserleaks.com/webrtc in the same profile. The public address must be the proxy's or empty.
- Run the extended test on dnsleaktest.com. Your internet provider must not appear; a public resolver means a DNS setting in that profile to check.
- Break the connection with the page open: stop the proxy, turn the VPN off, change Wi-Fi, sleep and wake the machine. Reload after each. The page must fail to load.
- On a phone, repeat steps 1 and 4 in the browser of every profile, and check that each profile has its own VPN switched on.
- Send a message from each account's mail setup to an address you control, open the original message and read every
Receivedline for your home address. - Run the whole list again after a VPN app update, a system update or a new proxy provider.
Sources. This page draws on 229 threads on Privacy Guides and the Qubes OS forum from January 2024 to November 2026, Mullvad's and Mozilla's documentation, and the SMTP standard.
See how your connection looks to a site. Check your connection