Privacy Guide
What Is a DNS Leak?
A DNS leak generally means that DNS requests are being sent through a resolver or network path you did not expect. The term is most commonly used when someone is connected to a VPN but some DNS requests appear to bypass the DNS configuration they expected the VPN to use.
The short version
A VPN may change the public IP address websites see while also directing DNS requests through a particular resolver. If DNS requests instead use another resolver, that may be described as a DNS leak depending on the expected VPN configuration.
First, what does DNS do?
DNS stands for Domain Name System. One of its main jobs is translating human-readable domain names into information devices can use to locate internet services.
For example, when you enter a website address, your device may need to obtain DNS information before it can connect to the website's server.
If you want a deeper explanation, start with our What Is DNS and How Does It Work? guide.
What happens to DNS when you use a VPN?
A VPN creates an encrypted connection between your device and a VPN endpoint. Depending on the VPN service and configuration, internet traffic may then be routed through the VPN provider's network.
Many VPN configurations also specify which DNS resolver should handle DNS requests while the VPN is connected. This can help keep DNS activity within the expected VPN path.
The exact behavior depends on the VPN application, operating system, browser, network configuration, and DNS technologies in use.
So what is considered a DNS leak?
Suppose your VPN is intended to route DNS requests through a resolver associated with the VPN service. If a test instead shows requests reaching your internet provider's resolver, that can indicate that DNS traffic is not following the route you expected.
This situation is commonly called a DNS leak. However, an unfamiliar DNS resolver is not automatically proof of a leak. Networks, security software, browsers, and third-party DNS services can all affect which resolver appears.
Why can a DNS leak matter?
DNS requests can reveal the domain names a device is attempting to resolve. If those requests travel through an unexpected resolver, that resolver or network path may receive information you expected to travel elsewhere.
A DNS leak does not necessarily expose everything you do online. DNS requests and the actual content exchanged with a website are different things, and HTTPS protects the contents of normal HTTPS connections in transit.
It is still useful to understand where your DNS requests are going when you are relying on a VPN for a particular network or privacy configuration.
What does a DNS leak test actually test?
A DNS leak test generally causes your browser to request specially controlled domain names. The testing service then observes which DNS resolvers request information for those names.
From those requests, the service may display information about the resolver or network that handled the DNS queries.
The result should be interpreted as evidence about the DNS path observed during that test. It is not a complete audit of every connection made by your device.
Does seeing my ISP mean I have a DNS leak?
Not necessarily. If you are not using a VPN and your device uses DNS supplied by your internet provider, seeing the provider may be completely normal.
If you are using a VPN and expected the VPN to provide DNS resolution, seeing your normal internet provider may deserve investigation. The expected result depends on how your VPN is designed and configured.
Does an unfamiliar DNS provider mean something is wrong?
No. A DNS resolver may belong to a large third-party DNS provider, cloud network, security service, VPN provider, or another company whose name you do not immediately recognize.
Resolver ownership can also be presented differently by different lookup databases. The organization shown in a test therefore needs context before you decide whether the result is unexpected.
What can cause unexpected DNS results?
- The VPN is not configured to handle DNS requests.
- The VPN connection has dropped or is only routing selected traffic.
- The operating system has multiple network interfaces or DNS configurations.
- The browser is using its own secure DNS configuration.
- Security software is directing DNS through another resolver.
- IPv4 and IPv6 traffic are following different network paths.
- The resolver belongs to a provider whose name is different from the service you expected to see.
What is secure DNS?
Traditional DNS queries have often been sent without encryption. Technologies such as DNS over HTTPS (DoH) and DNS over TLS (DoT) can encrypt DNS communication between a client and a compatible resolver.
Secure DNS and a VPN solve different problems. Encrypting DNS traffic does not by itself hide your public IP address from the websites you visit.
Secure DNS can also affect leak-test results because a browser may use a resolver that differs from the DNS configuration supplied by the operating system or local network.
Is a DNS leak the same as a WebRTC leak?
No. They describe different mechanisms.
A DNS leak concerns where DNS requests are being resolved. A WebRTC leak test examines network-address information that may be exposed through browser WebRTC functionality.
You can learn more with our WebRTC Leaks Explained guide or run the WebRTC Leak Test.
How can I investigate a possible DNS leak?
If you are testing a VPN, begin by identifying what DNS behavior the VPN provider says you should expect. Then compare that with the results you observe while disconnected and connected.
- Check your public IP before connecting to the VPN.
- Connect to the VPN and confirm that your public IP changes as expected.
- Review the VPN's DNS settings or documentation.
- Check whether your browser has a separate secure DNS setting.
- Compare DNS test results with the resolver behavior your VPN says it uses.
- If results remain unexpected, contact the VPN provider for configuration-specific guidance.
Does a successful DNS leak test prove my VPN is secure?
No. A DNS test examines a specific part of your network behavior. It cannot prove that a VPN, device, browser, or entire connection is secure.
Likewise, IP, VPN/proxy, WebRTC, and browser-information tests each examine different signals. They are useful diagnostic tools, but none should be treated as a complete security audit.
Check Your Connection
Compare several network signals
When checking a VPN, it is useful to compare your public IP, VPN/proxy signals, WebRTC results, and the DNS behavior you expect from your VPN configuration.