DNS Speed Benchmark

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.

DNS Speed Benchmark
Figure 1 — DNS Speed Benchmark

Why DNS Speed Matters

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.

Popular DNS Resolvers Compared

Each DNS provider offers different features beyond raw speed. Consider privacy policies, filtering capabilities, and reliability when choosing:

ProviderPrimarySecondaryFeatures
Cloudflare1.1.1.11.0.0.1Privacy-focused, WARP VPN, fastest globally
Google Public DNS8.8.8.88.8.4.4Highly reliable, DNSSEC validation, global anycast
Quad99.9.9.9149.112.112.112Malware blocking, threat intelligence, non-profit
OpenDNS208.67.222.222208.67.220.220Content filtering, phishing protection (Cisco)
AdGuard DNS94.140.14.1494.140.15.15Ad and tracker blocking at DNS level
Cloudflare (Malware)1.1.1.21.0.0.2Cloudflare + malware blocking
Cloudflare (Family)1.1.1.31.0.0.3Cloudflare + 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.

How to Change Your DNS Server

Once you've identified the fastest resolver, here's how to configure it:

On Your Router (Recommended)

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.

Windows

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

macOS

networksetup -setdnsservers Wi-Fi 1.1.1.1 1.0.0.1

Linux

# Edit /etc/resolv.conf or use systemd-resolved
sudo systemctl restart systemd-resolved
resolvectl dns eth0 1.1.1.1 1.0.0.1
Note: This benchmark measures DNS-over-HTTPS (DoH) latency from your browser. Traditional DNS (UDP port 53) may have slightly different latency characteristics since it avoids the TLS handshake overhead. However, DoH performance is a good proxy for overall resolver quality. Learn about the differences between ISP DNS vs custom DNS to understand the tradeoffs.

DNS Over HTTPS vs Traditional DNS

Modern DNS resolvers support encrypted protocols that prevent eavesdropping and manipulation of DNS queries:

ProtocolPortEncryptionPrivacy
Traditional DNS53 (UDP/TCP)NoneISP can see all queries
DNS over HTTPS (DoH)443 (HTTPS)TLS 1.3Encrypted, looks like HTTPS traffic
DNS over TLS (DoT)853 (TLS)TLS 1.3Encrypted but identifiable by port
DNS over QUIC (DoQ)853 (QUIC)QUIC/TLS 1.3Encrypted 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.

Factors That Affect DNS Speed

Several factors influence DNS resolution speed beyond just the resolver choice:

  • Geographic proximity — Resolvers with nearby anycast points-of-presence deliver faster responses. Cloudflare and Google have the most extensive global networks.
  • ISP peering — Direct peering between your ISP and the DNS provider reduces routing hops. Your ISP's own DNS may be faster for local domains due to proximity.
  • Cache hit rate — Popular domains are cached and resolved instantly. Less popular domains require recursive resolution. Larger resolvers like Google and Cloudflare have higher cache hit rates.
  • DNSSEC validation — Resolvers that validate DNSSEC may be slightly slower for signed domains due to the additional verification steps.
  • Query volume — Resolvers under heavy load may respond more slowly during peak hours.

For comprehensive network performance testing, try our Port Checker and check your overall connection with the What Is My IP tool.

Optimizing DNS Performance

Beyond choosing a fast resolver, these techniques further improve DNS performance:

  • Use two different providers — Set your primary DNS to the fastest resolver and secondary to a different provider for redundancy.
  • Enable DNS prefetching — Modern browsers pre-resolve domains for links on the page. Ensure this is enabled in browser settings.
  • Local DNS cache — Operating systems cache DNS results. On Windows, you can view the cache with ipconfig /displaydns.
  • Pi-hole or local resolver — Running a local DNS cache/ad-blocker like Pi-hole reduces external DNS queries.
  • Flush stale cache — If a site recently changed servers, flush your DNS cache to get the new IP.
# Flush DNS cache
# Windows:
ipconfig /flushdns
# macOS:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
# Linux:
sudo systemd-resolve --flush-caches
Key Takeaways
  • DNS resolver speed directly impacts browsing performance — every page load starts with DNS lookups.
  • Run the benchmark from your actual location to find the fastest resolver for your network.
  • Cloudflare (1.1.1.1) and Google (8.8.8.8) are consistently among the fastest globally.
  • Consider features beyond speed: malware filtering (Quad9), ad blocking (AdGuard), or privacy (Cloudflare).
  • Change DNS on your router to apply the setting to all devices on your network.
  • Use encrypted DNS (DoH/DoT) to prevent ISP snooping on your browsing activity.

Video: Fastest DNS Servers

Related Tools and Guides

Frequently Asked Questions

Which DNS server is the fastest?

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.

Does changing DNS make internet faster?

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.

Is 1.1.1.1 better than 8.8.8.8?

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.

Should I change DNS on my router or device?

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.

Is ISP DNS slower than public DNS?

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.

Does DNS over HTTPS add latency?

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.

Can my ISP see my DNS queries if I use 1.1.1.1?

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