DNS troubleshooting

DNS leak after VPN: how to check and reduce it

A DNS leak happens when your DNS queries still go to your normal resolver instead of the VPN path. Public OpenVPN profiles may not push reliable DNS settings, so always test DNS after connecting.

Use this guide after importing a public .ovpn profile and before relying on the connection for browsing tests.

Article snapshot

8 min readEstimated reading time
2026-07-07Last reviewed
10 minLive server refresh interval
Technical check, not a privacy guarantee. PublicVPNList checks reachability, speed, latency and config availability. It does not verify the VPN operator, logging policy, jurisdiction or long-term privacy guarantees.

Quick answer

1 Connect first

Run DNS checks only after the VPN client reports connected.

2 Use the DNS leak test

Compare resolver behavior with visible IP results.

3 Inspect OS resolver state

Windows, Android and Linux handle DNS differently.

4 Choose another profile if needed

Public profiles may not push usable DNS settings.

Advertisement

On this page

What a DNS leak is

A DNS leak means domain lookups are visible to a resolver outside the expected VPN path, even if some traffic uses the tunnel.

Why public profiles may leak DNS

Public .ovpn files vary widely. Some push DNS options, some leave DNS unchanged, and some use stale settings.

Windows checks

Check adapter DNS state after connecting and reconnect if Windows keeps the old resolver.

Android checks

Re-run the test after approving VPN permission and avoid stale imported profiles.

Advertisement

Linux checks

Use resolvectl status, NetworkManager details or distro network settings to compare resolver state.

Use PublicVPNList DNS leak test

The DNS leak test gives a practical browser-side check and links back to safer profile selection.

When to choose another profile

If DNS remains outside the VPN path after reconnecting and switching protocol, use another fresh checked profile.

Safety note

A clean DNS result still does not verify the VPN operator or logging policy.

More OpenVPN and VPN testing pages

Advertisement

Frequently asked questions

Does a changed IP prove DNS is safe?
No. IP routing and DNS resolver behavior must be checked separately.