Octeth v6.0.9 Now Available! See What's New
Free Lookup Tool

MX Record Checker

Free MX lookup for any domain

Enter a domain to see its mail servers and their priorities in the order sending servers try them. Use it to confirm a new mail setup or find why email to a domain is not arriving.

Cem Hurturk

Cem Hurturk, Founder of Octeth

Enter the domain you want to check (without http:// or www)

Understanding MX Records and Their Importance

What are MX Records?

MX (Mail Exchange) records are DNS entries that specify the mail servers responsible for receiving email on behalf of a domain. They contain information about the priority and target mail servers, guiding the routing of emails to the correct destination. Without properly configured MX records, emails sent to your domain won't be delivered.

Why are MX Records Important?

Email Delivery

MX records are essential for directing email traffic to the correct mail servers, ensuring that your emails are delivered to the intended recipients without delays or bounces.

Redundancy and Reliability

By specifying multiple MX records with different priorities, you can set up backup mail servers, enhancing the reliability and availability of your email service even during outages.

Troubleshooting

Inspecting MX records can help diagnose issues with email delivery, such as misconfigurations, DNS propagation delays, or server problems, allowing you to resolve them promptly.

How MX Record Priority Works

Every MX record has a priority number. Sending servers sort the records from the lowest number to the highest and try them in that order. A server with a higher number is used only when every server before it cannot be reached. The numbers are relative: 10, 20 and 30 behave the same as 1, 2 and 3.

Example: MX records for example.com

example.com. 3600 IN MX 10 mx1.example.com. example.com. 3600 IN MX 10 mx2.example.com. example.com. 3600 IN MX 20 backup.mailhost.net.
  • Priority 10, two servers. mx1 and mx2 share the lowest number, so senders pick one of them at random. Incoming mail is spread across both.
  • Priority 20, backup. backup.mailhost.net gets mail only when neither priority 10 server answers. A backup server usually queues the mail and passes it on once the main servers are back.
  • If nothing answers. The sending server keeps the message in its queue and retries for several days before it returns a bounce to the sender.

Common MX Record Mistakes

  • No MX record. Senders then fall back to the domain's A record, which is usually a web server that does not accept mail. If a domain should never receive email, publish a null MX record instead: 0 . (RFC 7505).
  • MX pointing to an IP address or a CNAME. The target must be a hostname with its own A or AAAA record. Many senders reject or delay mail for domains that break this rule.
  • Old records left in place. After moving to a new mail provider, remove the previous provider's MX records. Otherwise part of your mail keeps going to the old servers.

Common Email Provider MX Records

Google Workspace

*.gmail-smtp-in.l.google.com

Microsoft 365

*.mail.protection.outlook.com

Zoho Mail

mx*.zoho.com

ProtonMail

mail*.protonmail.ch

Frequently asked questions

What is an MX record?

An MX (mail exchange) record is a DNS record that names the server that receives email for a domain. Each MX record has a priority number and a hostname, such as 10 mx1.example.com. Sending servers look up these records to decide where to deliver mail addressed to the domain.

What does MX priority mean?

The priority (also called preference) sets the order in which sending servers try the mail servers. The lowest number is tried first. Higher numbers are fallbacks, used only when the servers before them cannot be reached. The values are relative, so 10 and 20 work the same as 1 and 2.

What happens when two MX records have the same priority?

RFC 5321 tells sending servers to pick between them at random, which spreads incoming mail across both servers. Use equal priorities to share load between servers that deliver to the same mailboxes.

Can an MX record point to an IP address or a CNAME?

No. An MX record must point to a hostname that has its own A or AAAA record. RFC 2181 forbids pointing an MX record at a CNAME alias, and an IP address in the MX field is invalid. Some senders tolerate these errors, but many reject or delay the mail.

How do I check the MX records of a domain?

Enter the domain in the MX record checker above. It queries DNS and lists every MX record with its priority, sorted in the order senders try them. From a terminal you can run dig MX example.com on macOS or Linux, or nslookup -type=mx example.com on Windows.

Need Enterprise Email Infrastructure?

Octeth provides self-hosted email marketing software with comprehensive deliverability tools and MX record management. Own your infrastructure and maintain full control.