Free DNS Speed Test - Compare DNS Resolvers

Find the fastest public DNS for you. Times cached and uncached DNS-over-HTTPS lookups to Cloudflare 1.1.1.1, Google 8.8.8.8 and AliDNS, then ranks them. Free.

  • Queries Cloudflare, Google and AliDNS public DNS
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideHow to Find the Fastest DNS Server for Your Connection →

About the DNS Speed Test tool

Every time you open a website, your device first asks a DNS resolver for the site’s address. A slow resolver adds delay to every new domain you visit. This DNS speed test compares three large public resolvers, Cloudflare (1.1.1.1), Google Public DNS (8.8.8.8) and AliDNS (223.5.5.5), from your own location and ranks them.

It measures two things. Cached lookups repeat popular names such as google.com and wikipedia.org that each resolver already has in memory, so the time mostly reflects your network distance to the resolver. Uncached lookups ask for a random, never-before-seen subdomain such as x7k2q9ab.github.com, which forces the resolver to contact the domain’s authoritative name servers, revealing how quickly it resolves something new. Before timing starts, one warm-up query opens the connection to each resolver; its time is shown as “First query” but excluded from the ranking.

All queries use DNS over HTTPS (DoH) from your browser, because web pages cannot send classic DNS packets on port 53. Results are therefore closest to what you would get by enabling DoH in your browser, and may differ somewhat from the plain DNS your operating system uses.

How to use DNS Speed Test

  1. Choose how many “Rounds per resolver” to run (more rounds give steadier medians).
  2. Press “Start DNS speed test” and wait while each resolver is queried in turn.
  3. Compare the cached and uncached medians in the results table; the fastest overall gets the trophy.
  4. Check the “Failed” column for resolvers that timed out or were blocked on your network.
  5. Apply the winner in your router, operating system or browser secure-DNS settings.

Features

Cached vs uncached timing

Separates network distance from real resolution work using random subdomains that cannot be cached.

Three major resolvers

Cloudflare, Google and AliDNS are queried through their official JSON DoH APIs.

Fair interleaving

Resolvers are queried in rotation each round so a temporary network hiccup affects all of them equally.

Median-based ranking

Uses medians rather than averages so one slow outlier does not decide the winner.

When to use it

  • Choose the fastest public DNS server to set on your home router.
  • Pick a DNS-over-HTTPS provider for Chrome, Firefox or Edge secure DNS.
  • Check whether a resolver is blocked or unreliable on a school or office network.
  • Compare resolver performance while travelling or on a different ISP.

Frequently asked questions

Which DNS server is the fastest?

It depends on where you are and your ISP’s routing, which is why testing from your own connection matters. Cloudflare and Google are fast in most regions; AliDNS is often fastest in and near China.

Will a faster DNS make my internet faster?

It only speeds up the first lookup of each domain, typically saving a few to tens of milliseconds per new site. It does not change download speed.

Why not test my ISP’s DNS?

ISP resolvers normally only accept classic DNS on port 53, which browsers cannot send. Tools such as DNSBench or namebench can test them from a desktop app.

What does “First query” mean?

It is the time for the first request, which includes opening the TCP and TLS connection to that resolver. Later queries reuse the connection, so it is shown for information only.

What information is sent?

Only the domain names being looked up (popular sites and random subdomains of them) go to each resolver. Nothing about you other than your IP address, which every connection reveals.

Related tools