DNS SECURITY & LEAK TEST

DNS Leak Test: What It Is, How to Check It and How to Fix It

Run a free DNS leak test to see if your VPN is exposing the websites you visit. Learn what a DNS leak is, why it happens and how to fix it step by step.

A DNS leak happens when your device sends website lookups to your internet provider’s DNS server instead of your VPN’s, even though the VPN looks connected. Your IP address may change, but your provider can still see which websites you visit. A DNS leak test takes about 10 seconds and shows you whether this is happening. You can run one right now with the IPSpot IP checker by pressing Run Test in the DNS Leak Test card.

What Is DNS?

DNS stands for Domain Name System. Computers talk to each other using IP addresses, but people use names like example.com. DNS translates the name into an address. Every time you open a website, your device first asks a DNS server, “What is the IP address of this domain?” Only after it gets the answer does your browser connect.

By default, your router gives your device the DNS server of your internet service provider (ISP). That means your ISP sees a list of every domain you ask about, even when the websites themselves use HTTPS.

What Is a DNS Leak?

When you connect to a VPN, your internet traffic goes through an encrypted tunnel. Your DNS requests should go through the same tunnel and be answered by the VPN’s own DNS servers. A DNS leak is when those requests escape the tunnel and go to your normal ISP DNS server instead.

The result is a mixed picture. Websites see the VPN’s IP address, but your ISP can still build a list of the domains you look up. This defeats part of the reason many people use a VPN.

Why Do DNS Leaks Happen?

Several common causes exist:

  • The VPN does not set its own DNS: Some VPN apps, or manual VPN setups, forget to replace your DNS settings.
  • Operating system behavior: Some Windows setups send DNS requests to all network adapters at once and use the fastest answer, which can be your ISP’s.
  • Browser DNS settings: Some browsers can use their own encrypted DNS provider, which may differ from your VPN’s.
  • Split tunneling: If some apps or sites are allowed to bypass the VPN, their lookups can bypass it too.
  • IPv6: If the VPN protects only IPv4 traffic, IPv6 DNS requests may go out through your normal connection.
  • A dropped VPN connection: If the tunnel breaks briefly and there is no kill switch, traffic and DNS requests use your normal connection.

How to Run a DNS Leak Test

  1. Test without the VPN first: Open the IPSpot IP checker, press Run Test in the DNS Leak Test card, and note the detected DNS server. This is your normal ISP result.
  2. Connect to your VPN: Choose a server in any country.
  3. Re-check: Press Re-check My IP to confirm your IP, ISP and country now match the VPN server.
  4. Run the test: Press Run Test again in the DNS Leak Test card.
  5. Compare: Compare the two results.

How to Read the Results

What you see What it means
Detected DNS server belongs to the VPN, or to a public DNS provider chosen by the VPN No leak. Your lookups are going through the VPN.
Detected DNS server belongs to your real ISP while the VPN is on DNS leak. Your ISP can see the domains you look up.
Detected DNS server is a public provider you set yourself (e.g., in your browser or router) Not necessarily a leak, but it may not be your VPN’s DNS. Check your settings.

How to Fix a DNS Leak

Work through these steps in order and test after each one:

  1. Reconnect and try another server. A temporary glitch is the simplest cause.
  2. Turn on DNS leak protection in your VPN app, if it has the option.
  3. Turn on the kill switch to block traffic if the VPN drops.
  4. Update the VPN app to the latest version.
  5. Disable IPv6 on your device if your VPN does not support it.
  6. Check browser DNS settings (ensure Secure DNS uses a trusted provider).
  7. Review split tunneling and remove unnecessary bypasses.
  8. Set DNS manually in network adapter settings only if experienced.
  9. Contact your VPN provider if the leak persists.

Related Guides & Articles

Knowledge Base

Frequently Asked Questions

Click on any question below to expand the answer smoothly.

What is a DNS leak test?

A DNS leak test shows which DNS server answers your lookups. If it belongs to your real ISP while your VPN is on, your DNS is leaking.

How do I know if I have a DNS leak?

Connect your VPN, run the DNS Leak Test on IPSpot and check the detected DNS server. If it matches your normal ISP, you have a leak.

Can I have a DNS leak even if my IP address changed?

Yes. Your IP can show the VPN server while your DNS requests still go to your ISP. That is why you should test both.

Does a VPN always prevent DNS leaks?

No. Most good VPNs include DNS leak protection, but settings, operating systems, browsers and split tunneling can still cause leaks.

Is a DNS leak the same as a data leak?

No. A DNS leak exposes the domains you look up. It does not expose your passwords or the content of your traffic.

Ready to test your connection?

Run the DNS leak test right now on the homepage.

Run DNS Leak Test Now