← Blog

October 23, 2026 · 5 min read

A DNS record changed. Should your OpenClaw monitor alert?

Compare authoritative records, resolver caches, and approved changes before treating a DNS difference as an incident.

Runbooks' DNS Monitor template compares A, CNAME, MX, TXT, and NS answers with a previous snapshot every six hours. That is a useful starting observation, not evidence that someone hijacked a domain. The answer may come from a recursive cache, an old nameserver delegation, or an approved change. An alert should say which record and source changed, what was expected, and whether a human needs to act.

Compare the right record with the right source

  1. Keep an approved inventory by fully qualified hostname and record type, including expected values, responsible owner, and planned change window. A single snapshot of yesterday's answer is not an approval record.
  2. Query the currently delegated authoritative nameservers for the record. Record each nameserver, query time, answer, response status, and TTL. Check the domain's actual delegation if your configured DNS zone and the live answer disagree.
  3. Query a recursive resolver separately. If its answer differs, record the TTL and retest after the previously cached value could expire. Changing a TTL now cannot flush an answer already cached under the old TTL.
  4. Compare both observations with the approved inventory and change log. Escalate an unexplained authoritative change to the domain owner; investigate a resolver-only mismatch as a caching or delegation problem first.

Cloudflare documents TTL as a cache duration and notes that a local cache may retain an older answer longer. AWS Route 53 also documents wrong hosted zones and old nameserver delegations as reasons a DNS update appears ineffective. Neither source gives one safe wait time for every DNS provider or network.

An operator decision table

ObservationNext stepWhat not to claim
Authoritative answer differs from the approved record; no known changeNotify the domain owner with record type, old and new values, nameserver and timestamp; verify provider audit historyA DNS difference alone does not prove compromise
Authoritative answer matches the approved change; resolver still returns the old valueCheck delegation and prior TTL; sample again after the relevant cache windowDo not call an old cache an attacker
Nameservers disagree or delegation points to another zoneCheck registrar delegation and the intended provider zone before changing recordsDo not assume the zone you edited serves the public answer
Queries fail or time out after a retryReport an observation failure and investigate resolver or network reachabilityA failed query cannot establish the current DNS value

Rehearse the alert before relying on it

In a test zone you control, record the approved baseline, make a planned change, and check whether the monitor includes its source and the change window rather than sounding a security alarm. Next, intentionally query an unreachable resolver: the result should say 'unable to observe', not 'records unchanged'. Finally, verify the recipient actually receives an alert and can open the evidence. The test is a proposed acceptance procedure, not a claim that the gallery template has passed it.

The gallery item lists web_fetch and message and describes its cadence inside HEARTBEAT.md text; it does not install a DNS-query integration or an OpenClaw Automation. Use a DNS-capable source for record types and create an actual schedule with run history if this must run independently. Keep urgent availability or security paging in the system your team already operates; use the agent to assemble a bounded, reviewable change report. OpenClaw's run result and delivered message are separate checks.

Inspect the DNS Monitor template

Sources and further reading

More posts

October 20, 2026

Zero errors is not always good news: checking the log pipeline before an agent alerts

October 17, 2026

A running container is not a healthy service: an OpenClaw monitoring runbook

October 14, 2026

OpenClaw database backup checks vs restore tests: what each proves

October 5, 2026

OpenClaw automation ran, but no message arrived: diagnose execution and delivery

October 2, 2026

OpenClaw SecretRefs for recurring workflows: a practical migration checklist

September 29, 2026

The scheduled blog queue ran dry: a runway check that catches it early

August 24, 2026

Agent workflow validation checklist before you reuse a template

August 21, 2026

Bounded background tasks for coding agents

August 18, 2026

Agent runbook status files that actually work

August 15, 2026

7 OpenClaw workflows worth running, and 5 that are not

August 12, 2026

The OpenClaw workflow security checklist we use before turning on tools

August 9, 2026

Your HEARTBEAT.md should be boring

August 6, 2026

How to build an OpenClaw automation that survives retries

August 3, 2026

OpenClaw cron vs heartbeat: the production rule that actually works

April 30, 2026

OpenClaw just shipped real voice agent calls. Here are 5 workflows worth setting up.

March 27, 2026

The best OpenClaw skills nobody knows about

March 25, 2026

Top AI agent workflow templates for developers in 2026

March 23, 2026

OpenClaw vs n8n: when to use each for agent automation

March 20, 2026

How to automate Make.com workflows with AI agents

March 18, 2026

Best n8n workflow templates for email automation

March 15, 2026

OpenClaw starter packs: the fastest way to a useful agent

March 12, 2026

How to build your own OpenClaw runbook from scratch

March 9, 2026

5 OpenClaw workflows that save 10 hours/week