Free MX record lookup: check mail exchange DNS records, verify delivery configuration, and identify email providers
MX (Mail Exchanger) records are the DNS entries that tell the internet which servers are authorised to receive email for a domain. Defined in RFC 1035, they are one of the most fundamental DNS record types. Without them, email cannot be reliably delivered to a domain. This tool performs a live DNS query via Cloudflare DoH (with Google DNS as fallback) and returns every MX record for any domain, sorted by priority, with automatic identification of the email service provider.
Priority numbers control delivery order: lower values mean higher priority. The sending mail server always attempts the lowest-priority-number server first. If it is unreachable, it falls back to higher-priority-number servers. This is why major providers publish multiple MX records, Google Workspace uses five servers across three priority tiers, Microsoft 365 uses a single record, providing redundancy so inbound email continues to deliver even during partial infrastructure outages.
The most common use cases for this tool are: verifying MX records propagated correctly after migrating to a new email provider; confirming which platform a domain uses for email (Google Workspace, Microsoft 365, Zoho, Proton Mail, and others are detected automatically); diagnosing inbound delivery failures by checking whether the correct mail servers are configured; and auditing acquired or legacy domains to understand their current email setup. Pair this with the Email Health Checker for a full authentication and deliverability audit including SPF, DMARC, and DKIM.
Why checking MX records matters for email delivery, migrations, and security
MX records are the foundation of inbound email delivery. A misconfigured, missing, or stale MX record is a hard delivery failure. Messages bounce with a permanent error and never reach the intended recipient. Unlike spam filtering (which is probabilistic), MX configuration is binary: either the records are correct and email can be delivered, or they are not and it cannot. This makes verifying MX records the correct first step whenever diagnosing inbound delivery problems.
Email provider migrations are the most common source of MX record errors. When moving from one platform to another, say, from Google Workspace to Microsoft 365, the process requires publishing new MX records and removing old ones simultaneously while managing DNS propagation delays. A common mistake is adding the new records without removing the old ones, creating a split-delivery situation where some senders reach the old provider and some reach the new one. Checking this tool immediately after a migration confirms which records are live globally and whether any old entries are still present.
For security, MX records are also relevant to spam and phishing prevention. Parked domains, legacy domains, and subdomains with no MX records (or no null MX record) are ambiguous targets. Some sending servers will still attempt delivery to the A record. Attackers sometimes exploit this to register look-alike domains and accept email intended for the legitimate domain. Publishing a null MX record on every non-sending domain closes this gap. Combine it with SPF v=spf1 -all and DMARC p=reject to fully lock down non-sending domains against both inbound delivery and outbound spoofing.
IT administrators and security teams also use MX lookups to audit domains acquired through mergers and acquisitions, verify that contractor or vendor domains are using expected mail infrastructure, and check whether a domain belongs to the provider claimed in an email before trusting its contents. Because MX records are public DNS data, this information is available without any authentication or permission.
Common MX record problems: causes and fixes
Most MX record issues fall into a small number of recognisable patterns. Here is what each means and how to resolve it.
Real MX record configurations: what common providers look like
Five common configurations showing what correct MX records look like for major email providers and use cases.
MX record questions and answers
Answers to the most common questions about MX records, priority numbers, null MX, propagation, and provider-specific configuration.
MX records in context: how they fit with SPF, DKIM, DMARC, and the full email DNS picture
MX records are one part of a broader set of DNS records that together define a domain's email configuration. Understanding how each fits together is essential for correctly diagnosing delivery issues and configuring a new domain from scratch.
MX records (this tool) define inbound email delivery. Where to route messages sent to your domain. They are the only DNS record type specifically for receiving email. A domain without MX records cannot reliably receive email. A domain with a null MX explicitly refuses email.
SPF records define outbound sender authorisation. Which IP addresses and mail services are permitted to send email on behalf of your domain. Published as a TXT record at the root domain. Use the SPF Record Checker to validate your record and confirm the lookup count is within the RFC 7208 10-lookup limit. If the count is too high, the SPF Flattening Tool resolves all include chains to direct IP ranges.
DKIM records provide cryptographic signing of outgoing messages. Published as TXT records at selector._domainkey.yourdomain.com. They prove the message was sent by an authorised source and was not altered in transit. Use the DKIM Analyzer to look up any selector, check key strength, and detect revoked or test-mode keys.
DMARC records tie SPF and DKIM together with alignment enforcement and a reporting mechanism. Published at _dmarc.yourdomain.com. They specify the policy for authentication failures (none/quarantine/reject) and enable daily aggregate reports showing pass/fail rates from all sending sources. Use the DMARC Checker for a health summary or the DMARC Analyzer for a full tag-by-tag analysis.
For a complete one-pass audit of all five email DNS factors simultaneously, MX, SPF, DMARC, DKIM, and disposable domain status, use the Email Health Checker, which scores each check and assigns an A-F grade. For a security-focused risk score covering SPF, DMARC, DKIM, MX, and BIMI together, use the Email Privacy Auditor.
Need a disposable email address?Get a free instant throwaway email. No signup, no trace.
Get Free Temp Mail →