立即下载解锁主VPN ,开始您的7天免费试用!   从 App Store 下载   Download on Google Play

DNS Leak Test

Check if your DNS requests are leaking outside your VPN tunnel

Testing your DNS servers...

Resolving random hostnames to detect which DNS servers respond

What is a DNS Leak?

When you type a website address like 'google.com' into your browser, your device sends a DNS (Domain Name System) request to convert that human-readable name into an IP address. Normally, a VPN routes these DNS requests through its own encrypted tunnel to private DNS servers. However, a DNS leak occurs when some or all of your DNS requests bypass the VPN tunnel and go directly to your Internet Service Provider's DNS servers instead.

This means that even though your web traffic is encrypted through the VPN, your ISP can still see a complete list of every website you visit. DNS leaks effectively undermine one of the primary purposes of using a VPN — your browsing history is exposed to your ISP, and potentially to government agencies or anyone monitoring DNS traffic on your network.

How This Test Works

Our DNS leak test works by having your browser resolve a series of unique, randomly generated hostnames. Each hostname is unique to your test session, which means the DNS response cannot come from cache — your device must perform a fresh DNS lookup for each one. We then check which DNS servers handled those requests.

If the detected DNS servers belong to your ISP rather than your VPN provider, you have a DNS leak. If all DNS requests are resolved by your VPN provider's DNS servers or a trusted third-party DNS service (like Cloudflare 1.1.1.1 or Google 8.8.8.8), your DNS traffic is properly secured.

How to Fix DNS Leaks

Use a VPN with DNS Protection

A good VPN like Unblock Master routes all DNS requests through its own servers, preventing any DNS queries from reaching your ISP. This is the simplest and most effective solution.

Disable IPv6

Some VPNs only tunnel IPv4 traffic, allowing IPv6 DNS requests to leak. If your VPN doesn't support IPv6, disable IPv6 on your device to prevent leaks through this secondary protocol.

Set Custom DNS Servers

Manually configure your device to use trusted public DNS servers like Cloudflare (1.1.1.1) or Google (8.8.8.8) instead of your ISP's default DNS servers.

Enable Kill Switch

A VPN kill switch blocks all internet traffic if the VPN connection drops unexpectedly, preventing DNS requests from being sent through your regular ISP connection.

立即下载Unblock Master VPN

7天免费试用,无需承诺,可随时取消!