DNS泄漏测试
检查您的DNS请求是否被发送到ISP而非VPN的DNS服务器。
正在测试DNS解析器...
How This Test Works
When you visit a website, your browser needs to convert the domain name (like "google.com") into an IP address. This is called a DNS query, and it's handled by a DNS resolver — usually your ISP's server.
If you're using a VPN, your DNS queries should go through the VPN's DNS servers, not your ISP's. A DNS leak happens when some or all DNS queries bypass the VPN tunnel and reach your ISP's DNS resolver instead.
This test works by making DNS requests and checking which resolvers process them. If the resolvers belong to your ISP rather than your VPN provider, you have a DNS leak.
Why DNS Leaks Matter
DNS leaks are one of the most common ways VPN users unknowingly expose their browsing activity. Even with an encrypted VPN tunnel, a DNS leak reveals:
- Every website you visit — your ISP can see the domain names in your DNS queries
- When you visit them — DNS queries include timestamps
- Your real location — your ISP's DNS server is usually in your region
In some countries, ISPs are legally required to log DNS queries and share them with authorities. In others, ISPs sell browsing data to advertisers. A DNS leak makes your VPN effectively useless for privacy.
How to Fix DNS Leaks
1. Use a VPN with built-in DNS leak protection. Most reputable VPNs (NordVPN, Surfshark, ProtonVPN) force all DNS queries through their own servers.
2. Manually set your DNS servers. Configure your OS to use privacy-focused DNS resolvers:
- Cloudflare: 1.1.1.1 / 1.0.0.1
- Google: 8.8.8.8 / 8.8.4.4
- Quad9: 9.9.9.9 / 149.112.112.112
3. Use DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT). These encrypt your DNS queries, preventing ISP interception even without a VPN.
4. Disable WebRTC. WebRTC can also leak your IP. Run our WebRTC Leak Test to check.
FAQ
什么是DNS泄漏?
DNS泄漏是指您的DNS查询被发送到ISP的DNS服务器而非VPN提供商的DNS服务器。这意味着即使使用了VPN,ISP仍然可以看到您访问的网站。
如何修复DNS泄漏?
使用包含DNS泄漏保护的VPN,或手动配置系统使用安全的DNS服务器,如Cloudflare (1.1.1.1)、Google (8.8.8.8)或您的VPN提供商的DNS服务器。
为什么要关注DNS泄漏?
DNS泄漏会将您的浏览活动暴露给ISP,ISP可能会记录、出售或被迫交出这些数据。如果您使用VPN保护隐私,DNS泄漏会削弱这种保护。