The short answer

Monitor four things: that every authoritative nameserver answers (availability), how fast it answers compared with normal (latency), that key records and the delegation have not changed unexpectedly (changes), and that DNSSEC signatures are valid and not about to expire (DNSSEC health). Ask the authoritative servers directly as well as through resolvers, from several locations, and alert only when a failure is confirmed from more than one place over more than one check. A one-time scan is a snapshot; monitoring is the same checks repeated, with someone told when they fail.

What to check

CheckHowTypical interval
Each nameserver answersQuery the SOA from every NS name, over IPv4 and IPv6, UDP and TCP, and expect the aa flag1 to 5 minutes
Serials agreeCompare the SOA serial across nameservers; alert if one lags for longer than your usual transfer time5 minutes
Resolution through public resolversLook up the main names through two or three public resolvers1 to 5 minutes
LatencyRecord query time per nameserver and location, and compare with a baselineEvery check
DelegationCompare the parent's NS (and DS) records with the expected setHourly
Key recordsCompare A, AAAA, CNAME, MX, SPF, DMARC, CAA and NS for important names with expected values15 minutes to hourly
DNSSECValidate through a validating resolver, and warn when RRSIG expiry is within a few daysHourly
RegistrationDomain expiry date, registrar and status codesDaily

Monitor the authoritative servers directly. A resolver check alone can stay green for hours after your nameservers fail, because the resolver keeps answering from its cache until the TTL runs out.

Checks you can run today

CommandPass condition
dig +norecurse +time=2 +tries=1 @ns1.example.com example.com SOAAnswer within 2 seconds, status NOERROR, aa flag set
dig +norecurse +tcp @ns1.example.com example.com SOAThe same over TCP
dig +nssearch example.comEvery nameserver reports the same serial
dig +norecurse @a.gtld-servers.net example.com NSThe delegation lists exactly the expected nameservers (use the parent zone's servers for other TLDs)
dig @1.1.1.1 +dnssec example.com SOAThe ad flag is set, meaning the answer validated
dig +short @ns1.example.com example.com RRSIGThe expiry date in each signature is more than a few days away

Monitoring systems run the same queries: the Prometheus blackbox exporter has a DNS probe, Nagios and Icinga have check_dig, and RIPE Atlas and Globalping can run DNS measurements from many networks.

Probe locations

  • Use at least three locations on different networks. Most DNS providers use anycast, so each location may reach a different instance of the same nameserver address.
  • Include locations near your users. An outage of one anycast site only affects the users routed to it.
  • Watch from inside and outside if you run split DNS, since the two views are meant to differ.
  • Do not run all probes from the same cloud as your nameservers, or one network problem takes out both the service and its monitor.

Thresholds and false positives

Alert on confirmed failures, not single lost packets. A common rule is: alert when the same check fails from at least two locations for two consecutive runs. For latency, alert on a sustained change from the baseline (for example, the median over 15 minutes doubling) rather than a fixed number, since normal latency depends on where the probe is.

False alarmHow to avoid it
A probe's own network has a problemRequire agreement between locations, and monitor the probes themselves
A provider rate-limits frequent queriesKeep intervals sensible and query the SOA rather than many names
A planned change trips the record checkUpdate the expected values as part of the change, or silence the check during the change window
Anycast routing shifts and latency jumpsUse baselines per location and alert on sustained changes only
The monitoring resolver does not validate DNSSECUse a validating resolver for DNSSEC checks, and confirm it sets the ad flag on a known-good domain

One-time checks versus monitoring

A scan tells you how a domain looks at one moment from one place. It is the right tool for an audit, before and after a change, and for finding problems you did not know to watch for. Monitoring repeats a smaller set of checks forever and tells someone when they fail. You need both: use a scan to decide what is worth monitoring, and monitoring to find out when it breaks.

How DNS Panopticon helps

DNS Panopticon's DNS tools are one-time observations and do not alert you when DNS changes. Security Posture checks a domain's nameservers, SOA, DNSSEC, CAA and email records on demand, which is a good way to choose what to monitor; the DNS Propagation Checker compares one record across authoritative servers and public resolvers worldwide; and Ping measures latency to a nameserver from probes around the world. On plans that include it, Website Recon registration tracking re-checks a domain's registration once a day and emails you when the registrar, status codes, expiry date or registered nameservers change. It does not watch DNS records, availability or latency.

FAQ

Is uptime monitoring of my website enough?

Not on its own. A website check usually goes through a resolver, so it keeps passing on cached answers after your nameservers fail, and it does not notice changed MX, SPF or CAA records.

How often should DNS be checked?

Every one to five minutes for nameserver availability, and every 15 minutes to an hour for record, delegation and DNSSEC checks. Registration details change rarely, so daily is enough.

Why monitor DNSSEC signature expiry?

Signatures have an end date. If the signer stops, the zone keeps working until the signatures expire and then fails for every validating resolver at once. A warning a few days ahead gives you time to fix it.

Does monitoring need to run from many countries?

From at least three locations on different networks. Add locations where your users are, since anycast means an outage may only affect some regions.

Sources and further reading