What Is DNS Speed and Why Does It Matter?
DNS — Domain Name System — is the internet's directory service. Every time you visit a website, your device sends a DNS query to translate the human-readable domain name (like google.com) into a numerical IP address that computers use to communicate. This lookup happens before any content loads, meaning your DNS server's response time adds to the loading time of every single website you visit.
DNS lookups are typically cached after the first visit to a domain, meaning repeat visits to the same site do not incur the full DNS lookup time. However, on your first visit to any new domain — including every link you click that takes you to a new website — the DNS lookup must complete before any content can begin loading. For users who browse widely and click many new links, DNS speed has a measurable impact on overall browsing experience.
The difference between a fast and slow DNS server can range from under 10 milliseconds to over 100 milliseconds per query. While this sounds small, multiply it across dozens of new domains visited in a browsing session and the cumulative effect becomes noticeable. Studies have shown that switching from a typical ISP DNS server to Cloudflare's 1.1.1.1 or Google's 8.8.8.8 reduces average DNS lookup times by 30–50% for most users.
DNS speed is highly location-dependent. A DNS server that is fastest for a user in London may not be fastest for a user in Sydney, because DNS providers route queries to their nearest data centre. This is why generic "fastest DNS" recommendations are unreliable — the only way to know which DNS server is fastest for your specific location and ISP is to test it directly, which is exactly what this tool does.
Beyond speed, your choice of DNS server also affects privacy and security. Your DNS provider can see every domain you look up — meaning they have a complete record of every website you visit. ISP DNS servers are known to log this data and in many countries are legally required to retain it. Privacy-focused DNS providers like Cloudflare (1.1.1.1) and Quad9 (9.9.9.9) operate with strict no-logging policies, giving you both faster performance and better privacy simultaneously.
If you use a VPN, your DNS queries should be routed through your VPN provider's DNS servers rather than your ISP's. A DNS speed test is a useful way to verify this is happening correctly — if your current DNS appears as your ISP's server while connected to a VPN, you have a DNS leak. Run a full DNS leak test to check your VPN's DNS protection alongside the speed comparison.
The Fastest Public DNS Servers Compared
Cloudflare's 1.1.1.1 is consistently ranked as the fastest public DNS resolver globally. Launched in 2018 with a focus on both speed and privacy, Cloudflare's DNS infrastructure uses Anycast routing to direct every query to the nearest data centre. In independent benchmarks, 1.1.1.1 regularly achieves response times under 15ms for users across Europe and North America, making it the default recommendation for most users who want to improve DNS performance.
Google's 8.8.8.8 is the world's most widely used public DNS resolver and the most recognisable alternative to ISP DNS. Google's DNS infrastructure is massive and highly reliable, with consistent performance globally. However, Google's DNS logs query data and associates it with your Google account or IP address, making it a weaker choice for privacy-conscious users. For pure speed without privacy concerns, 8.8.8.8 is a solid option that typically outperforms ISP DNS servers by a significant margin.
Quad9 (9.9.9.9) is operated by a non-profit foundation and focuses on security alongside performance. Quad9 automatically blocks known malicious domains — if you attempt to visit a site associated with malware, phishing, or botnet command servers, Quad9 blocks the lookup before your browser connects. This provides a free, passive layer of malware protection for every device using Quad9 as its DNS resolver. Response times are comparable to Cloudflare and Google for most locations in Europe and the US.
OpenDNS (208.67.222.222), owned by Cisco, has been a popular alternative DNS provider since 2006. It offers optional content filtering and parental controls alongside standard DNS resolution, making it popular for family networks and small businesses. Speed-wise, OpenDNS is generally slightly slower than Cloudflare and Google for most consumer users, though it excels in reliability and uptime. OpenDNS's FamilyShield variant (208.67.220.123) automatically blocks adult content without any configuration.
Your ISP's default DNS server is the one most users never question. While convenient — it is automatically configured when you connect to your broadband — ISP DNS servers are rarely optimised for speed and are frequently the slowest option available. They are geographically close to you but often run on older infrastructure with higher latency than modern public DNS providers. Additionally, ISP DNS servers routinely log query data, sell anonymised browsing data to advertisers, and in some countries are used to implement government-mandated content blocking.
How to Change Your DNS Server
- Step 1 — Decide Which DNS Server to Use: Based on your speed test results, note the IP address of the fastest DNS provider for your location. For most users this will be Cloudflare (1.1.1.1 primary, 1.0.0.1 secondary) or Google (8.8.8.8 primary, 8.8.4.4 secondary). Have both the primary and secondary addresses ready before making any changes to your network settings.
- Step 2 — Change DNS on Windows: Open the Start menu and search for "Network Connections", then select "View network connections". Right-click your active network adapter (Wi-Fi or Ethernet) and select Properties. Select "Internet Protocol Version 4 (TCP/IPv4)", click Properties, choose "Use the following DNS server addresses" and enter your chosen primary and secondary DNS.
- Step 3 — Change DNS on Mac: Go to System Preferences → Network, select your active connection (Wi-Fi or Ethernet), and click Advanced. Navigate to the DNS tab, click the + button to add your new DNS server IP, and add both primary and secondary addresses. Click OK and then Apply to save the changes.
- Step 4 — Change DNS on iPhone/iOS: Go to Settings → Wi-Fi, tap the information icon next to your connected network, scroll to DNS and tap "Configure DNS". Switch from Automatic to Manual, delete the existing entries, and add your chosen DNS server addresses. Changes apply immediately.
- Step 5 — Change DNS on Android: Go to Settings → Network & Internet → Advanced → Private DNS. Enter the hostname for your chosen DNS provider — for Cloudflare use: one.one.one.one, for Google use: dns.google. Android's Private DNS feature uses DNS-over-TLS for encrypted queries, which is more secure than standard DNS.
- Step 6 — Change DNS on Your Router: Log into your router's admin panel (typically at 192.168.1.1 or 192.168.0.1). Find the DNS settings under WAN or Internet settings and replace the automatic DNS entries with your chosen DNS addresses. Changing DNS at the router level applies the faster DNS to every device on your network automatically.
- Step 7 — Flush Your DNS Cache After Changing: After changing your DNS settings, flush your DNS cache to force your device to use the new server immediately. On Windows: open Command Prompt and run
ipconfig /flushdns. On Mac: runsudo dscacheutil -flushcachein Terminal. Without flushing, cached DNS entries from the old server may persist for hours. - Step 8 — Run the Speed Test Again to Confirm: Return to the top of this page and run the DNS speed test again after making your changes. Your new DNS provider should now appear as your current DNS with the response time you measured before switching. If your ISP DNS still appears, your cache may not have cleared — wait a few minutes and run the test again.
DNS Speed vs DNS Privacy — Finding the Balance
Speed and privacy are not mutually exclusive when choosing a DNS server. Cloudflare's 1.1.1.1 is both the fastest public DNS resolver and one of the most privacy-focused, operating under a strict no-query-logging policy audited annually by KPMG. For most users, switching from ISP DNS to Cloudflare improves both speed and privacy simultaneously with no trade-offs.
For maximum privacy, Cloudflare also offers DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) variants of 1.1.1.1 that encrypt your DNS queries in transit, preventing your ISP from seeing which domains you look up even if they monitor your traffic. These encrypted DNS protocols are supported natively on modern versions of Windows, macOS, iOS, and Android and provide a meaningful privacy upgrade for any user concerned about ISP-level DNS logging.
If you use a VPN, your DNS queries should already be routed through your VPN provider's private servers, bypassing both your ISP DNS and public DNS providers entirely. However, DNS leaks can cause your queries to bypass the VPN and reach your ISP or a public DNS provider even when the VPN is connected. Use the DNS leak test on this site to verify your VPN is handling DNS correctly alongside your speed optimisation.
We may earn a commission if you purchase through our link
DNS-over-HTTPS (DoH) encrypts your DNS queries inside standard HTTPS traffic, making them invisible to your ISP and anyone else monitoring your network. Without DoH, standard DNS queries are sent in plain text and can be read by your ISP, network administrator, or anyone intercepting your traffic. Modern browsers including Chrome, Firefox, and Edge support DoH natively — Firefox has it enabled by default in many regions. Enabling DoH alongside a fast DNS provider like Cloudflare gives you both speed and privacy benefits simultaneously. The only downside is that some corporate networks and parental control systems rely on being able to read DNS queries, so DoH may need to be disabled in those specific environments.