DNS Speed Test (DNS Performance Test)
Compare how quickly Cloudflare, Google, Control D and other public DNS resolvers answer from your own browser. You get a ranking, the fastest resolver for you right now, and the steps to switch to it.
DNS speed test tool
Each round asks one popular name and one new random name. The whole test sends only small DNS messages.
Ready. Nothing is sent until you press Start.
- Choose 3 or 5 rounds above and press Start. Every resolver ticked in the list is tested.
- To compare different resolvers, change the ticks in the list below before you start.
- Read the ranking, then follow the steps below to switch.
Fastest for you right now
Run the test to see which resolver answers fastest from your browser.
This is the fastest over DNS-over-HTTPS from this browser, on this network, at this moment. Your phone or router normally uses plain DNS, so treat it as a strong hint, not a guarantee. How to switch DNS
Ranking (lower is faster)
Each bar is a resolver's combined lookup time: 60% cached, 40% uncached, plus a penalty for failed lookups. The table below has the same numbers.
| # | Resolver | Cached Median time for a popular name the resolver has already stored, such as google.com. This is what most everyday lookups feel like. | Uncached Median time for a brand-new random name, so the resolver has to ask other DNS servers first. This is a site you have never visited. | Spread The middle half of the cached times (25th to 75th percentile). A narrow range means the resolver answers consistently. | Failures Lookups with no answer within 3 seconds, a blocked request or a server error. Any failure is worth noticing. | Relative speed |
|---|---|---|---|---|---|---|
| No results yet. Press Start to compare the resolvers you ticked. | ||||||
Can't be tested from a browser
These resolvers work fine on phones and routers, but their DNS-over-HTTPS servers block requests from web pages, so no browser test can time them fairly.
- Quad9 (9.9.9.9): Its HTTP/3 answers lack the CORS header, so Chrome blocks them after the first one or two queries.
- AdGuard DNS: Its DoH server does not allow requests from web pages (no CORS header).
- OpenDNS (Cisco): Its DoH server does not allow requests from web pages (no CORS header).
- NextDNS: Its DoH server does not allow requests from web pages (no CORS header).
- Mullvad DNS: Its DoH server does not allow requests from web pages (no CORS header).
- India NIC Public DNS (dns.nic.in, 1.10.10.10): Its DoH server answers apps but does not allow requests from web pages (no CORS header).
Which DNS resolver am I using?
This optional check finds the resolver your device really uses. It sends one request to ip-api.com, a third-party service, which sees your IP address and your resolver's address. Nothing is sent until you press the button. Privacy details
- Resolver address
- Resolver owner (as ip-api.com reports it)
- Your network, as passed on (ECS) Some resolvers pass a shortened part of your IP address (EDNS Client Subnet) to the DNS servers of the sites you visit, so they can pick a nearby server. "Not sent" means your resolver does not do this.
- Your internet provider
How to read your DNS speed test result
The resolver at the top answered your lookups fastest overall. Look at the cached column first, because most names you use every day (YouTube, WhatsApp, your bank) are already stored by every big resolver.
DNS is the internet's address book: before your phone can open a site, it asks a resolver which IP address the name belongs to. A browser keeps each answer for a while, so a gap of a few milliseconds between two resolvers changes very little. A resolver that is slow on uncached names, inconsistent or fails now and then is worth avoiding.
| Column | What it shows | What to look for |
|---|---|---|
| Cached | Median time for popular names the resolver already knows | The lowest number: this is how quickly everyday sites start loading |
| Uncached | Median time for a brand-new name the resolver must look up from scratch | Big gaps here show up when you open sites you have never visited |
| Spread | The middle half of the cached times | A narrow range, such as 28–35 ms, means steady answers |
| Failures | Lookups that got no usable answer | Zero. Even one failure in a short test is a warning sign |
If two resolvers are within a few milliseconds of each other, pick either one for other reasons, such as filtering or the provider's privacy policy.
What affects DNS speed
Distance to the resolver matters most. Big providers answer from many locations, and your provider's network decides which one you reach, so the same resolver can give different times on your fibre line and on mobile data. In our own browser tests from India on 30 Sep 2026, DNS4EU, which answers from Europe, took about 340 ms per lookup, while Cloudflare and Google mostly answered in 30–60 ms.
- Cache: a popular name comes straight from the resolver's memory. A new name makes the resolver ask the root servers, then the servers for .com or .in, then the domain's own servers. You can trace that path for any domain on our DNS lookup page.
- Your own connection: weak Wi-Fi or a busy line delays every lookup as well as everything else. If the times look high for every resolver, check your ping to nearby servers first.
- Filtering: CleanBrowsing Security and Cloudflare for Families block some domains on purpose. Choose one of them for its filtering, not only for its speed.
Public DNS addresses and Private DNS hostnames
Use the IP addresses on Windows, Mac, iPhone and routers. The Private DNS setting on Android needs the hostname instead. All values are from each provider's own documentation, checked on 30 Sep 2026.
| Resolver | IPv4 | IPv6 | Private DNS hostname | Filtering | Tested here |
|---|---|---|---|---|---|
| Cloudflare | 1.1.1.1 1.0.0.1 | 2606:4700:4700::1111 2606:4700:4700::1001 | one.one.one.one | None | Yes |
| Cloudflare for Families (malware) | 1.1.1.2 1.0.0.2 | 2606:4700:4700::1112 2606:4700:4700::1002 | security.cloudflare-dns.com | Malware and phishing | Yes |
| Google Public DNS | 8.8.8.8 8.8.4.4 | 2001:4860:4860::8888 2001:4860:4860::8844 | dns.google | None | Yes |
| Control D (free, unfiltered) | 76.76.2.0 76.76.10.0 | 2606:1a40::0 2606:1a40:1::0 | p0.freedns.controld.com | None | Yes |
| Quad9 (recommended) | 9.9.9.9 149.112.112.112 | 2620:fe::fe 2620:fe::9 | dns.quad9.net | Malware blocking | No |
| AdGuard DNS (default) | 94.140.14.14 94.140.15.15 | 2a10:50c0::ad1:ff 2a10:50c0::ad2:ff | dns.adguard-dns.com | Ads, tracking and phishing | No |
Sources: Cloudflare 1.1.1.1 addresses, Google Public DNS setup guide, Control D free DNS, Quad9 service addresses and AdGuard DNS providers list.
How to switch DNS on your phone, computer or router
Before you change anything, note your current DNS settings. If a hotel or office Wi-Fi login page stops appearing after the change, switch DNS back to automatic until you are logged in. Both the Google Public DNS setup guide and the Cloudflare setup pages give this advice.
Android: Private DNS
- Open your device's Settings app.
- Tap Network & internet > Private DNS. If you can't find it, search Settings for "Private DNS".
- Choose "Private DNS provider hostname".
- Type the resolver's hostname from the table above, for example
one.one.one.one(Cloudflare) ordns.google(Google). An IP address does not work here. - Tap Save.
The setting then applies on Wi-Fi and mobile data. Menu names differ between phone brands, and Google notes that some of these steps work only on Android 12 and up. By default Android already uses Private DNS on networks that support it, and Google recommends keeping it on. Steps from Google Android Help: advanced network settings.
Windows 11
- Open Settings > Network & internet.
- For Wi-Fi, select Wi-Fi > Manage known networks and pick your network. For a cable, select Ethernet and your connection.
- Select Edit next to DNS server assignment. Some Windows 11 builds show IP assignment instead; use the button your screen shows.
- Choose Manual and turn on IPv4.
- Type the two addresses in Preferred DNS and Alternate DNS. You can also turn on DNS over HTTPS here.
- Select Save.
Microsoft recommends automatic settings (DHCP) unless you have a reason to change them, and notes that the DNS over HTTPS setting is not available in Windows 10. Steps from Microsoft Support: essential network settings and Cloudflare's Windows guide.
Mac
- Choose Apple menu > System Settings, then click Network in the sidebar.
- Click your network service, such as Wi-Fi, then click Details.
- Click DNS. You may need to scroll down.
- Click + at the bottom of the DNS servers list and enter an address. Repeat for the second address.
Steps from Apple Support: change DNS settings on Mac.
iPhone and iPad
- Go to Settings > Wi-Fi.
- Tap the ⓘ next to your Wi-Fi network.
- Tap Configure DNS, then Manual.
- Add the resolver's addresses.
This changes DNS for that one Wi-Fi network only, not for other networks or mobile data. Apple's iPhone User Guide shows where the setting is; the Manual steps come from Google Public DNS and Cloudflare's iOS guide, which both cover iPhone and iPad.
Router (every device at home)
- Type the router's address into a browser. Google notes most routers use a default such as 192.168.0.1, 192.168.1.1, 192.168.2.1 or 192.168.1.100.
- Find the DNS fields. Cloudflare says they are often under WAN, Internet or IPv6, depending on the brand.
- Write down the values that are already there.
- Enter the new primary and secondary addresses and save.
Changing DNS on the router changes it for every device at home. Some provider-supplied routers do not let you change DNS. If yours does not, change DNS on each phone or computer instead, or use Private DNS on Android phones. More detail in Cloudflare's router guide.
How this DNS test works
Your browser sends every lookup itself, as DNS-over-HTTPS (DoH): an ordinary DNS question wrapped in an encrypted HTTPS request to the resolver. Each resolver gets the same binary DNS message, except AliDNS, which only lets web pages use its JSON form. Resolvers are tested one after another, never at the same time, so they do not slow each other down.
Each resolver first gets one warm-up lookup, which is thrown away because it includes setting up the secure connection. Then every round asks one popular name (google.com, youtube.com, instagram.com, flipkart.com and wikipedia.org in turn) and one random name under mpatel.org that no resolver can have stored. A lookup with no answer within 3 seconds counts as a failure.
The table shows medians and the middle half of the times. The ranking uses a score that is ours: 60% of the cached median plus 40% of the uncached median, plus 150 ms times the share of failed lookups. Times are measured by the browser's clock, because no resolver lets web pages see a finer timing breakdown.
What this cannot tell you: the fastest resolver in this test is fastest from your browser, over DNS-over-HTTPS, right now. Your phone or router normally uses plain DNS on port 53, which a web page cannot measure, so treat the ranking as a strong hint, not a guarantee. Each resolver you test sees your IP address and the names above, as with any DNS lookup.
The benchmark is light on data: in our own run on 30 Sep 2026, 49 lookups downloaded about 12 KB of DNS answers, so even the 5-round test uses far less than 1 MB of mobile data.
The optional resolver check sends one request to ip-api.com's EDNS service, which reports the address of the resolver that looked up a random name. It runs only when you press its button. Read the full method on our About page and what each service sees in our privacy policy.
Questions about DNS speed
Does changing DNS make my internet faster?
Changing DNS only changes how quickly names are looked up, not your download speed or your ping in games. A browser looks up a name once and reuses the answer for a while, so a faster resolver mostly helps when you open new sites. If videos buffer or games lag, test your internet speed instead.
Is public DNS private?
Public DNS is only as private as the provider you trust with it, because the resolver sees every name your devices look up. Encryption such as DoH or Private DNS stops people on the path from reading your lookups, but not the resolver itself. Read each provider's own privacy policy; Control D, for example, says its free resolvers do "Not store logs (no individual browsing history, timestamps, or query logs)".
What is the difference between DoH and normal DNS?
Normal DNS sends lookups unencrypted on port 53, while DNS over HTTPS (DoH) encrypts DNS queries by wrapping them inside regular HTTPS requests, in Cloudflare's words. DNS over TLS (DoT) is a third option that uses port 853, and the Private DNS setting on Android uses DoT or DNS-over-HTTP/3. This page measures DoH, because it is the only kind a web page can send. See Cloudflare's explanation of DoH.
Why do my DNS results change between runs?
DNS results change between runs because your connection, the resolver's load and its route to other DNS servers change from minute to minute. Uncached lookups vary most, since each random name is looked up from scratch. Run the test twice with 5 rounds and compare the order of the resolvers rather than the exact milliseconds.
Is there a DNS benchmark I can install on my computer?
Yes. GRC's DNS Benchmark is a Windows program, which GRC says also runs on Linux under Wine, that times DNS resolvers from the computer itself. Version 2 is paid software with a one-time fee. Because it does not go through a browser, it can also time resolvers such as Quad9 and AdGuard that this page cannot. Details are on GRC's DNS Benchmark page.