Free tool

MX lookup: check a domain's mail servers

Enter a domain to list its MX records in priority order, see which email provider runs them, and confirm each host has an address. A missing MX, a null MX or an IP address where a hostname should be are flagged, each with the fix.

What MX records do

MX, short for mail exchanger, records tell the rest of the internet which servers accept email for a domain. When someone writes to you@example.com, their mail server looks up the MX records for example.com and delivers to one of the hosts listed. The process is described in RFC 5321.

Each MX record has two parts: a preference number and a hostname, such as "10 mx1.example.net". Senders try the lowest number first and move to higher ones only if it can't be reached. Hosts that share a number are tried in no fixed order, which spreads mail between them.

MX records only cover mail coming in. The servers that send your mail out are a separate matter, listed in your SPF record. The SPF checker shows those.

Why MX matters for a domain that sends

It's easy to think MX records only matter for receiving. For a domain you send from, they matter just as much:

  • Replies go to the domain in your From or Reply-To address. Without working MX records, a prospect's reply bounces back to them and you never see it.
  • Bounce notices for undeliverable mail come back the same way, and they're how you learn an address is dead.
  • Some receiving servers check that a sender's domain can accept mail before they take a message from it, and refuse mail from domains that can't.

A domain that sends but can't receive looks careless at best, and at worst like a throwaway domain set up for spam.

What the lookup reports

The MX result opens first on this page, listing every record with its preference and the address each host points to. Problems show as follows:

  • No MX records (fail): strictly, a sender can fall back to the domain's own address record, but few domains are set up to take mail that way. Treat it as a domain that receives nothing.
  • A null MX (fail): a single record of "0 ." is the formal way, from RFC 7505, to say a domain accepts no mail. That's right for a parked domain, but RFC 7505 lets receivers refuse mail whose sender address uses such a domain, so it's wrong for one you send from.
  • A host that doesn't resolve to an IPv4 address (warning): the name may be misspelt, the server retired, or it may have only an IPv6 address, which some senders can't reach.
  • An IP address in place of a hostname (fail): an MX record must name a host. DNS reads an IP address there as a hostname, which doesn't exist, so mail can't be delivered.

The lookup also names the provider behind your MX hosts where it recognises them, which helps when you've inherited a domain and need to know where its mail actually goes.

Fixing each problem

  • For a missing MX, add the records your email provider gives you in its setup guide, exactly as written, including the preference numbers.
  • For a null MX on a domain you now want to use, delete the "0 ." record before adding the real ones. Leaving both in place confuses senders.
  • For a host that won't resolve, compare the name letter by letter with your provider's instructions. If you moved provider, remove records that still point at the old one.
  • For an IP address in the record, create a hostname such as mail.example.com with an A record pointing at that IP, then point the MX at the hostname.

An MX record also shouldn't point at a CNAME. RFC 2181 says its target must be a hostname with its own address records, and not every sender will follow an alias.

Recognising your email provider

The hostnames in your MX records usually reveal who handles your mail. The lookup recognises many providers, including Google Workspace, Microsoft 365, Zoho, Proton, Fastmail, Amazon WorkMail and SES, Mimecast, Proofpoint, GoDaddy, IONOS and OVHcloud. A few patterns worth knowing:

  • Google Workspace: smtp.google.com, or the older set of hosts starting with aspmx.l.google.com.
  • Microsoft 365: usually a host ending in mail.protection.outlook.com, built from your own domain name.
  • Proton: hosts ending in protonmail.ch.
  • Fastmail: hosts ending in messagingengine.com.
  • Zoho: hosts such as mx.zoho.com, or mx.zoho.eu for accounts in Zoho's EU data centre.

Mimecast and Proofpoint are usually security gateways rather than mailboxes. When your MX points at one of them, mail is filtered there first and then passed on to your actual mailbox provider.

Changing provider without losing mail

Lower the TTL on your MX records a day or so before you switch, so the change takes hold quickly. Set up the mailboxes at the new provider first, then replace the old MX records with the new ones in one go. Avoid leaving records from both providers side by side, because senders may then deliver some of your mail to each. Run this lookup afterwards to confirm only the new hosts remain.

Domains used for cold email need working MX records too, because that's where the answers arrive. Boost Sales AI sends cold email from separate domains that it runs and keeps healthy, so your own domain's mail setup isn't touched and its MX records go on serving your team as before. Replies to your outreach are read and sorted from hot to cold for you, alongside finding buyers, checking addresses, writing, sending and follow-ups. Look at your buyers and sample emails free before paying.

FAQ

Questions people ask

What does the number before each MX host mean?

It's the preference. Senders try the host with the lowest number first and fall back to higher numbers only when it can't be reached. The numbers themselves don't matter, only their order.

Can a domain work with no MX records?

RFC 5321 lets a sender fall back to the domain's own address record when no MX exists. In practice that address usually belongs to a web server that doesn't accept mail, so the domain can't receive anything. Publish proper MX records for any domain that sends or receives email.

What is a null MX?

A single MX record with preference 0 and a host of a lone dot. It tells senders straight away that the domain takes no mail, so they don't keep retrying. Use it on domains that never send or receive email.

Does an MX lookup show where my outgoing mail comes from?

No. MX records name the servers that receive mail for your domain. The servers that send it are listed in your SPF record, and the full email health check reads both.

How long does an MX change take to work?

Senders pick up the new records once their cached copies expire, which depends on the TTL the old records had. That's why lowering the TTL a day before a planned move makes the switch faster.

Free preview

See who would buy from you

Type your domain and see your buyers and the emails we'd send them, free. If you go ahead, it's $99 a month or $990 a year.