Free tool

MX Record Lookup

Look up a domain's mail servers, see their priorities, and identify the email provider behind any domain.

What is an MX record?

An MX (Mail Exchange) record tells the internet which servers accept email for your domain. Each record holds a hostname (like aspmx.l.google.com) and a priority number (like 10); when someone sends you a message, their server looks up your MX records and delivers to the lowest-numbered one first.

Every domain that receives email needs at least one MX record - without one, mail bounces. Unlike SPF, which allows only a single record, a domain can and usually should have several MX records for redundancy. This tool shows all of them, sorted by priority, and identifies the provider behind the hostnames.

How MX records work

Delivery is a short negotiation between the sending server and your published mail servers:

1
Email is sent to your domain
Someone (or a system) sends a message to an address at your domain.
2
The sending server queries DNS for your MX records
It asks DNS which servers accept mail for your domain.
3
DNS returns them sorted by priority
The records come back ordered, lowest priority number first.
4
It connects to the highest-priority host
The server resolves the lowest-numbered hostname to an IP and opens an SMTP connection.
5
On failure it tries the next record
If the primary is unreachable, it falls through to the next MX in priority order.
6
The message is delivered or queued
Delivered if a server accepts, otherwise queued and retried for up to five days before a permanent bounce.

How MX priorities work

Each MX record has a priority number, and lower numbers are tried first - a record at priority 1 is preferred over priority 10. Typical ranges are 1 to 5 for the highest priority, 10 for a standard primary, 20 for a secondary or backup, and 30 or higher for overflow.

Multiple records at the same priority share load, chosen at random - simple round-robin balancing. Backup mail servers use higher numbers so they only receive mail when the primary is unreachable. When you read your results, every hostname should resolve to a valid IP, priorities should be staggered rather than all equal, and the hostnames should match your current provider.

MX records by provider

The hostnames in your MX records reveal (and are set by) your mail provider. These are the standard values.

ProviderRecords (priority hostname)
Google Workspace1 aspmx.l.google.com, plus 4 alt hosts at priority 5 and 10
Microsoft 3650 yourdomain-com.mail.protection.outlook.com (per tenant; dots become hyphens)
Zoho Mail10 mx.zoho.com, 20 mx2.zoho.com, 50 mx3.zoho.com
Custom server10 mail.yourdomain.com, 20 mail2.yourdomain.com

How to set up MX records

Switching mail providers means replacing your MX records. Do it carefully - mail is live traffic.

1
Get the exact values from your provider
Copy the MX hostnames and priorities from the provider's admin console. Never guess them.
2
Lower your TTL a few days ahead
Drop the TTL to 300 before migrating so changes propagate quickly, then raise it back to 3600 afterwards.
3
Remove the old MX records first
Delete the existing MX entries before adding the new ones so mail doesn't split across two providers.
4
Add each new record
Type MX, host @ or blank, value the provider hostname, plus its priority number. Add all of them.
5
Verify and send a test
Wait 5 to 15 minutes, re-run the lookup above, and send a real message to confirm delivery.

Frequently asked questions

What is an MX record?

An MX record is a DNS record that points to the mail servers that accept email for a domain. Sending servers use it to route messages to the right destination. Without at least one MX record, a domain cannot receive email.

How do I find my MX records?

Enter your domain in the lookup above, or run nslookup -type=mx yourdomain.com (Windows) or dig mx yourdomain.com (Mac/Linux) in a terminal. Both return the hostnames and priorities.

What does MX priority mean?

Priority sets the order mail servers are tried - lower numbers first. A backup server gets a higher number so it only receives mail when the primary is down. Equal priorities share load randomly.

Can a domain have multiple MX records?

Yes, and most do. Multiple records provide redundancy and load balancing across mail servers. Google Workspace uses five; Microsoft 365 uses one.

Can an MX record point to a CNAME?

No. An MX hostname must resolve directly to an A record. Pointing it at a CNAME violates RFC 2181 and RFC 5321 and can cause delivery failures.

How do I find my email provider?

Run an MX lookup - the hostnames reveal the provider. google.com hosts point to Google Workspace, protection.outlook.com to Microsoft 365, zoho.com to Zoho, and so on.

Next steps

Stop configuring DNS by hand

Cladiant provisions real Google Workspace, Microsoft 365, and Azure Entra mailboxes with SPF, DKIM, and DMARC written and verified on every domain before a single message sends. No DNS headaches, no authentication gaps, one invoice.