actionabletools

· 4 min read

What Is an MX Record? Priority, Examples and How to Check Yours

An MX record tells the internet which server takes email for your domain. How MX priority works, real examples from Google, Microsoft and Zoho, and the mistakes that lose mail.

Open the MX Record CheckerFree, no sign-up

An MX record is the line in your domain’s DNS that tells every other mail server on the internet where to deliver email addressed to you. Without one, mail to [email protected] has nowhere to go. With the wrong one, it goes somewhere you never look.

How to check your MX records

  1. Open the MX record checker. There’s nothing to install and no sign-up.
  2. Type your domain, for example yourbusiness.com. Leave off www and any @.
  3. Read the verdict at the top. It names your mail provider and says whether every server answers.
  4. Look at the list. Servers are shown in priority order, lowest number first, so the first row is where mail goes first.
  5. Fix anything flagged: a server with no address, records from two providers mixed together, or no MX at all.

What an MX record looks like

Every MX record has three parts that matter: the name it applies to, a priority number and a target host.

yourbusiness.com.   3600   IN   MX   10   mx.zoho.com.
yourbusiness.com.   3600   IN   MX   20   mx2.zoho.com.
yourbusiness.com.   3600   IN   MX   50   mx3.zoho.com.

The 3600 is the TTL, how many seconds other servers may remember the answer. In most DNS dashboards you only fill in the priority and the target, and the name is shown as @ for the domain itself.

MX priority, explained

The priority number is an order of preference, and lower wins. A sending server looks up your MX records, tries the lowest number first, and only moves to the next one if that server doesn’t answer. With the Zoho records above, mail goes to mx.zoho.com first, and to mx2 and mx3 only when the first is down.

The numbers themselves mean nothing on their own. 10, 20, 50 behaves exactly like 1, 2, 3. What matters is the order.

When two records share the same number, senders pick between them at random. That’s how large providers spread load across many servers, and it’s why Cloudflare’s three routing servers can have unrelated-looking numbers. It’s fine as long as every record belongs to the same provider.

Real examples

These are the records each provider documents for new setups.

Provider MX records
Google Workspace 1 smtp.google.com (one record). Older setups with five aspmx.l.google.com records still work.
Microsoft 365 0 yourbusiness-com.mail.protection.outlook.com, a host made from your own domain
Zoho Mail 10 mx.zoho.com, 20 mx2.zoho.com, 50 mx3.zoho.com (regional hosts like mx.zoho.eu outside the US)
Cloudflare Email Routing Three records, route1 to route3.mx.cloudflare.net, with priorities Cloudflare sets for you

Your provider’s admin panel always shows the exact values for your account. Copy them from there rather than from any guide, this one included.

The mistakes that lose mail

Mixing two providers. This is the most common one. Someone moves from their web host’s mail to Google Workspace, adds Google’s record and leaves the old ones in place. Now some mail lands at Google and some at the old host, depending on priority and chance. If you switch providers, delete every old MX record.

Pointing at an IP address. An MX record must name a host, not an address like 192.0.2.10. Many senders will refuse to deliver to a domain set up this way.

Pointing at a CNAME. The target host must have its own A or AAAA record. If it’s an alias, some servers will deliver and some won’t, which is the hardest kind of fault to spot.

A target that no longer exists. After a provider closes a server or you cancel a plan, the MX can point to a name with no address. The checker flags these as “no address”.

Leaving the old TTL. If your records have a TTL of a day, other servers may keep sending to your old provider for up to a day after you switch. Lower the TTL to 300 seconds a day before the move, then raise it again after.

Do you need a backup MX?

Probably not. A backup MX is a second server, often run by someone else, that holds your mail if your main server is down. It made sense when small businesses ran their own mail servers. Today, sending servers queue mail and keep retrying for several days, and big providers rarely go down for that long. Backup servers also tend to have weaker spam filtering, so spammers aim at them on purpose. If your provider gives you several MX records, use those, and don’t add one from elsewhere.

No MX, and the “null MX”

If a domain has no MX record at all, many senders fall back to the domain’s normal web address and try to deliver there. That usually fails slowly, with mail sitting in queues for days before bouncing.

If a domain never receives mail, say a second domain you only use for a website, you can say so clearly with a null MX: a single record with priority 0 and the target . (just a dot). Senders then bounce mail at once instead of retrying. Add a DMARC record with p=reject to the same domain so nobody can send email in its name either.

What MX records don’t do

MX only covers incoming mail. If your emails reach other people’s spam folders, the MX record isn’t the cause. Outgoing mail is judged on SPF, DKIM and DMARC, which prove the mail really came from you. The DMARC checker shows whether that part is set up.

Questions people ask

What does MX stand for?

Mail exchanger. An MX record names the server that accepts email for a domain, plus a number that sets the order servers are tried in.

Is a lower or higher MX priority better?

Lower wins. A server with priority 10 is tried before one with 20. The number only matters compared with the domain's other MX records.

What happens if two MX records have the same priority?

Sending servers pick between them at random, which spreads the load. That's normal for providers like Google and Cloudflare.

Can an MX record point to an IP address?

No. It must point to a host name, such as mx.zoho.com, and that name must have its own A or AAAA record. It also must not be a CNAME.

Do MX records affect sending email?

No. MX records only decide where mail to your domain arrives. Whether your outgoing mail is trusted depends on SPF, DKIM and DMARC.

How long do MX changes take?

Usually minutes, but up to the record's old TTL, which is often an hour and sometimes a day. Lower the TTL a day before you switch providers.

Use these tools

Related guides