Skip to content
toolstome

DNS benchmark (DNS-over-HTTPS)

Which public DNS service is fastest depends on where you are and who your provider is, so the only useful test is one run from your own connection. This benchmark sends real DNS queries from your browser to six public resolvers over DNS-over-HTTPS (Cloudflare, Google, Quad9, Control D, DNS.SB and CleanBrowsing) and times them. It measures popular names that resolvers usually have cached, and random names that force a fresh lookup, then ranks the resolvers by median time. The first query to each resolver is shown separately because it includes setting up the connection.

Free · No sign-upProcessed in your browser

Times 6 public DNS-over-HTTPS resolvers from your browser, one after another.

Each resolver: 1 warm-up query for example.com, then 2 rounds of 6 popular names (cached) and 2 random names under dnsbench.toolstome.com (uncached). Times include the HTTPS round trip.

How to use the DNS Benchmark

  1. 1

    Start the benchmark

    It sends about 15 queries to each resolver, one resolver at a time, and takes 20–60 seconds.

  2. 2

    Read the medians

    Cached shows typical everyday speed; uncached shows how quickly a resolver fetches a name it hasn't seen.

  3. 3

    Ignore one-off spikes

    Run it two or three times; networks vary from minute to minute.

  4. 4

    Change your DNS if you like

    Use the fastest resolver's address in your router or device settings, or its DoH address in your browser.

How it is measured

Each query is a standard DNS message (RFC 1035) sent with HTTPS GET to the resolver's DoH address (RFC 8484), timed from sending the request to receiving the full answer. The figure includes the HTTPS round trip, so it is usually higher than classic DNS over UDP port 53 and comparable between resolvers.

Cached queries ask for six of the world's most visited domains. Uncached queries ask for a random, never-used name under a test zone, which no resolver can have in its cache. Results are ranked by the median cached time, which is less affected by outliers than the average.

When to use it

  • Choose the fastest public DNS service for your router or devices.
  • Check whether your current DNS provider is slowing down page loads.
  • Compare privacy-focused resolvers before switching.

Limits

  • Only resolvers that allow requests from web pages can be tested; your ISP's own DNS can't be tested from a browser.
  • Times are for DNS-over-HTTPS. Classic DNS on port 53 is usually faster, but the ranking is similar.
  • Browser extensions, VPNs and content blockers can slow down or block some resolvers.

Privacy

Queries go straight from your browser to each resolver. They contain only the test names listed in the method note. Toolstome doesn't see the results.

Frequently asked questions

What is the fastest DNS server?

It depends on your location and provider, which is why you should test from your own connection. Cloudflare and Google are often fastest for cached names because they have servers in most cities.

Why are uncached lookups slower?

The resolver has to ask the authoritative servers for the domain, which takes extra round trips. Cached answers come straight from the resolver's memory.

Why is the first query so slow?

It includes the DNS lookup of the resolver itself, the TCP connection and the TLS handshake. Later queries reuse that connection, as real browsing does.

Can I test my ISP's DNS?

Not from a web page. Most ISP resolvers only speak classic DNS on port 53, which browsers can't send directly. Desktop tools such as GRC's DNS Benchmark can test them.

Does faster DNS make the internet faster?

It speeds up the first visit to each site by a few to tens of milliseconds. Download speed is not affected.

Is DNS-over-HTTPS more private?

It encrypts queries between you and the resolver so your network can't read or change them. The resolver still sees them, so pick one whose privacy policy you trust.

People also use

Last updated November 29, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More