CNAME record monitoring
DoubleCheck checks that a name still points to the target you expect, and alerts you when the alias is changed or removed.
The problem
Many services ask you to point a name at theirs with a CNAME: a website on a hosting platform, a mail provider, a content delivery network.
When the service is cancelled or moved, the CNAME is often left behind. A forgotten record that points to something you no longer control can be taken over by someone else.
Why it matters
A changed or removed CNAME takes the service behind it offline, while your own servers keep running and show nothing wrong.
A name that points to a hosting platform account you closed is a known way to take over a subdomain. Knowing when a record changes helps you catch it.
How to check it manually
Look up the CNAME of a name with dig or nslookup:
dig +short CNAME www.example.com
nslookup -type=CNAME www.example.com
How DoubleCheck checks it
You enter the name and the target it should point to. DoubleCheck reads the record once a day and compares them.
Leave the target empty to only check that the name is a CNAME.
- Measures
- A DNS CNAME lookup of the name you enter, compared with the target you expect.
- Runs
- Once a day. The interval is the same for every domain check: what it reads rarely changes.
- Status
-
- OK when the name is a CNAME that points to the expected target.
- Warning when it points to another target as well, unless you accepted extra records.
- Error when the expected target is missing, or the name is not a CNAME at all.
- Unknown, and no alert, when DNS itself does not answer.
- Options
-
- Expected values: the target the name must point to. Leave it empty to only check that the name is a CNAME.
- Records that are not expected: a warning by default. Choose "accept" to ignore them.
Frequently asked questions
Does the check follow the alias to an IP address?
No, it reads the CNAME itself. To check that the name finally leads to a working site, use the website uptime check.
Which name do I enter?
The name that holds the alias, for example www.example.com. A bare domain can usually not be a CNAME.
Start monitoring with DoubleCheck
Start with €5 of free credit, no credit card required. Alerts by email, SMS, Slack, Microsoft Teams or Discord.