Response Time Test: Cold vs Cached DNS Latency

Free DNS response time test: measure cold vs cached resolution to diagnose slow authoritative DNS.

100% Free · No Sign Up ⚡ Instant Live Query 🛡️ Browser DoH · Nothing Stored by Us
DNS-over-HTTPS
Try instantly:

Sample diagnostic for example.com. Enter your own domain above for live results.

ResolverCached lookupFresh lookup (cold)Difference
Cloudflare8 ms14 ms+6 ms
Google21 ms33 ms+12 ms
AliDNS45 ms52 ms+7 ms

How it works

For each public resolver, the test first queries your apex domain a couple of times (these answers are almost always cached somewhere along the chain) and then queries three never-before-seen hostnames under your domain, like cold-x7f2.yourdomain.com. A brand-new name cannot be in any cache, so the resolver is forced to walk the full chain: root servers, the TLD, then your authoritative nameservers.

The cached time tells you how fast everyday repeat traffic is served; the fresh (cold) time tells you how fast your domain's DNS actually answers when it matters: first visitors, TTL expiry, and new subdomains. Unless you publish a wildcard record, cold lookups return NXDOMAIN, which is a complete, valid answer for timing purposes.

Reading the results

  • Cold slower than cached is normal: caches exist precisely to skip the walk. A 2-10x difference is unremarkable.
  • Cold times above roughly 300 ms on every resolver point at authoritative nameservers that are slow or geographically far from resolvers, not at your local network.
  • Single runs are noisy: packet loss or a busy moment can skew one measurement. Run the test a few times and look for consistency before concluding anything.

Common errors

One resolver skipped or timed out

Its DoH endpoint is unreachable from your network path; retry on another connection.

Cold lookups return NXDOMAIN

That is expected for non-wildcard domains and does not affect the timing, which is the measurement.

FAQs

What is a good fresh-lookup time?+

Well-placed anycast authoritative DNS typically resolves a brand-new name in 50-200 ms. Consistently above 300 ms across resolvers is worth investigating.

Does this test encrypt my queries?+

Yes: all queries travel over DNS-over-HTTPS, so your network operator sees HTTPS traffic, not DNS.

How is this different from the DNS Speed Test?+

The speed test compares resolvers against each other for your network. This test measures how fast your domain's own DNS chain answers from scratch, which is a property of your domain, not of the resolver.

Related

Last verified: 2026-11-11