Compare the response times of popular DNS resolvers from your current location. This tool sends DNS-over-HTTPS queries to each provider and measures the latency, helping you choose the fastest DNS server for your network.

Every website visit begins with a DNS lookup. Your browser queries a DNS resolver to translate domain names like google.com into IP addresses. A slow DNS resolver adds latency to every single web request — sometimes 50-200 ms per lookup. Over dozens of requests per page load, this adds up significantly.
Choosing a fast DNS resolver is one of the simplest ways to improve your browsing speed. If you've already optimized your router settings and DHCP configuration, switching DNS servers may provide the next noticeable improvement. Use our DNS Lookup tool to test individual queries, or run this benchmark to compare all major providers at once.
Each DNS provider offers different features beyond raw speed. Consider privacy policies, filtering capabilities, and reliability when choosing:
| Provider | Primary | Secondary | Features |
|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Privacy-focused, WARP VPN, fastest globally |
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | Highly reliable, DNSSEC validation, global anycast |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Malware blocking, threat intelligence, non-profit |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | Content filtering, phishing protection (Cisco) |
| AdGuard DNS | 94.140.14.14 | 94.140.15.15 | Ad and tracker blocking at DNS level |
| Cloudflare (Malware) | 1.1.1.2 | 1.0.0.2 | Cloudflare + malware blocking |
| Cloudflare (Family) | 1.1.1.3 | 1.0.0.3 | Cloudflare + malware + adult content filtering |
Pro Tip: DNS speed varies by your geographic location and ISP peering arrangements. A resolver that's fastest in the US may not be fastest in Europe or Asia. Always run the benchmark from your actual location before changing DNS settings on your router. You can also test DNS over encrypted channels using our DNS over HTTPS Tester.
Once you've identified the fastest resolver, here's how to configure it:
Changing DNS on your router applies the setting to all devices on your network. Log in to your router at 192.168.1.1 or your router's IP, navigate to WAN/Internet settings, and enter the DNS server addresses. See our full guide on how to change DNS on your router.
netsh interface ip set dns "Wi-Fi" static 1.1.1.1
netsh interface ip add dns "Wi-Fi" 1.0.0.1 index=2
networksetup -setdnsservers Wi-Fi 1.1.1.1 1.0.0.1
# Edit /etc/resolv.conf or use systemd-resolved
sudo systemctl restart systemd-resolved
resolvectl dns eth0 1.1.1.1 1.0.0.1
Modern DNS resolvers support encrypted protocols that prevent eavesdropping and manipulation of DNS queries:
| Protocol | Port | Encryption | Privacy |
|---|---|---|---|
| Traditional DNS | 53 (UDP/TCP) | None | ISP can see all queries |
| DNS over HTTPS (DoH) | 443 (HTTPS) | TLS 1.3 | Encrypted, looks like HTTPS traffic |
| DNS over TLS (DoT) | 853 (TLS) | TLS 1.3 | Encrypted but identifiable by port |
| DNS over QUIC (DoQ) | 853 (QUIC) | QUIC/TLS 1.3 | Encrypted with lower latency |
If privacy is important to you, enable DoH or DoT on your router or device. See our guides on DNS over HTTPS on routers and DNS over TLS on routers for configuration instructions. You can also set up Private DNS on Android for mobile devices.
Several factors influence DNS resolution speed beyond just the resolver choice:
For comprehensive network performance testing, try our Port Checker and check your overall connection with the What Is My IP tool.
Beyond choosing a fast resolver, these techniques further improve DNS performance:
ipconfig /displaydns.# Flush DNS cache
# Windows:
ipconfig /flushdns
# macOS:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
# Linux:
sudo systemd-resolve --flush-caches
DNS speed depends on your location and ISP. Globally, Cloudflare (1.1.1.1) and Google (8.8.8.8) consistently rank among the fastest. Run this benchmark from your location to find the best option for your specific network configuration.
Changing DNS can make website loading faster by reducing the initial lookup time. However, it doesn't increase your actual download speed. If your current DNS is slow, switching to a faster resolver can reduce page load times by 50-200 ms per request.
Both are excellent choices. Cloudflare (1.1.1.1) typically has lower latency and a stronger privacy policy (purges logs within 24 hours). Google (8.8.8.8) has a more extensive global infrastructure and excellent reliability. The best choice depends on your priorities and location.
Changing DNS on your router is recommended because it applies to all connected devices automatically. Changing on individual devices only affects that device. Router-level configuration is simpler to maintain and ensures consistent performance across your network.
Not always. ISP DNS servers are physically close to you and may resolve local domains faster. However, they often lack features like DNSSEC validation, DoH support, and malware filtering. Public resolvers also tend to have larger caches, making them faster for popular domains.
The initial DoH connection requires a TLS handshake, which adds a small amount of latency. However, HTTP/2 connection reuse means subsequent queries are fast. The privacy benefits generally outweigh the minimal latency increase, and modern DoH implementations are highly optimized.
With traditional DNS (port 53), yes — your ISP can see the queries even when using a third-party resolver. With DNS over HTTPS or DNS over TLS, your queries are encrypted and your ISP cannot read them. Learn how to hide browsing from your ISP.
About Tommy N.
Tommy is the founder of RouterHax and a network engineer with 10+ years of experience in home and enterprise networking. He specializes in router configuration, WiFi optimization, and network security. When not writing guides, he's testing the latest mesh WiFi systems and helping readers troubleshoot their home networks.
![]() |
![]() |
![]() |
![]() |
Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.
Once done, hit any button as below
![]() |
![]() |
![]() |
![]() |