MX record lookup for a domain
What MX records are, how to read them (priority number and mail server), why without them you receive no email, how they differ from SPF, DKIM and DMARC and how to spot the most common mistakes. With a free, instant check of any domain.
FREE TOOL · NO SIGN-UP
Look up your domain’s MX records now
Enter your domain and our email-authentication analyser reviews your MX records together with SPF, DKIM and DMARC in seconds: whether they exist, which mail servers they point to and with what priority. The analysis is instant and we don’t store your domain.
What is an MX record?
[email protected], the sender’s server queries the DNS of yourdomain.com, reads its MX records and thereby knows which machine to connect to in order to deliver the message. Without MX records, the world does not know where to drop your incoming mail. Unlike SPF or DMARC, which are TXT records, MX is its own record type and each domain can have several.How to read an MX record: priority + host
yourdomain.com. IN MX 10 aspmx.l.google.com. yourdomain.com. IN MX 20 alt1.aspmx.l.google.com.The number sets the order of preference and the lower it is, the higher the priority: mail is delivered first to the MX with priority 10 and, only if it does not respond, to the one with 20 (a backup MX). If two records share the same number, mail is spread between them (load balancing). The host must always be a domain name that resolves to an IP address, never the IP itself.
Why they matter: no MX, no incoming mail
MX versus SPF, DKIM and DMARC: receiving versus authenticating
Common MX mistakes and how to avoid them
mail.yourdomain.com.) in some panels, which turns it into a wrong relative domain; and keeping the MX of an old provider after migrating. If your domain deliberately neither sends nor receives email, the correct way to declare it is a Null MX (0 ., RFC 7505), not leaving it empty.Frequently asked questions about MX records
How do I check my domain’s MX records?
Enter your domain in our free analyser: we query the public DNS and instantly show you whether MX records exist, which mail servers they point to and with what priority, along with SPF, DKIM and DMARC.
What does the priority number in an MX record mean?
It is the delivery preference order. The lower the number, the higher the priority: mail is delivered first to that server and only moves to the next one (higher number) if the first does not respond. Records with the same number share the load between them.
Can I point an MX record to an IP address?
No. An MX target must be a hostname that in turn resolves to an IP address through A or AAAA records, and it cannot be a CNAME alias. Pointing the MX directly to an IP is an invalid configuration that many servers will reject.
Why don’t I receive email if I have MX records?
It is usually because the MX points to the wrong server or to a provider you no longer use (common after a migration), because the priority is misconfigured, or because the destination server is not accepting mail for your domain. Check which host each MX points to and that it is your current provider.
Sources and references
- RFC 5321 — Simple Mail Transfer Protocol (SMTP)
- Google Workspace — Set up MX records
- Microsoft — Create DNS records (incl. MX) in Microsoft 365
Updated: July 2026 · Informational content; not professional advice.
Keep learning
Monitor your email and authentication continuously
Sign up free at OCIRIA Security and get alerts when your MX, SPF, DKIM or DMARC records change or stop protecting your domain.