DNS Speed Test
Check DNS speed from your own connection: this DNS server test times real lookups from your browser to 12 public resolvers and to your current DNS, shows where each answer came from, and how to switch to the fastest.
Your current DNS
seen by our test nameserver
—browser cache—no filtering
1.1.1.1 · one.one.one.one
no filtering
8.8.8.8 · dns.google
blocks malware
9.9.9.9 · dns.quad9.net
Free, unfiltered
76.76.2.0 · p0.freedns.controld.com
your own filters
dns.nextdns.io/dns-query
blocks ads & trackers
94.140.14.14 · dns.adguard-dns.com
blocks phishing
208.67.222.222
Security filter
185.228.168.9 · security-filter-dns.cleanbrowsing.org
no filtering
185.222.222.222 · dot.sb
Unfiltered
86.54.11.100 · unfiltered.joindns4.eu
blocks child-abuse sites only
public.dns.iij.jp
Basic
77.88.8.8 · common.dot.dns.yandex.net
How does this DNS speed test work?
It times three things for every resolver, from your own browser: the first connection, lookups of popular names the resolver has already cached, and lookups of brand-new names it can't have cached. Each lookup is a real DNS query over HTTPS, so the time includes your connection, the trip to the resolver's nearest site and its own work: a DNS latency test from exactly where you are.
Four queries run at a time, in a new random order every round, so a busy moment on your line hits every resolver alike. The median ranks them; one slow answer can't sink a resolver, and a lookup unanswered in 3 seconds counts as a failure, never as a made-up time.
Your current DNS is measured too: your browser looks up names only our test nameserver answers, and our nameserver sees which resolver asked.
- First connection, once: the resolver's own address lookup, TCP and TLS. Your device keeps the connection open after that, so it isn't counted again.
- Cached lookup: a popular site the resolver already holds. This is the number that ranks it.
- New name: a name nobody has asked for, so the resolver must ask the domain's own server first, the way it does for a site you've never visited.
1First connection, once
133 ms
DNS + TCP + TLS
2Cached lookup ×8
58 ms
median · popular names
3New name ×4
60 ms
median · random names

The verdictThe fastest resolver whose answers were read and checked, or a tie when two are within 5 ms.Your current DNSThe resolver your device really uses, timed on the same kind of brand-new names as the winner.Every lookupCached lookups as dots, new names as rings, the medians as ticks, on one log scale.Where answers came fromEach site that answered, nearest first, against the fastest any server that far away could answer.Why is the fastest DNS different for everyone?
Because each resolver answers from whichever of its sites your network reaches, and distance sets a floor. Light in fibre needs about 1 ms per 100 km there and back (ITU-T G.114), before any routing or processing.
In the recorded run the resolvers that answered from India took 58–81 ms, while the sites in Europe and Japan took 197–354 ms. The same resolver can be the fastest in one city and the slowest in another, and it can even change between your Wi-Fi and your mobile data.
That's why this test shows where each answer came from, read from the server's own name for itself (NSID, RFC 5001), not only how long it took.
Cached or new: why does a DNS lookup take longer the first time?
A resolver answers a name it has cached from memory; a new name it must first ask the domain's own nameservers about. Google measured cache misses as the main cause of DNS latency (Google Public DNS), so this test times both, the way GRC's DNS Benchmark splits cached and uncached lookups.
The two numbers can rank resolvers differently. In the recorded run AdGuard DNS answered cached names in 63 ms but took 267 ms for new ones, while Cloudflare took 58 and 60 ms.
New names here are random labels under eight large zones run by different DNS providers (none hosted by Cloudflare or Google, so neither gets a home advantage). They don't exist, so nobody can have them cached.
Is 1.1.1.1 faster than 8.8.8.8?
It depends on which site answers you. Both are anycast: Cloudflare's 1.1.1.1 and Google's 8.8.8.8 each answer from the nearest of their own data centres, and your network decides which one that is.
In the recorded run Cloudflare was 23 ms faster for cached names and 42 ms faster for new ones, both answering from India. Google also picked a different site between connections, which is why its lookups spread wider.
Run the test on your own Wi-Fi and on mobile data: the answer can flip.
What is a good DNS response time?
Under about 75 ms is fast, up to 200 ms is fair, and slower usually means the answer comes from another continent. These are DNS Robot's own bands, drawn from distance, not an industry standard.
The floor is physics: about 1 ms per 100 km there and back. A resolver with a site in your city can answer cached names in 10–30 ms; one in the next country needs 30–80 ms; across an ocean, 150 ms or more.
A "DNS ping test" that pings 1.1.1.1 measures the path, not DNS: a resolver can answer a ping fast and still be slow to resolve a name. This test times real lookups.
DNS Robot's bands, from distance
- NextDNS: 50 ms
- Cisco OpenDNS: 55 ms
- Cloudflare: 58 ms
- AdGuard DNS: 63 ms
- Control D: 63 ms
- Google Public DNS: 81 ms
- CleanBrowsing: 197 ms
- Yandex DNS: 261 ms
- IIJ Public DNS: 263 ms
- DNS.SB: 296 ms
- Quad9: 319 ms
- DNS4EU: 354 ms
What is the fastest DNS server?
The one with a site closest to you that keeps popular names cached: there is no single fastest or best DNS server for everyone. Run this DNS benchmark on your own connection and it ranks the public resolvers for you.
Mind the route. From some networks DNS.SB's browser hostname answers from nearby (39 ms) while its address and its Private DNS name answer from Frankfurt (296 ms): most speed tests would crown it, but the address you'd actually set is slow. This test ranks the address you would set and shows both.
Speed isn't everything: what a resolver blocks, what it logs and whether it passes part of your address on (ECS) matter too. The table below lists them.
- 1NextDNStimed only50 ms
- 2Cisco OpenDNStimed only55 ms
- 3CloudflareChennai58 ms
- 4AdGuard DNStimed only63 ms
- 5Control DNavi Mumbai63 ms
- 6Google Public DNSChennai81 ms
- 7CleanBrowsingLondon197 ms
- 8Yandex DNStimed only261 ms
- 9IIJ Public DNSJapan263 ms
- 10DNS.SBFrankfurt296 ms↳ doh.dns.sbIndia · browser route, not the one you'd set39 ms
- 11Quad9timed only319 ms
- 12DNS4EUFrankfurt354 ms
Which Private DNS hostname is fastest on Android?
Run the test on your phone: the fastest resolver with a Private DNS hostname is the one to type. Android's Private DNS (Android 9 and later) takes a hostname, typed into the Private DNS provider hostname field, not an IP address, and uses DNS over TLS; since 2022 Android 11+ uses DNS over HTTP/3 for Google and Cloudflare.
Type the hostname exactly: one.one.one.one for Cloudflare, dns.google for Google, dns.quad9.net for Quad9. A typo makes Android report "no internet access" on every network.
Some hostnames travel further than the address: DNS.SB's dot.sb went to Frankfurt in the recorded run. Read more in what is Private DNS.
| Resolver | Private DNS hostname |
|---|---|
| Cloudflare | one.one.one.one |
| Google Public DNS | dns.google |
| Quad9 | dns.quad9.net |
| Control D | p0.freedns.controld.com |
| AdGuard DNS | dns.adguard-dns.com |
| CleanBrowsing | security-filter-dns.cleanbrowsing.org |
| DNS.SB | dot.sbanswers from Frankfurt: 296 ms |
| DNS4EU | unfiltered.joindns4.eu |
| IIJ Public DNS | public.dns.iij.jp |
| Yandex DNS | common.dot.dns.yandex.net |
| NextDNS | no public hostname |
| Cisco OpenDNS | no public hostname |
How do I change my DNS server?
Set it on your router to cover every device on your Wi-Fi, or on one device to try it first. Each system keeps the setting in a different place; the values are the same everywhere.
On Windows 11 and a Mac you type the IPv4 addresses (Windows can add DNS over HTTPS); on an iPhone the setting is per Wi-Fi network; on Android, Private DNS takes the hostname. After running the test, the Switch panel shows the exact steps and values for your fastest resolver.
To undo, set DNS back to automatic. Nothing else on your device changes.
Windows 11
Settings › Network & internet › your network › DNS server assignment › Edit
Mac
System Settings › Network › Wi-Fi › Details › DNS
iPhone
Settings › Wi-Fi › ⓘ › Configure DNS › Manual
Router
Admin page › Internet / WAN › DNS
Best DNS for gaming: does a faster DNS make games faster?
Only the first visit to each site, by a few tens of milliseconds. DNS runs once per name; your device caches the answer, and the page, video or game data never touches DNS again.
For games, including BGMI, Free Fire and PUBG, DNS is looked up when you join; every move after that goes straight to the game's server. Your ping in the game depends on the route to that server, not on your DNS. A resolver that sends you to a far-away server can hurt, which is what ECS and a nearby site help with.
Where DNS does matter: a slow or failing resolver delays every new site you open, and a filtering resolver can block what you need.
A first visit to a site ≈ 1,078 ms
A 30-minute game session
Which DNS servers can a browser test, and which can't?
Any DNS over HTTPS server can be timed, but a web page can read only the answers of servers that allow it (a CORS header). Of the twelve here, seven allow it: Cloudflare, Google, Control D, CleanBrowsing, DNS.SB, DNS4EU and IIJ.
AdGuard DNS, NextDNS, Cisco OpenDNS and Yandex DNS send no CORS header. Quad9 sends it over HTTP/2 but not over HTTP/3, so browsers fail once they switch, measured in Chromium, Firefox and WebKit. These are timed only: the time is real, but the page can't check the answer or see where it came from.
Timed-only rows still rank, marked as such; the verdict always names a resolver whose answers were read.
queryDoH serverreply + Access-Control-Allow-Originanswer read and checkedqueryDoH serverreply without the headeronly the time is knownVerified: answers read · 7
CloudflareGoogle Public DNSControl DCleanBrowsingDNS.SBDNS4EUIIJ Public DNS
Timed only · 5
- Quad9drops the CORS header over HTTP/3
- NextDNSsends no CORS header
- AdGuard DNSsends no CORS header
- Cisco OpenDNSsends no CORS header
- Yandex DNSsends no CORS header
Who runs 8.8.8.8, 1.1.1.1 and 9.9.9.9?
Google runs 8.8.8.8 and 8.8.4.4 (Google Public DNS), Cloudflare runs 1.1.1.1 and 1.0.0.1, and the Quad9 Foundation, a Swiss non-profit, runs 9.9.9.9. Each is a free public resolver: it looks up names for anyone who sets it.
The best DNS servers differ in what they block, what they log and whether they pass part of your address on to the domain's servers (ECS, which helps CDNs pick a nearby server but tells them roughly where you are). The table sums up what each operator says on its own pages.
| Service | Run by | Addresses | Private DNS | Blocks | Logs | ECS | DNSSEC |
|---|---|---|---|---|---|---|---|
| Cloudflare | 1.1.1.11.0.0.1 | one.one.one.one | no filtering | Deleted within 25 hours; your address never written to disk | no | yes | |
| Google Public DNS | 8.8.8.88.8.4.4 | dns.google | no filtering | Your address kept 24–48 hours; a sample without it, longer | yes: part of your address (/24) | yes | |
| Quad9 | 9.9.9.9149.112.112.112 | dns.quad9.net | blocks malware | Your address not recorded | no | yes | |
| Control D | 76.76.2.076.76.10.0 | p0.freedns.controld.com | no filtering | No query logs on the free resolvers | not published | not published | |
| NextDNS | not published | — | your own filters | Nothing, unless you turn logs on | its own ECS, without your address | yes | |
| AdGuard DNS | 94.140.14.1494.140.15.15 | dns.adguard-dns.com | blocks ads & trackers | No personal data; anonymous domain counts | a stand-in subnet, not yours | not published | |
| Cisco OpenDNS | 208.67.222.222208.67.220.220 | — | blocks phishing | Not published | not published | not published | |
| CleanBrowsing | 185.228.168.9185.228.169.9 | security-filter-dns.cleanbrowsing.org | blocks phishing, malware, spam | No personal data on the free filters | not published | not published | |
| DNS.SB | 185.222.222.22245.11.45.11 | dot.sb | no filtering | No query logs | no | yes | |
| DNS4EU | 86.54.11.10086.54.11.200 | unfiltered.joindns4.eu | court-ordered blocks only | “Queries are anonymised”; no retention period published | not published | not published | |
| IIJ Public DNS | not published | public.dns.iij.jp | blocks child-abuse sites only | Source address cut to a /22; deleted within 24 hours | not published | not published | |
| Yandex DNS | 77.88.8.877.88.8.1 | common.dot.dns.yandex.net | no filtering | May record the sites you visit and share them with Yandex companies | not published | not published |
DNS speed test: questions
What is the fastest DNS server?
Is 1.1.1.1 faster than 8.8.8.8?
Who is 9.9.9.9?
What do 8.8.8.8 and 8.8.4.4 do?
What is a good DNS ping in ms?
Can this DNS test see my current DNS?
Why do my results change every time?
Is it safe to change my DNS, and what do these services log?
What is the best Private DNS for Android?
What is the best DNS server for gaming (BGMI, Free Fire, PUBG)?
How is this different from GRC DNS Benchmark or namebench?
Why is Quad9 (or AdGuard) marked "timed only"?
Missing something?Suggest a feature or a new tool
More DNS and network tools
DNS Lookup
Every DNS record from the domain's own nameservers, beside Google's and Cloudflare's cache
Ping Test
Test your ping, jitter and packet loss, see your ping to 34 cloud regions, and ping any website or IP from 11 cities
What Is My ISP
Discover your ISP, ASN, and connection details
DNS Leak Test
See which DNS servers really resolve your lookups and whether your VPN leaks DNS requests to your internet provider
Router Login
Open your router's admin page, fix address typos and find default logins by brand
Packet Loss Test
Real UDP packet loss, jitter and bufferbloat to Cloudflare's nearest data centre, split into upload and download




