MX record monitoring
DoubleCheck compares the MX records of your domain with the mail servers you expect, and alerts you when one disappears or an unknown one appears.
The problem
The MX records decide where mail for your domain is delivered. They are edited by hand in DNS, often during a migration to a new mail provider.
A wrong or forgotten record sends mail to the old server, or to none at all, and nobody notices until mail goes missing.
Why it matters
If the MX records are gone or wrong, incoming mail bounces or lands on a server you no longer read.
An MX record you did not add can mean a DNS change by someone else, or a hijack of your domain. Reading the records regularly is the quickest way to see it.
How to check it manually
Look up the MX records of a domain with dig or nslookup:
dig +short MX example.com
nslookup -type=MX example.com
Compare the host names and priorities with the list from your mail provider. It is easy to do once and easy to forget afterwards.
How DoubleCheck checks it
DoubleCheck reads the MX records once a day and compares them with the values you entered. A missing server is an error, an extra one is a warning, so you see both a lost and an unexpected record. Accept extra records in the options if you only care about the ones you entered.
Enter just the host (mail.example.com) to ignore the priority, or the host with its priority (10 mail.example.com) to check that too. When you add the check through the wizard, the records that exist now are filled in for you.
- Measures
- A DNS MX lookup of your domain, compared with the mail servers you expect. You can enter the host only, or the host with its priority.
- Runs
- Once a day. The interval is the same for every domain check: what it reads rarely changes.
- Status
-
- OK when the domain has MX records and every expected mail server is present.
- Warning when a mail server appears that you did not expect, unless you accepted extra records.
- Error when an expected mail server is missing, or the domain has no MX record at all.
- Unknown, and no alert, when DNS itself does not answer.
- Options
-
- Expected values: the mail servers that must be there. Leave them empty to only check that the domain has MX records.
- Records that are not expected: a warning by default. Choose "accept" to ignore them.
All of it in one report
Want to see this next to the rest of the mail setup of a domain? The e-mail health report reads MX, SPF, DKIM, DMARC, blacklists, name servers and the domain registration at once and gives you a PDF with findings and advice, for €0.20.
Frequently asked questions
Can I enter more than one mail server?
Yes, separate them with a comma. Every one must be present, and an extra record gives a warning.
Does the check look at my mail server itself?
No. It only reads DNS. Whether the server accepts mail is a different question, which you can watch with a TCP check on port 25.
Which domain do I enter?
The domain mail is sent to, for example example.com, without https://. A leading www. is not part of the domain: enter example.com.
Start monitoring with DoubleCheck
Start with €5 of free credit, no credit card required. Alerts by email, SMS, Slack, Microsoft Teams or Discord.