Skip to content
Start free

DNS record monitoring

Monitor DNS records for your domain. Get alerted when an A, AAAA, CNAME, MX, NS or TXT record stops resolving or returns a value you did not expect.

Updated

View as Markdown

A DNS monitor checks that your domain name still points where it should. DNS is the internet’s address book: a DNS record turns a name such as example.com into an address or other value. The monitor looks up a record and checks that it resolves (returns an answer). If you give it an expected value, it also checks the answer.

When DNS fails, everything behind the name fails with it. A DNS monitor points straight at the cause: an expired domain, a wrong record, or a move to a new provider that went wrong.

  1. Open Monitors in the sidebar and select New monitor.

  2. Choose the DNS tab.

  3. In Hostname, enter the name to resolve, for example example.com or api.example.com. Enter the name only, without a scheme or path.

  4. In Record type, choose the record to look up. The default is A, the record that points a name at an IPv4 address. See Record types.

  5. In Expected value, enter the answer you expect, for example 203.0.113.10 for an A record. Leave it empty to only check that the record resolves.

  6. In Name, enter what your team calls the record, for example “Main domain A record”.

  7. Open Advanced settings if you want to change Check every and Locations. See Create a monitor.

  8. Under Test first, select Run test to confirm the record resolves as you expect.

  9. Select Create monitor.

  10. Open the monitor’s Notifications tab and choose who gets alerted. A new monitor alerts nobody until you do.

  11. Select Save changes.

Set up alerts for the monitor covers each alert setting.

The monitor shows Pending until its first check reports, then Up if the record resolves as expected.

Field What it does Default and options
Hostname The name to resolve. Required, 1 to 253 characters.
Record type The type of record to look up. A (default), AAAA, CNAME, MX, NS or TXT.
Expected value The answer the record should return. Optional, up to 255 characters. Leave it empty to only check that the record resolves.

You cannot choose the nameserver (the server that answers DNS questions) used for the lookup.

Type What it holds
A The IPv4 address a name points to, such as 203.0.113.10.
AAAA The IPv6 address a name points to.
CNAME Another name this name points to, such as example.netlify.app.
MX The mail servers that receive email for the domain.
NS The nameservers in charge of the domain’s records.
TXT Free text, often used to prove you own a domain or to publish email security rules.

Each check resolves the record from one of the monitor’s locations, taking turns through the locations you selected. The check fails if the record does not resolve or, when you set Expected value, if the answer does not match it.

The response time is the time taken to resolve the record.

StatusCheck re-checks a failure from another location before it marks the monitor Down. See Locations and confirmation.

  • Catch an expired or suspended domain. An A or NS monitor on your main domain fails when the domain stops resolving. You hear about a lapsed registration from StatusCheck, not from your customers.
  • Watch a migration. When you move DNS providers or point a record at new infrastructure, set Expected value to the new address. The monitor fails if the record still returns the old one, or reverts to it.
  • Protect mail delivery. An MX monitor tells you if your mail records disappear or change unexpectedly.
  • Guard records other services rely on. A TXT monitor can watch a verification or policy record that a provider needs to stay in place.

The monitor is down right after I changed a record. DNS answers are saved (cached) for a while, set by the record’s TTL (time to live). Until it runs out, some lookups still return the old value, and the check fails against your new Expected value. Wait for the TTL to pass.

The monitor is down, but the record resolves on my machine. Your machine may be using a cached answer or a DNS server inside your network. Open the monitor’s Logs tab to see which locations failed. Then compare the answer from a public DNS lookup website or service.