How to Check an MX Record
A practical guide to checking an MX record, reading priorities and targets, and confirming whether mail is routed to the provider you expect.
Tools For This Topic
Start by querying MX for the exact domain
To check an MX record properly, query MX for the exact domain that should receive mail. That gives you the published preference values and target hostnames that receiving systems are expected to use.
If there are no MX records where you expect them, inbound mail routing may be broken or at least unclear.
Read both the priority and the target
An MX record is not just a hostname. It is a priority plus a target. Lower numbers are preferred first, so a technically valid set of MX records can still be wrong if the priorities send mail to the wrong platform.
0 mail.protection.outlook.comCheck whether the target matches the intended provider
The next question is whether the MX target belongs to the provider you actually expect to be receiving mail. Migrations often leave old MX values in place or mix providers accidentally.
Resolve the MX target hostname
The MX value itself is a hostname, so you should also confirm that hostname resolves correctly. If the target hostname is broken, mail can fail even though the MX record exists.
A practical MX checking workflow
- Query the domain's MX records
- Review the number of MX records and their priorities
- Check whether the targets look like the intended mail provider
- Resolve the MX target hostnames if needed
- If the setup looks mixed, compare it with provider-specific expectations
Use These DNS Pro Tools
If you want to validate this topic in practice, these DNS Pro tools are the fastest next step.
Related Tools
Related Articles
How to Fix MX Record Problems
A practical guide to fixing MX record problems, including wrong targets, bad priorities, mixed providers, and incomplete mail migrations.
How to Troubleshoot MX Record Problems
A practical MX troubleshooting guide covering missing MX records, wrong targets, bad priorities, and how to verify mail routing during migrations.
How to Check Reverse DNS for Mail (Step-by-Step Guide)
A practical guide to checking reverse DNS for mail servers, including PTR records, forward confirmation (FCrDNS), and what good mail-related reverse DNS looks like.
