Skip to the content

MX Lookup

See which mail servers accept mail for a domain, in the order they are tried, with their priorities and TTLs.

The name you look up is sent to Cloudflare's public DNS resolver, or to Google's if Cloudflare cannot be reached. Nothing else is sent.

Record types
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

Reading an MX answer

Each MX record is a number and a host name. The number is the priority, and lower wins: a sending server tries the lowest number first and moves on to the next only when that server does not answer. Records with the same number share the mail between them at random.

AnswerWhat it means
10 mx1.example.comThe main mail server
10 mx2.example.comA second one of equal rank; the two share the load
20 backup.example.comUsed only when both servers above cannot be reached
0 .A "null MX": the domain declares that it accepts no mail at all

The host names also show who handles the mail. Names ending in google.com belong to Gmail or Google Workspace, mail.protection.outlook.com to Microsoft 365, protonmail.ch to Proton Mail and messagingengine.com to Fastmail.

What goes wrong

  • An MX that points at a CNAME. The standard forbids it and some servers refuse to deliver. An MX has to name a host with an A or AAAA record of its own.
  • An IP address instead of a name. 10 203.0.113.5 is not a valid MX record, even where a control panel accepts it.
  • Old records left in place after a move. With a higher number they still get mail whenever the new servers are busy or down, and it lands in a mailbox nobody reads. Remove them.
  • No MX record at all is not an error. Mail is then delivered to the address in the domain's A or AAAA record, which is rarely where you want it.

The DNS lookup page asks for all record types of a name at once, and explains TTLs, DNSSEC and which resolver gives the answers.