Select a metric set that exposes DNS problems before users report them.

If you could put only five numbers on a DNS dashboard, these would be the five. The order is deliberate.

Metric

What it is

Why it exposes what averages hide

Resolution latency (p50 / p95 / p99)

Time from query issued to answer received, by client region

The average is dominated by cache hits and stays flat while the tail gets worse. p95 is where users live.

Cache hit ratio

The share of queries answered from memory rather than passed on

A falling ratio is the earliest signal of a TTL change, a change in traffic mix, or an abuse campaign.

Query volume by response code

NOERROR, NXDOMAIN, SERVFAIL and REFUSED over time

A rising NXDOMAIN share is the classic random-subdomain attack signature and a common sign of misconfiguration.

Cold-lookup share

The proportion of sessions whose first lookup missed the cache

Isolates the first-impression delay that page-level metrics average away.

Answer correctness

DNSSEC validation results, and checks of answer against intent

The only metric that catches a fast, available and wrong answer.

What is a percentile? Imagine 100 customers lined up from quickest served to slowest. The p50 is the 50th person: a typical experience. The p95 is the 95th person: it tells you that 95 customers were served at least that fast, and 5 waited longer. The p99 looks at the very slowest one in a hundred. Percentiles show you the unlucky users that an average smooths away.

Why is the average especially useless in DNS? Because a remembered answer comes back in under a millisecond, and remembered answers make up most of the traffic. So the average is mostly a measure of your hit ratio wearing a latency costume. It will look excellent while the p99 doubles.

A word on each metric. Cache hit ratio is the best early-warning light in the whole system, because it moves before latency does. The response-code mix is where security and performance meet: a rising NXDOMAIN share usually has just two common causes, a misconfiguration or a random-subdomain attack, and you want to know which within minutes, not days. Cold-lookup share connects DNS to commercial results because it isolates the first-time experience. And correctness comes last on the list but first in severity.

Averages lie here more than anywhere else. A warm cache answers in under a millisecond, so mean resolution latency is always excellent and always uninformative.

Pull one week of resolver or authoritative logs and work out p50, p95 and p99 resolution latency, plus the NXDOMAIN share. Record all four numbers in your plan.