DNS Leak Checker

DNS Speed Test – Find the Fastest DNS Server for You

Your DNS server is responsible for translating every domain name you type into an IP address — and its speed directly affects how fast every website loads, even on a fast internet connection. Most people use the DNS server assigned by their ISP by default, which is rarely the fastest option available. This free tool measures your current DNS response time and compares it against the world's fastest public DNS servers to find the best option for your location. Run the test below and see how your DNS stacks up in seconds.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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: run sudo dscacheutil -flushcache in Terminal. Without flushing, cached DNS entries from the old server may persist for hours.
  8. 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.

Frequently asked questions

What is a good DNS response time?

A good DNS response time is under 20 milliseconds, which most users with a modern broadband connection and a fast public DNS provider like Cloudflare or Google can achieve. Response times between 20 and 50 milliseconds are average and will not produce noticeable slowdowns during normal browsing. Times over 50 milliseconds indicate a slower-than-necessary DNS server that is adding perceptible delay to every new website you visit. If your current DNS response time is over 50ms, switching to a faster public DNS provider will produce a noticeable improvement in browsing speed.

Will changing my DNS server make my internet faster?

Changing your DNS server will make the initial connection to new websites faster, but it will not increase your actual download or upload speeds. DNS only handles the translation of domain names to IP addresses — once that lookup is complete, your data transfer speed is determined by your ISP connection, the website's server, and network congestion. However, because DNS lookups happen before any content loads, a faster DNS server reduces the perceived wait time when clicking links, loading new pages, and opening apps that connect to multiple domains. For users whose ISP DNS is particularly slow, the improvement can be immediately noticeable.

Is Cloudflare DNS faster than Google DNS?

In most independent benchmarks and real-world testing, Cloudflare's 1.1.1.1 is faster than Google's 8.8.8.8 for the majority of users globally. Cloudflare's DNS infrastructure uses Anycast routing to direct queries to the nearest data centre, and their network spans over 300 cities worldwide. Google's DNS is also very fast and extremely reliable, but typically measures a few milliseconds slower than Cloudflare in head-to-head comparisons. The actual difference varies by location — this is why running a speed test from your specific location is the most reliable way to determine which provider is fastest for you.

Does my DNS server affect my privacy?

Yes, your DNS server has a significant impact on your privacy. Every DNS query you make — essentially every website you visit — is visible to your DNS provider. ISP DNS servers routinely log this data, and in many countries ISPs are legally required to retain DNS query logs for months or years. Some ISPs sell anonymised browsing data derived from DNS logs to advertisers. Privacy-focused DNS providers like Cloudflare (1.1.1.1) and Quad9 (9.9.9.9) operate under strict no-logging policies, meaning they do not store records of your DNS queries. Switching to a privacy-respecting DNS provider is one of the simplest and most effective privacy improvements you can make.

What is the difference between DNS speed and internet speed?

DNS speed measures how quickly your DNS server responds to a domain name lookup — typically measured in milliseconds. Internet speed measures how fast data transfers between your device and the destination server — typically measured in megabits per second. DNS speed affects how quickly a connection to a new website begins, while internet speed determines how quickly the website's content downloads once the connection is established. A slow DNS server with a fast internet connection creates a noticeable delay before content starts loading, but once loading begins, content arrives at full speed. Optimising both DNS and internet speed provides the best overall browsing experience.

Can my ISP see my DNS queries?

If you are using your ISP's default DNS server, your ISP can see every DNS query you make — which effectively means they have a complete log of every website you visit. Even if you switch to a third-party DNS provider like Google or Cloudflare, your ISP can still see your DNS queries if they are sent as unencrypted standard DNS (port 53). To prevent your ISP from seeing your DNS queries, you need either DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT), which encrypt the queries in transit, or a VPN, which tunnels all traffic including DNS through an encrypted connection. Using a VPN with its own private DNS servers is the most comprehensive solution.

Does changing DNS affect gaming ping?

Changing your DNS server has a minimal direct effect on gaming ping. Game servers communicate using IP addresses, and once your device has resolved the game server's address through an initial DNS lookup, subsequent packets are sent directly to that IP without further DNS involvement. However, faster DNS can reduce initial connection times when launching games, connecting to matchmaking services, and loading in-game content that references new domains. For competitive gaming where every millisecond matters, using the fastest available DNS ensures that no unnecessary delay is introduced during connection setup. The actual gameplay ping is determined by your physical distance to the game server and your ISP's routing.

What is DNS-over-HTTPS and should I use it?

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.

Stop leaks for good

A VPN with private DNS on every server, a kill switch and WebRTC protection closes every leak this site tests for.

Get NordVPN →

30-day money-back guarantee · We may earn a commission