Home / Fix guides / Domain, DNS and email deliverability

How to fix MX records not found

"MX records not found" means your domain's DNS does not say where to deliver email, so messages bounce or vanish. To fix it, add the MX records your email provider gives you at the place your domain's DNS is actually managed, then check that they show up.

An MX record (mail exchanger record) is a DNS entry that tells other mail servers where to deliver email for your domain. If it is missing, points to the wrong place, or sits in the wrong DNS zone, people who write to you@yourdomain.com get a bounce message or, worse, hear nothing at all.

This page explains what you will see, how to check in a few minutes with free tools, and how to fix it. You do not need to be a developer, but you will need to log in to wherever your DNS is managed.

What people see when MX records are missing or wrong

The symptoms depend on the sender's mail system, but the common ones are:

  • Senders get a bounce saying the domain was not found, the recipient could not be reached, or there is no mail server for the domain.
  • Email works for some people and not others, or it arrives hours late.
  • Your mail app can send fine but never receives anything.
  • An email setup tool, such as Google Workspace or Microsoft 365, says "MX records not found" or "we could not verify your MX records".
  • Website contact forms seem to work, but the messages never reach your inbox.

Note that sending and receiving are separate. Missing MX records only break receiving. Outgoing mail depends on other records, such as SPF and DKIM.

Why it matters

  • Lost enquiries and sales. A customer who gets a bounce usually does not try again. They go to a competitor.
  • Trust. Bounces and silence make a business look closed or careless.
  • Security. Password reset emails, invoices and account notices cannot reach you. Without a proper mail setup, it is also harder to run protections like DMARC.
  • Fallback surprises. When no MX record exists, many senders try your domain's main address (the A record) instead. That is usually your web server, not a mail server, so the mail is rejected or lost.

MX records do not directly affect search rankings, but the lost leads and broken contact routes hurt the business the same way.

How to check if your domain has the problem

All of these are free.

  1. Use a web lookup tool. Search for an MX lookup tool such as MXToolbox, or the Google Admin Toolbox "Dig" tool. Enter your domain (without www) and choose MX.
  2. Or use the command line. On Windows, Mac or Linux, run nslookup -type=MX yourdomain.com. On Mac or Linux you can also run dig MX yourdomain.com +short.
  3. Read the result. You should see one or more lines with a priority number and a hostname, for example 1 mail.example.net. No results means no MX records are visible to the world.

Then compare what you see with what your email provider says it should be. Common mistakes:

  • The records are missing entirely.
  • They belong to an old provider you stopped using.
  • You have records from two different providers mixed together.
  • The value is an IP address instead of a hostname, or points to a name that is a CNAME. MX values should be a hostname that resolves to an address.
  • The records were added in a DNS panel that is not in use. This is very common: your domain's nameservers point to one company (say, Cloudflare) while you edited records at another (say, your registrar).

How to fix it

Step 1: Find where your DNS is really managed. Look up your domain's nameservers (nslookup -type=NS yourdomain.com). Whoever owns those nameservers is where DNS records count. Edit records only there.

Step 2: Get the correct MX values from your email provider. Do not guess. Your provider's setup page lists exact hostnames and priorities. Examples of the usual pattern:

ProviderTypical MX value
Google Workspacesmtp.google.com at priority 1 (older setups use five ASPMX.L.GOOGLE.COM style records)
Microsoft 365yourdomain-com.mail.protection.outlook.com at priority 0 (your admin centre shows your exact value)
Hosting company emailOften mail.yourdomain.com or a hostname the host gives you

Step 3: Remove old or conflicting MX records. If you have switched email providers, delete the old provider's records, but only once you have the new values ready and have copied the old ones, so mail is not lost in between. Mixing providers makes delivery random, because senders pick between records by priority.

Step 4: Add the new records. In your DNS panel, add a record of type MX. The name or host field is usually @ (meaning the bare domain), or left blank, depending on the panel. Enter the priority number and the mail server hostname. A lower number means higher preference. Do not add https:// or your domain name to the end unless the provider says so.

Step 5: Make sure the mail hostname resolves. If your MX points to something like mail.yourdomain.com, that name needs its own A record pointing to the mail server. If you use Cloudflare, set that record to "DNS only" (grey cloud). Mail traffic cannot go through the proxy.

Platform specifics vary, so here are the guides for the most common setups:

  • Google Workspace MX records
  • Microsoft 365 MX records
  • Cloudflare DNS

If your DNS is at GoDaddy, Namecheap, Hostinger or a cPanel host, the steps are the same, but the menu is different: look for "DNS", "Manage DNS", "Advanced DNS" or "Zone Editor" near your domain. It depends on the version and the company, so use the search box in the help centre if you cannot see it.

How to confirm the fix worked

  1. Run the same MX lookup again. You should see exactly the records you added, and nothing from old providers.
  2. Wait if needed. Changes can show within minutes, but can take a few hours depending on the record's TTL (the time other servers cache the old answer). Lowering the TTL before a planned change helps.
  3. Send a real test email to your address from a different account, such as a personal Gmail or Outlook address. Check the inbox and spam folder.
  4. If your provider has a "verify" button in its admin console, press it. Verification often passes only after the lookup shows the right records.

If the MX lookup is correct but mail still fails, check that the mailbox actually exists and that the mail service is active on the account. DNS is only one part of delivery.

How to stop it coming back

  • Write down where DNS lives. Note who holds your nameservers and who has the login. Many outages happen after a website redesign or hosting move, when someone changes nameservers and the old DNS records, including MX, are left behind.
  • Copy your DNS records before any move. Export or screenshot the full zone before changing hosts or nameservers, then recreate every record, MX included.
  • Do not let the domain lapse. An expired domain stops email completely. See what to do when your domain is expiring soon.
  • Keep the other email records tidy too. MX is only the receiving side. SPF, DKIM and DMARC protect your sending.
  • Check on a schedule. SiteMonday's week 10 service covers domain, SSL and email deliverability, and its report flags missing or wrong MX records with a ranked fix list. Fixing them is still up to you or your developer.

When to ask for help

If you are not sure where DNS is managed, or the email is business critical and you are worried about a mistake, ask your web developer or email provider's support. Tell them the exact error and the result of your MX lookup. That saves a lot of back and forth.

Questions

What does "MX records not found" mean?

It means a DNS lookup for your domain returned no mail exchanger records, so other mail servers do not know where to deliver your email. You fix it by adding the MX records your email provider gives you.

How long do MX record changes take to work?

Often a few minutes, but sometimes a few hours, because other servers cache the old answer for the length of the record's TTL. Check again with a lookup tool before assuming something is wrong.

Can I have more than one MX record?

Yes, and many providers give you several. Each has a priority number, and senders try the lowest number first. Just do not mix records from different email providers.

Can an MX record point to an IP address?

No. An MX record should point to a hostname, and that hostname should have an A record (not a CNAME) giving the address. Entering an IP directly is a common cause of failures.

Why are my MX records correct but email still bounces?

Check that you edited DNS where your nameservers actually are, that the mailbox exists, and that the mail service is active. Old cached records can also delay the change for a few hours.

Do missing MX records stop me sending email?

Not directly. MX records control receiving. Sending depends mainly on your mail provider and on records like SPF, DKIM and DMARC, though replies to your messages will bounce if MX is broken.

Related problems