Monitors

DNS monitors

A DNS monitor looks up one record on every check: an address, a mail server, a name server or a text record. It tells you when the record is gone, or when none of its values is the one you expect.

On this page

Create a DNS monitor

  1. On Monitors, press New monitor and choose DNS record.
  2. Type the Host: a domain name such as example.com or mail.example.com. An IP address is not accepted.
  3. Choose the Record type: A, AAAA, CNAME, MX, NS or TXT. It is A at first.
  4. If one value must be there, type it in Expected value (optional). Leave it empty to accept any value.
  5. Choose the Check interval and the Timeout, then press Create monitor.

The expected value

Without an expected value, the check passes when the name has at least one record of that type. With one, it passes when any of the records has that value. You can type one value only, of at most 255 characters.

Record typeWhat to typeHow it is compared
AAn IPv4 address, such as 93.184.215.14.As an address.
AAAAAn IPv6 address, such as 2606:2800:21f:cb07::1.As an address, so a short and a long way of writing it are the same.
CNAMEThe name the record points to, such as example.com.Upper and lower case and a final dot do not matter.
MXThe mail server's name, such as mail.example.com, without the priority.Only the name counts, not the priority.
NSA name server, such as ns1.example.com.Upper and lower case and a final dot do not matter.
TXTThe whole text, such as v=spf1 include:example.com ~all.Exactly, letter for letter, upper and lower case included. Spaces at the start and the end are ignored.

To see what a record holds now, ask DNS from your computer. dig shows a TXT value in quotes: type it without them. It shows an MX record with its priority first: type only the name. On Windows, nslookup -type=MX example.com shows the same.

Shell
dig +short example.com A
dig +short example.com MX
dig +short example.com TXT

Which DNS server answers

The check asks the resolver of the place that makes it: our main server, or a probe in another place. That is the way your visitors' devices ask their own resolver. The places take turns, as for every monitor.

When a monitor counts as down

Reason in the dashboardWhat happened
No DNS record of this typeThe name does not exist, or has no record of this type. For CNAME, a name without a CNAME record counts here too.
DNS record has another valueRecords exist, but none has the expected value.
No answer in timeThe resolver did not answer within the timeout.
Address not found (DNS)The resolver answered with another error, for example because the domain's name servers failed.

After a failed check, the monitor is checked again 30 seconds later, or sooner when the interval is shorter. Only a second failure in a row makes it Down and sends the alert. When other places are online, they check at the same moment, and the status changes only when most of them agree. One good check brings it back Up.

The dashboard shows whether the check passed, not the values it found: they are not stored. No route is traced when a DNS monitor goes down, because the problem is in the records, not on the way to a server.

What a DNS monitor does not do

  • Other record types, such as SRV, CAA, SOA or PTR, and DNSSEC checks.
  • More than one expected value, or a check that every record has it.
  • Checks on a record's TTL, or on an MX record's priority.
  • An IP address as the host, for a reverse lookup.

A DNS monitor watches one record over time. To check a whole domain at once, its name servers, mail records, SPF and DMARC, use the free DNS report.

More guides

All guides