Free · No sign-up · MX, SPF and DMARC

MX Lookup

Check the MX records of any domain. See which mail servers receive its email, their priority and IP addresses, the email provider, and the SPF and DMARC status in one check.

Every check reads the domain's public DNS records for MX, SPF and DMARC. DKIM needs a selector from a real email, so check it with the email header analyzer.

Advertisement

What is an MX lookup?

An MX lookup reads the mail exchanger (MX) records of a domain. These DNS records tell the rest of the internet which servers receive email for that domain. If the MX records are missing or wrong, email sent to the domain bounces or disappears, so an MX lookup is the first check when someone says they are not getting your emails.

What this MX record checker shows

How MX priority works

Each MX record has a priority number. Sending servers try the lowest number first and move to the next one only if the first server cannot be reached. Records with the same number share the incoming email. Hosted services such as Google Workspace now often use a single MX record, because their servers already have backups behind one name.

Common MX record problems

MX records for popular email providers

Google Workspace

New setups use one record: smtp.google.com with priority 1. Older setups use aspmx.l.google.com and several alt servers.

Microsoft 365

One record that ends in mail.protection.outlook.com, shown in your Microsoft 365 admin center.

Zoho Mail

mx.zoho.com, mx2.zoho.com and mx3.zoho.com, with priorities 10, 20 and 50 (regional domains differ).

Your web host

Hosting email often uses mail.yourdomain.com. Check your hosting panel for the exact value.

How to read MX lookup results

ColumnWhat it means
PriorityThe order servers are tried in. Lower numbers go first.
Mail serverThe host name that receives email for the domain, such as smtp.google.com.
IP addressWhere that host name points. "Not found" means the mail server cannot be reached, and email will fail.
TTLHow long, in seconds, other servers may cache the record before asking again.
Email providerThe service behind the mail servers, detected from their host names.

How to check MX records with nslookup or dig

You can also check MX records yourself from a terminal. On Windows, macOS or Linux, run:

nslookup -type=mx example.com

On macOS or Linux you can use dig for a shorter answer:

dig mx example.com +short

Both show the same records as this tool. The difference is that our MX lookup also checks each server's IP address, names the email provider and shows the SPF and DMARC status in the same check.

How to change MX records safely

MX, SPF and DMARC: what each record does

RecordJobIf it is missing
MXTells the world where to deliver email for your domainYou cannot receive email
SPFLists the servers allowed to send email for your domainYour email looks less trustworthy and is easier to fake
DMARCTells receivers what to do with email that fails SPF and DKIMAnyone can spoof your domain more easily, and bulk mail to Gmail and Yahoo can be rejected

Next, make sure other servers trust your email: check your SPF record and DMARC record.

Advertisement

Frequently asked questions

An MX (mail exchanger) record is a DNS record that tells other mail servers where to deliver email for a domain. Each MX record names a mail server and a priority number.
Enter the domain or any email address on that domain and click MX Lookup. The tool shows every MX record with its priority, the IP addresses of each mail server and the email provider it belongs to.
The priority number decides the order in which mail servers are tried. The lowest number is tried first. If two records have the same number, email is shared between them.
Without an MX record, most email sent to the domain fails. Some servers try the domain's A record instead, but you should not rely on it. Add MX records from your email provider.
Most changes work within minutes to a few hours. The old record can stay in caches until its TTL (time to live) ends, and in rare cases it can take up to 48 hours.
No. An MX record must point to a host name, such as mail.example.com, and that host name must have an A or AAAA record. It should not point to a CNAME.
Yes. Many domains have two or more MX records with different priorities. Sending servers try the lowest number first and use the others if it cannot be reached. Records with the same priority share the incoming email.
One hour (3600 seconds) is a common choice. If you plan to switch email providers, lower it to 300 seconds a day before the change, so the new records spread faster, then raise it again afterwards.
Sending does not strictly need MX records, but replies and bounce messages do. Some spam filters also treat a sending domain that cannot receive email as suspicious, so it is best to have working MX records.
The old MX records are still published in your DNS, or your change has not spread yet. Remove every record from the old provider at your DNS host, then wait for the TTL to pass and check again.

More free email tools

See all tools →