Updated June 2026

Complete DNS Speed Test Guide

How DNS works, why speed matters, and how to find the fastest resolver for your location.

What Is DNS and Why Should You Care

DNS stands for Domain Name System. It is the internet's address book. When you type a URL like google.com into your browser, DNS translates that human-readable name into a numerical IP address like 142.250.80.46 that computers actually use to communicate. Without DNS, you would have to memorize IP addresses for every website you visit.

The speed at which this translation happens directly affects your browsing experience. A fast DNS resolver completes the lookup in under 15 milliseconds. A slow one takes 50 or more. That difference sounds small, but it compounds. A typical modern webpage triggers dozens of DNS lookups — one for the main domain, plus separate lookups for CDN servers, analytics scripts, font providers, advertising networks, and more. A slow resolver adds up to a full second of waiting before the page even begins to render.

The good news is that DNS speed is one of the few performance bottlenecks you can fix yourself, instantly, and at no cost. You do not need to upgrade your internet plan, buy new hardware, or install any software. You just need to change two numbers in your network settings.

How DNS Resolution Works

Before a browser can fetch a single byte from a website, it must determine where that website lives. The process works in layers:

First, your device checks its local DNS cache to see if it already knows the answer from a recent visit. If the answer is cached, the lookup is nearly instant — under 1 millisecond.

If the answer is not cached, your device sends a query to your configured DNS resolver. The resolver checks its own cache. If it has the answer, it returns the IP address immediately.

If the resolver does not have the answer cached, it begins a recursive lookup. It queries the root DNS servers, which direct it to the appropriate top-level domain server (like .com or .org), which then directs it to the authoritative name server for that specific domain. Each step in this chain introduces latency.

The speed at which your resolver handles this process depends on several factors: the physical distance between you and the resolver, the resolver's processing power, its caching efficiency, and the quality of its network infrastructure. A DNS speed test measures the real-world performance of this entire chain from your specific location on your specific network.

Why DNS Speed Directly Affects Your Browsing

Research from Akamai shows that a 100-millisecond delay in page load time reduces conversion rates by 7 percent. For streaming platforms, every millisecond counts. DNS latency stands out as one of the few performance bottlenecks users can fix themselves instantly at no cost.

Consider what happens when you open a typical modern website. The browser does not make just one DNS lookup. It makes dozens. The main domain, the CDN serving images, the analytics scripts, the advertising networks, the font providers, the video embeds — each requires its own DNS resolution. If your resolver adds 50 milliseconds to each lookup and the page triggers 20 lookups, you are waiting an extra full second before the page even begins to render.

For streaming, DNS speed affects how quickly your device locates the optimal content delivery network node. Services like Netflix, YouTube, and Spotify rely on DNS to route you to the nearest server. A slow DNS resolver might point you to a physically farther server, resulting in higher buffering and longer startup times.

How to Test DNS Speed

The only reliable way to know which DNS resolver is fastest for your specific network is to test it yourself. Global averages do not account for your ISP's peering arrangements, your distance to the nearest resolver node, or your local network conditions.

Our DNS speed test tool sends real DNS-over-HTTPS queries to 17+ public DNS providers simultaneously. The test uses the browser's high-resolution performance.now() API to measure actual response times from your location. Run the test at least three times at different times of day for consistent results.

Look at the median response time rather than the average. The median is less affected by occasional outliers and gives a more accurate picture of typical performance. Pay attention to the p95 latency — the worst-case 5 percent of responses — because consistency matters as much as average speed.

Fastest DNS Resolvers in 2026

Based on global benchmarks and our own testing, here are the top public DNS resolvers ranked by average speed:

1. Cloudflare 1.1.1.1 — ~11 ms

The fastest public DNS resolver globally. Cloudflare runs resolver hardware in over 300 cities across 100+ countries. Logs purged within 24 hours. Independently audited by KPMG. Full comparison.

2. Google Public DNS 8.8.8.8 — ~20 ms

Extremely reliable with effectively 100% uptime. Benefits from Google's massive global infrastructure. Logs anonymized after 24-48 hours.

3. Quad9 9.9.9.9 — ~19 ms

Swiss nonprofit with built-in threat blocking. Blocks known-malicious domains by default. No personal data logged. DNSSEC enforced.

4. NextDNS — ~15 ms

Customizable DNS filtering with analytics. Supports DoH, DoT, and DoQ. Free tier includes 300,000 queries per month.

5. OpenDNS 208.67.222.222 — ~30 ms

Owned by Cisco. Free Home plans with basic phishing protection. Paid plans with advanced content filtering.

See the complete list of best DNS servers for more options and detailed comparisons.

DNS over HTTPS Explained

DNS over HTTPS (DoH) wraps DNS queries inside standard HTTPS encryption. Traditional DNS sends queries in plaintext over UDP port 53, meaning anyone on your network path can see every domain you visit. DoH solves this by encrypting the queries.

The performance implications of DoH are significant. When you run a DNS speed test using DoH, the measured latency includes the overhead of TLS encryption and the HTTP protocol layer. This adds a few milliseconds compared to raw UDP queries, but it reflects the reality of how modern browsers actually resolve DNS.

Our tool uses DNS-over-HTTPS exclusively because it is the protocol that matters for modern internet users. When you run our DNS speed test, every query goes through the same encrypted channel that your browser uses during normal browsing.

See our complete guide to DNS over HTTPS for more details on DoH vs DoT and privacy implications.

How to Change Your DNS Server

After identifying the fastest server for your location, the next step is configuring your devices. Changing DNS settings is straightforward on every major platform.

On Windows, go to Settings, Network and Internet, click your active connection, and edit the DNS server assignment. On macOS, open System Settings, click Network, select your connection, and go to the DNS tab. On Android, go to WiFi settings, tap your network, and find Private DNS. On iOS, go to Settings, tap WiFi, and configure DNS.

Changing DNS at the router level affects every device on your network automatically. Access your router admin panel, find WAN or Internet settings, replace the existing DNS addresses, and restart the router.

See our complete guide to changing DNS settings for step-by-step instructions with screenshots for every platform.

Why Your ISP DNS Is Usually Slower

Every internet service provider assigns DNS servers to its customers by default. Most users never consciously choose their DNS resolver. While ISP DNS servers can sometimes be fast, they are frequently suboptimal for several structural reasons.

ISPs typically operate DNS resolvers as a low-priority service. Their primary business is delivering bandwidth, not optimizing DNS performance. ISP DNS infrastructure often receives less investment than dedicated DNS providers allocate, resulting in smaller caches, fewer geographic locations, and less sophisticated load balancing.

Privacy is another significant concern. Most ISPs log DNS queries and retain them for months or years, potentially selling the data or providing it to government agencies. ISP DNS servers also commonly hijack failed lookups, redirecting nonexistent domains to ad-filled search pages.

DNS and Gaming

The gaming community is filled with conflicting advice about DNS. The most persistent myth is that changing your DNS server lowers in-game ping. This is false. DNS is only used when your game initially connects to a server. Once that connection is established, all subsequent communication uses direct IP-to-IP communication.

However, DNS does affect gaming in ways that matter. When you launch a game, your console or PC makes multiple DNS lookups to connect to matchmaking, authentication, friend lists, and store pages. A fast DNS resolver can shave seconds off startup.

For gaming, prioritize the lowest p95 latency resolver rather than just low average latency. A resolver with low average latency but occasional spikes will feel worse than one with slightly higher average but consistent response times. See our best DNS for gaming guide.

DNS and Streaming

DNS speed affects how quickly your device locates the optimal content delivery network node. Services like Netflix, YouTube, and Spotify rely on DNS to route you to the nearest server. A fast resolver routes you to the nearest, least congested server, resulting in faster stream startup and less buffering.

If your streaming service uses Cloudflare's CDN, using Cloudflare DNS may provide a slight routing advantage. Google DNS also performs well for streaming due to its strong peering arrangements with major CDNs. See our best DNS for streaming guide.

DNS Privacy

Every DNS query you make reveals something about your online activity. Your DNS provider has a complete log of every website you visit, every app you connect to, and every service you use. Understanding what your provider does with this information is essential.

DNS providers fall into three privacy categories. Providers with strict no-log policies like Cloudflare and Quad9 commit to purging query data within hours. Providers with partial logging like Google DNS retain temporary logs for debugging. ISP DNS providers often retain detailed logs for months or years.

DNS-over-HTTPS adds another layer of protection by encrypting queries. Without DoH, anyone on your network path can observe your DNS traffic. The combination of a privacy-focused DNS provider and DNS-over-HTTPS provides the strongest practical privacy protection. See our best DNS for privacy guide.

Frequently Asked Questions

How long does a DNS speed test take?

Our DNS speed test completes in approximately 10 to 20 seconds. The tool tests 17 DNS servers simultaneously with 3 queries each. All servers are tested in parallel for instant results.

Does DNS affect download speed?

DNS does not affect your download bandwidth. It only affects how quickly domain names are resolved into IP addresses. However, faster DNS means pages begin loading sooner, which improves the perceived speed of your connection.

Should I use my ISP's DNS?

In most cases, switching to a public resolver like Cloudflare 1.1.1.1 or Google 8.8.8.8 will give you faster performance and better privacy than your ISP's default DNS. The only exception is if your ISP's DNS consistently tests fast from your location.

Run a DNS Speed Test Now