Skip to content
gl.tools

Test DNS server speed

This tool queries two dozen public DNS providers one after another and shows which one answers fastest over your connection. The queries go straight from your browser, from your IP address; we see none of it. You can add a server of your own for comparison.

  • Free
  • No sign-up
  • Runs in your browser
  • Nothing is transmitted

Measures how quickly public DNS servers answer over your own connection. Every query goes straight from your browser – from your IP address, not through us. Each provider gets a warm-up query first, so the connection setup is not what gets measured, then five names.

A DNS-over-HTTPS address, for example https://dns.example.org/dns-query. A bare IP such as 9.9.9.9 will not work: a browser cannot send ordinary DNS queries, only ones over HTTPS.

Did this help you? Buy me a coffee

Common questions

Why does a provider answer only some of the queries?
Its row then says “only 2 of 5 answered”, and the reason usually lies on the way there rather than with the provider. We traced it for Quad9 on 13 November 2026: the first queries go over HTTP/2 and are answered. In doing so the server mentions that it also speaks HTTP/3 – and Chrome switches to it. HTTP/3 runs over UDP, and that path does not work from every connection; when it fails, the browser does not fall back to HTTP/2. We proved it by switching HTTP/3 off: the same provider then answered all five queries, against two with HTTP/3. Cloudflare and Google were unaffected. A web page cannot change any of this – which is why the tool tells you how many answers a number rests on, instead of letting a median from a single measurement look like one from five.
What is actually being measured here?
The response time over DNS-over-HTTPS – DNS wrapped in HTTPS, with TCP, TLS and HTTP on top. That is not the same as the raw response time on port 53 that a tool like dig measures, and it is systematically higher. This is not an oversight but a limit of the browser: it cannot send ordinary DNS queries at all, no UDP and no port 53. DNS-over-HTTPS is the only way. The numbers are still good for comparing providers with each other, because all of them are measured under the same conditions.
Why do some rows say “unverified”?
Because those providers do not let the browser read their answer. The time can still be taken – but nobody can check whether a DNS answer arrived at all, or merely a rejection. That matters: we measured it, and a rejected query is FASTER than an answered one – 13 milliseconds for pure nonsense against 15 for a real query. A machine running no DNS service at all returned 22 milliseconds, a perfectly plausible-looking value. Putting such numbers unmarked into a ranking sells a rejection as first place. For the other rows the answer is read and checked: response bit set, error code zero, at least one record.
Can I test my own DNS server with this?
Only if it speaks DNS-over-HTTPS. A bare IP such as 9.9.9.9, or your router's address, will not work – the browser simply has no way to do it. Enter an address of the form https://dns.example.org/dns-query. Addresses inside your own network are refused on purpose, as is any port other than 443: otherwise a stopwatch could be used to probe which devices you have and which ports are open. A speed test is not a network scanner.
Why is the first measurement left out?
Because the first query to a provider drags the connection setup along with it: the TCP handshake, then TLS. That can be several times the actual response time and says nothing about the quality of the DNS service. So each provider first gets a warm-up query that does not count, and only then five names are measured. What you see is the median of those five – a single outlier should not tip the result.
Does this tool reveal my queries to you?
No. The queries go straight from your browser to the provider in question – our server plays no part and learns neither that you measured nor what came out. We also ask for a fixed list of well-known names such as wikipedia.org, not for sites you visit. What the DNS providers themselves see is the same as always: your IP address and the name asked for.

Related tools

All tools of this kind: Network tools