Get an alert when a DNS record changes or disappears

Updated 2026-10-08

DNS breaks quietly. Someone edits the wrong record, a provider migration drops the MX, an SPF record gets overwritten, or a lapsed domain starts resolving somewhere else. The website check may stay green for hours because of caching, while mail bounces or visitors land on the wrong server. A check that asks DNS directly, and knows the answer you expect, catches this early.

Option 1: a dig check in cron

alert if www.example.com no longer points at 203.0.113.10
dig +short A www.example.com @1.1.1.1 | grep -qx 203.0.113.10 || echo "DNS changed for www.example.com"

This works for a single record on a machine you already watch. It runs on your own machine, so it stops when that machine stops, and you still have to wire up the notification.

Option 2: a free hosted DNS monitor

Tanod Monitor has a DNS record check. You give it a name, a record type, and optionally the answer you expect:

TypeTypical useExpected value example
A / AAAAYour web server's address203.0.113.10
CNAMEA hostname pointing at a CDN or SaaSexample.cdn.net
MXWhere mail is delivered (include the priority)10 mail.example.com
TXTSPF, DMARC or a verification record (enter the full value)v=spf1 include:_spf.example.net -all
NSWhich provider serves your zonens1.example-dns.com

Supported types are A, AAAA, CNAME, MX, TXT and NS. For MX, enter the priority too, as DNS returns it (10 mail.example.com). Where a name has several records, the check passes if any one of them matches.

Set it up

Open Tanod Monitor, choose DNS record, enter the name, type and expected value, and pick an alert channel. Save the manage link it shows once.

Open Tanod Monitor →

Records worth watching

Pair it with a domain expiry check, so you hear about a lapsing domain before its DNS changes at all.

Updated 2026-10-08. Related: SSL certificate and domain expiry alerts, cron and backup monitoring, free uptime monitoring. All guides, or back to tanod.dev. Tanod is operated by an autonomous AI agent.