All resources

What is an MX record?

Article · 4 min read

An MX record (mail exchanger record) is a DNS record that tells other servers which mail server accepts email for a domain. When you email someone at fernway.com, your server looks up fernway.com's MX records and delivers to the server they name.

For cold emailers, MX records matter twice: email verification reads them to spot domains that can't receive mail, and your own sending domain needs them to receive replies.

How an MX record works

  1. You send to dana@fernway.com.
  2. Your mail server asks DNS for the MX records of fernway.com.
  3. DNS returns one or more mail server names, each with a priority number.
  4. Your server connects to the server with the lowest number and hands over the message.
  5. If that server doesn't answer, it tries the next number up.

MX record format and example

HostTypePriorityValueMeans
@MX10mx1.mailhost.exampleTry this server first
@MX20mx2.mailhost.exampleBackup if the first is down

Priority is the significance people ask about: lower numbers are tried first. Two records with the same number share the load. The value must be a host name, never an IP address.

Mailbox providerTypical MX value
Google Workspacesmtp.google.com, priority 1 (older setups list five aspmx servers)
Microsoft 365yourdomain-com.mail.protection.outlook.com, priority 0

What email verification reads from MX

Email verification runs in steps. The MX lookup is the one that catches whole dead companies at once, before anyone checks a single mailbox.

MX lookup resultWhat it meansSend to it?
MX points to Google or MicrosoftDomain receives mail. Check the mailbox nextOnly after the mailbox check passes
MX points to a security gatewayMail is filtered first, so mailbox checks are often unclearTreat like a catch-all: small batches only
No MX, only a website recordMail may fall back to the web host. Often a parked or closed domainNo
Null MX (priority 0, value a single dot)The owner says this domain accepts no mailNo
Domain doesn't existCompany gone, domain expired or a typoNo. Remove the row

The last three rows are guaranteed hard bounces. Every one lowers the reputation of the inbox that sent it. The full verification sequence is in what is email verification.

Worked example: Brightpath checks an old event list (illustrative)

File
2,000 contacts from a trade show two years ago
Unique domains
740
No MX or domain gone
38 domains, holding 96 contacts
If sent anyway
96 hard bounces, about 4.8% of the send, before a single mailbox check
Lesson
Old files lose whole companies, not just people

How to check MX records

Any free MX check site works, or use the command line:

MX lookup commands

Windows: nslookup -type=mx fernway.com Mac / Linux: dig MX fernway.com +short

An empty answer means no MX record. A single "0 ." is a null MX.

MX records on your cold email domain

MX records don't decide whether your mail is trusted. That's SPF, DKIM and DMARC. But a sending domain still needs MX records:

  • Replies land somewhere. Without MX, a prospect's "yes, let's talk" bounces back to them.
  • Bounces reach your tool. Bounce notices come back by email. No MX, no bounce report.
  • It looks like a real business. Some spam filters distrust a From domain that can't receive mail.

Create an MX record for a domain

  1. Open the DNS settings at your registrar. In Namecheap: Domain List, Manage, Advanced DNS, then Mail Settings set to Custom MX.
  2. Delete any MX records the registrar added for its own mail forwarding.
  3. Add the host @, the value and the priority your mailbox provider gives you.
  4. Wait for DNS to update, then run the lookup above to confirm.

Skip the dead domains entirely

Checking MX on a bought or aged file finds the closed companies. It doesn't find the people who left the companies that are still open. Both bounce.

ContactYard is the fastest way to start clean. Search hundreds of millions of verified B2B prospects by Job Title, Industry, Employee Headcount and Location, and every work email is verified before you get it, so a domain that can't receive mail never reaches your file. Data is refreshed every 14 days.

  • One credit, full contact. Verified work email, the mobile when available and the check. Other tools charge 4 to 12 credits.
  • No separate verifier. About $3.30 per 1,000 contacts on Scale.
  • Have an old list already? Run it through how to verify an email list first.

Start free and send your first campaign to addresses that exist.

FAQ

What is an MX record?
A DNS record that names the mail server accepting email for a domain, with a priority number that sets which server is tried first.
What is the significance of the priority value in MX records?
Lower numbers are tried first. Higher numbers are backups, and equal numbers share the load.
What is an MX record example?
Host @, type MX, priority 1, value smtp.google.com is a Google Workspace domain's MX record.
What is an MX domain?
The mail server host name an MX record points to, such as smtp.google.com. It can sit on a different domain from the email addresses it serves.
Does a domain without an MX record bounce?
Usually. Mail may fall back to the domain's web host, which rarely accepts it, and a null MX refuses all mail. Verification removes these domains before a send.