FINDING · EVALUATION
VPNalyzer is the first study to measure DNS leaks during tunnel failure, discovering that 8 VPN providers — including TunnelBear and Private Internet Access — allow DNS queries to bypass their kill switch or firewall rules, exposing users' ISP IP addresses and queried domain names to their ISP and DNS resolvers outside the tunnel.
From 2022-ramesh-vpnalyzer — VPNalyzer: Systematic Investigation of the VPN Ecosystem · §VI-B · 2022 · Network and Distributed System Security Symposium
Implications
- Cache all VPN server hostnames to IP addresses at bootstrap time (as WireGuard does) so reconnection attempts never require live DNS queries that escape the tunnel during failure.
- Block all outbound DNS without exception during tunnel failure; implement reconnection using hardcoded IPs rather than allowing any DNS query to bypass firewall rules.
Tags
Extracted by claude-sonnet-4-6 — review before relying.