Slow DNS lookup adds delay to every website you visit. Before your browser can load any page, it must translate the domain name into an IP address through a DNS query. If your DNS server is slow, every single page load starts with a noticeable lag. A fast DNS lookup takes 10-30ms. A slow one can take 200-500ms or more, which you feel on every click.
The fix is straightforward: switch to a faster DNS provider and optimize your DNS caching. Most users see immediate improvement in browsing speed after these changes.
Switch to a Faster DNS Provider
Your ISP’s default DNS is almost always slower than dedicated DNS services. The fastest public DNS providers in 2026: Cloudflare DNS (1.1.1.1) averages 11ms globally, Google DNS (8.8.8.8) averages 34ms, and Quad9 (9.9.9.9) averages 20ms with built-in malware blocking. On Windows: Settings, Network, adapter properties, IPv4, manual DNS. Set both preferred and alternate addresses.
Flush Your DNS Cache
A bloated or corrupted DNS cache forces repeated lookups. On Windows: “ipconfig /flushdns” in Command Prompt. On macOS: “sudo dscacheutil -flushcache.” In Chrome: chrome://net-internals/#dns, “Clear host cache.” Do this after switching DNS providers to ensure all queries go to the new server.
Enable DNS-over-HTTPS (DoH)
DNS-over-HTTPS encrypts DNS queries and can improve speed by preventing ISP DNS interception. In Chrome: Settings, Privacy, Security, “Use secure DNS,” select Cloudflare or Google. In Firefox: Settings, Privacy, scroll to DNS over HTTPS, enable. DoH also prevents your ISP from seeing which domains you visit.
Enable DNS Prefetching in Chrome
Chrome can resolve domain names in the background before you click links. Go to Settings, Privacy and Security, Cookies, enable “Preload pages for faster browsing and searching.” Chrome will DNS-prefetch domains it finds in the current page, eliminating DNS delay when you click those links.
Use a Local DNS Cache
For advanced users, running a local DNS cache (like dnsmasq on Linux or Unbound on any OS) eliminates network round-trips for repeat lookups. All DNS queries for previously visited domains resolve instantly from local memory instead of making a network request to an external server.
Frequently Asked Questions
How can I test my current DNS speed?
Use the DNS Benchmark tool (free from grc.com) to test your current DNS resolver against alternatives. It tests query speed, reliability, and caching behavior. You can also test manually: open Command Prompt and run “nslookup google.com” while timing it. Response times over 50ms indicate a slow DNS resolver.
Does changing DNS affect my internet speed?
DNS changes do not affect your download/upload bandwidth. They only improve the time between clicking a link and the page starting to load. This “first byte” delay is often 100-500ms with slow DNS and can drop to 10-30ms with fast DNS, making browsing feel noticeably snappier.
Is Cloudflare DNS faster than Google DNS?
In most regions, yes. Cloudflare 1.1.1.1 consistently benchmarks as the fastest public DNS resolver globally, with average response times of 11ms compared to Google’s 34ms. However, results vary by location. Test both from your specific network using DNS Benchmark to find which is faster for you.
