Verify evidence Search

Leaks

DNS leak

Also known as
  • DNS request leak
  • VPNL-G-002
  • Leaks
  • Version 1.1
  • Updated

Definition

A DNS leak is a failure in which a device sends Domain Name System (DNS) queries outside the VPN tunnel — usually to the resolver of the local network or internet provider — revealing which domains the user visits although other traffic is encrypted.

DNS leak explained

Before a browser or app can connect to a host name, it asks a DNS resolver for the matching IP address. Classic DNS, specified in RFC 1035, is unencrypted and normally travels over UDP port 53, so anyone on the network path can read the names being looked up. While a VPN is active, these queries should pass through the tunnel to a resolver operated or chosen by the VPN provider.

Leaks have several causes. The operating system may keep using the resolver configured on the physical interface; a race during connection, reconnection or a network change may let queries escape before the tunnel’s routes and firewall rules are in place; the client may protect IPv4 while queries go out over IPv6 (see IPv6 leak); or an application may use its own resolver, for example DNS over HTTPS configured in a browser. On Windows, the operating system’s habit of sending queries to resolvers on several interfaces in parallel has historically been a frequent cause.

A DNS leak does not expose the content of the pages visited, but it reveals browsing destinations and identifies the user’s real network to the resolver operator. An encrypted query sent to a third-party resolver outside the tunnel is still a leak in VPN Labs’ classification, because it bypasses the path the user chose; it is reported separately from cleartext leaks because the exposure differs.

How VPN Labs tests it

VPN Labs captures traffic on the test device’s physical interface and on an upstream mirror port while the client is connected, then filters the capture for any DNS traffic — UDP and TCP port 53, DNS over TLS on port 853 and connections to known DNS-over-HTTPS endpoints — that is not encapsulated in the tunnel.

Scenarios include steady state, connection start, server switch, network change and sleep/resume, each repeated several times. The number of runs, tool versions and client versions are stated in the environment section of every record.

The methodology pages are the authoritative description of each procedure; this summary is for orientation.

Research on this topic

VPN Labs publications that discuss DNS leak in depth.

Standards and references

  1. RFC 1035 — Domain Names: Implementation and Specification (external link)rfc-editor.org
  2. RFC 9076 — DNS Privacy Considerations (external link)rfc-editor.org

Cite this definition

VPN Network Research Labs. (2026). DNS leak. VPN Labs Glossary. https://vpn.com.de/glossary/dns-leak

Glossary v1.1 · term ID VPNL-G-002 · last updated . The definition may be quoted with attribution; report errors under the corrections policy.