Docs menu

    DNS record monitors

    Check that a DNS record exists, matches values you expect, or hasn't changed.

    What it checks

    Available on Paid plans

    A DNS record monitor asks public resolvers for one name and record type. Use it to catch a record that disappears, stops matching what you expect, or changes.

    It asks Cloudflare's resolver first, then Google's. A record check uses the second only when the first couldn't answer. A change check asks both every time. It does not use your own resolver. Order, trailing dots and capital letters don't matter, except in TXT values, where capital letters do.

    Add a monitor

    Available on Paid plans

    1. Choose Add monitor, and choose DNS record.
    2. Enter the domain name and the record type: A, AAAA, CNAME, MX, NS and TXT.
    3. Choose what to check, set the interval and the timeout, then choose Create monitor.
    A DNS record monitor set to check that the record exists.
    The Add monitor form with Type set to DNS record, a domain name, the record type, the Check list on The record exists, Interval, Timeout and Create monitor.The Add monitor form with Type set to DNS record, a domain name, the record type, the Check list on The record exists, Interval, Timeout and Create monitor.
    • Domain name

      What it does: The name to look up, like example.com. A scheme or a path is refused.

    • Record type

      What it does: A, AAAA, CNAME, MX, NS and TXT.

    • Check

      What it does: The record exists, the records equal the values you list, or the records include those values. MX, NS, CNAME and TXT can also alert when the records change.

    • Expected values (one per line)

      What it does: Shown for an equals or includes check. Up to 20 values. An MX value is priority host, like 10 mail.example.com.

    • Interval

      What it does: How often to check: 30 seconds, 1 minute, 5 minutes, 10 minutes, 30 minutes and 1 hour, no faster than your plan allows.

    • Timeout (ms)

      What it does: How long the lookup may take. See Shared settings.

    Exists, equals and includes

    Available on Paid plans

    • The record exists passes when the resolver returns at least one record of that type.
    • The records equal these values passes only when the set is exactly the values you wrote. An extra record fails it.
    • The records include these values passes when every value you wrote is there. Extra records are fine.

    A name that doesn't exist fails, and so does a name with no records of that type. If the lookup itself fails, the check fails too.

    Alert when the records change

    Available on Paid plans

    This check is for MX, NS, CNAME and TXT only. A and AAAA aren't offered, because those addresses move behind load balancers.

    • Both resolvers have to agree. If they don't, the check isn't counted.
    • Until you approve a set, nothing alerts. On the monitor, choose Approve these records.
    • The same new set has to be seen 3 times, at least 10 minutes apart. A different set starts the count again.
    • A confirmed change shows as degraded, never as down, until the records match the approved set again or you approve the new ones.

    Entering degraded sends one alert, then not again for 24 hours. Changing the name, the record type, or leaving this check clears the approved set.

    Plans

    On a plan that doesn't include this type, you can't add one, and an existing one stays paused. Resume answers: This monitor type is on paid plans. Upgrade to resume it; its settings and history are kept.

    Interval, timeout, pausing and plan limits are on the Shared settings page.

    When a check fails

    Available on Paid plans

    • The name doesn't exist

      Why: The resolver answered that the name doesn't exist.

      What to change: Check the spelling of the domain name.

    • No records of that type

      Why: The name exists and has no records of the type you chose.

      What to change: Choose the type you publish, or publish the record.

    • The values don't match

      Why: Equals saw a different set. Includes is missing a value you wrote.

      What to change: Compare the expected lines with the live records. MX lines are priority host.

    • The lookup failed

      Why: The resolvers didn't answer in time, or refused the query.

      What to change: Try again, or raise the timeout.