MX lookup

Type a domain to see its MX records: the mail servers that accept email for it, with the order they are tried in.

Free, with no sign-up.

What an MX record is

An MX (mail exchanger) record names a server that accepts email for the domain. When someone sends mail to [email protected], their mail server looks up the MX records of example.com and delivers to one of them.

example.com.    3600    IN    MX    10 mail1.example.com.
example.com.    3600    IN    MX    20 mail2.example.com.

The number is the priority. The lowest number is tried first. Here mail2 is only used when mail1 does not answer. Records with the same number share the load.

How to read the result

Each row shows the priority and then the server name. Check three things:

  1. The servers belong to the mail provider you actually use.
  2. No old provider is left in the list. Mail sent to a closed account there is lost or bounced.
  3. Each server name has its own A or AAAA record. An MX must point to a name, never to an IP address, and not to a CNAME.

Common MX mistakes

  • No MX record. Senders fall back to the domain's A record, which is usually a web server that does not accept mail.
  • A typo in the server name. Mail queues at the sender for days, then bounces.
  • Both old and new providers listed. Some mail arrives at each. Remove the old records once the move is done.
  • A domain that sends no mail and has no record saying so. A "null MX" (0 .) tells senders at once that the domain accepts no mail.
Full guide: DNS records explained

Common questions

Which MX record is used first?+
The one with the lowest priority number. Higher numbers are backups, used when the lower ones do not answer.
Can an MX record point to an IP address?+
No. It must hold a hostname, and that hostname needs its own A or AAAA record. Some servers accept an IP address by accident, but many reject it.
How long before a new MX record works?+
Up to the TTL of the old record. Keep the old mailbox open for a few days after a move, because some senders hold the old answer for longer than they should.
My MX records are right but mail still goes to spam. Why?+
MX records only control where mail for your domain is delivered. Whether the mail you send is trusted depends on SPF, DKIM and DMARC. Check those with the SPF checker and the DMARC checker.

More free tools

A tool checks once. A monitor checks every minute.

PULSX watches your site, DNS, SSL certificate and cron jobs every 60 seconds and alerts you when one fails. Free for 20 monitors, with no card.