
MX records tell the internet where to deliver mail for your domain. They don't directly authenticate your outgoing email, but they still matter for deliverability: without working MX records, replies and bounce messages can't reach you, and a sending domain that can't receive mail looks odd to receivers and to the people you email. This guide shows how to do an MX record lookup, what correct records look like for Google Workspace and Microsoft 365, and how to fix common problems.
💡 TL;DR
An MX record lookup shows which mail servers accept email for a domain. Run one with dig MX yourdomain.com, nslookup -type=mx yourdomain.com or an online lookup tool. For deliverability, check that the domain has MX records, that they point to your actual provider (for example Google Workspace's MX host or Microsoft 365's yourdomain-com.mail.protection.outlook.com style host), that there's no leftover record from an old provider, and that priorities make sense. Every cold email sending domain should receive mail so replies and bounces arrive. Domains that never receive mail can publish a null MX record (RFC 7505) instead.
By LiteMail · Prices/data checked on November 25, 2026
Table of Contents
What Does an MX Record Do?
MX vs SPF, DKIM and DMARC
How Do You Do an MX Record Lookup?
How to Read the Results
What Correct MX Records Look Like
Common MX Problems and Fixes
What Is a Null MX Record?
MX Records for Cold Email Domains
Step-by-Step: Checking MX for Deliverability
MX Records During a Provider Migration
Worked Example: Fixing Missing Replies
Final Verdict: Small Record, Real Consequences
Frequently Asked Questions
What Does an MX Record Do?
An MX (mail exchanger) record is a DNS record that says which servers accept email for a domain, and in what order of preference. When someone replies to your email, their server looks up your domain's MX records to know where to deliver it.
MX records are about receiving, not sending. SPF, DKIM and DMARC authenticate outgoing mail; MX makes sure mail can come back.
By the end of this, you'll know how to do an MX record lookup and what to check for email deliverability.
MX vs SPF, DKIM and DMARC
It's easy to mix these up, especially when you're setting up several domains at once. Here's how they differ.
Record | Purpose | Affects |
|---|---|---|
MX | Where inbound mail for the domain goes | Receiving replies and bounces |
SPF | Which servers may send for the domain | Outbound authentication |
DKIM | Signature proving the message is authentic | Outbound authentication |
DMARC | Policy for failed authentication | Outbound authentication and reporting |
💡 Why MX still matters for outreach
If replies can't reach you, you lose conversations, and bounce notifications that would tell you about list problems disappear. Some receivers and many people also treat a sending domain that can't receive mail as suspicious.
How We Built This Guide
This guide follows standard DNS behavior, RFC 7505 for null MX records and the setup documentation from Google Workspace and Microsoft 365, checked on November 25, 2026. Provider MX hostnames can change, so always copy the values your provider's admin console shows.
The content gap
Most MX lookup guides explain the command and stop. Few connect MX records to cold email specifically, or cover leftover records from old providers and null MX for domains that don't receive mail.
How Do You Do an MX Record Lookup?
Use any of these methods; they all return the same records for a domain.
dig (macOS, Linux): returns priority and host for each MX record.
nslookup (Windows, macOS, Linux): shows the same information.
Online tools such as MXToolbox: no command line needed, plus extra checks.
Run the lookup for every sending domain you use, not just your main domain.
How to Read the Results
Each MX record has a priority number and a host. Lower numbers are tried first.
Field | Meaning |
|---|---|
Priority | Lower is preferred; equal priorities share load |
Host | The mail server that accepts mail |
Multiple records | Backups or load sharing |
The example above mixes two providers, which is usually a mistake (see below).
What Correct MX Records Look Like
Match your records to your provider's current instructions. Common patterns:
Provider | Typical MX host pattern |
|---|---|
Google Workspace | Google's MX host as shown in the Admin console (newer setups use a single host such as smtp.google.com; older setups list several aspmx hosts) |
Microsoft 365 | yourdomain-com.mail.protection.outlook.com (generated for your tenant) |
Other providers | Values from the provider's admin panel |
Always copy exact values from your admin console rather than from a guide, because providers update their recommendations.
Common MX Problems and Fixes
These are the issues an MX record lookup usually reveals.
Problem | Effect | Fix |
|---|---|---|
No MX record | Replies and bounces can't be delivered | Add your provider's MX records |
Records from two providers | Mail split unpredictably | Remove the old provider's records |
Typo in host | Mail fails to deliver | Copy exact values from the admin console |
MX points to a CNAME | Not allowed by DNS standards; may fail | Point MX to the actual host name |
Old provider left after migration | Mail goes to a dead or wrong server | Delete outdated records |
What Is a Null MX Record?
Some domains should never receive mail, such as parked or retired domains. RFC 7505 defines a null MX record that tells senders the domain accepts no mail:
Pair it with SPF v=spf1 -all and DMARC p=reject to stop anyone sending as that domain. Don't use null MX on any domain you send outreach from, because replies would be rejected.
MX Records for Cold Email Domains
Every cold email sending domain should receive mail.
Replies need somewhere to go.
Bounce messages tell you about bad addresses.
People sometimes reply to the domain from a different address.
A domain that can't receive mail looks less trustworthy.
Run an MX record lookup on each outreach domain when you set it up and after any DNS change. Every Litemail pre-warmed inbox comes with DNS configured, including MX, SPF, DKIM and DMARC.
Step-by-Step: Checking MX for Deliverability
Use this checklist for each domain. It takes a few minutes and catches problems that would otherwise surface only when a prospect says they replied and you never saw it.
Run dig MX or an online lookup.
Confirm records point to your current provider only.
Confirm there are no typos and no CNAME targets.
Send a test email to the domain from an outside address and confirm it arrives.
Reply to a test cold email and confirm the reply reaches the sending inbox.
Check SPF, DKIM and DMARC at the same time.
Our SPF, DKIM and DMARC guide covers the authentication side.
MX Records During a Provider Migration
Migrations are where MX mistakes happen most often, because old and new records easily overlap for a while.
Lower the TTL on MX records a day or two before switching.
Switch MX to the new provider and remove the old provider's records.
Keep the old mailboxes accessible briefly to catch mail in transit.
Update SPF to include the new provider and remove the old one.
Run an MX record lookup from several networks to confirm the change has propagated.
Worked Example: Fixing Missing Replies
An illustrative case. A team notices that prospects say they replied, but replies never arrive.
Step | Finding |
|---|---|
MX lookup | Two records: Google and an old hosting provider, same priority |
Effect | Some replies delivered to the old provider's mailbox |
Fix | Removed the old provider's MX record |
Test | External test emails and replies now all arrive |
A two-minute MX record lookup found the cause. See our deliverability guide for related checks.
What Real Users Say
Admin forums frequently describe MX problems after migrations: leftover records from old providers, mixed priorities and typos copied from outdated guides. The consistent advice is to copy values from the current provider's admin console and remove anything that no longer applies.
Final Verdict: Small Record, Real Consequences
An MX record lookup takes seconds and tells you whether a domain can receive mail. For email deliverability, check that every sending domain has MX records pointing only to your current provider, with exact values and no leftovers. Use null MX only on domains that never receive mail.
MX doesn't authenticate your outgoing mail, but it keeps the conversation, and your bounce feedback, coming back.
DNS Configured From Day One
Litemail pre-warmed Google Workspace and Microsoft 365 inboxes come with MX, SPF, DKIM and DMARC configured, dedicated US and EU IPs and full admin access. From $39/month for 5 inboxes.
Get Pre-Warmed Inboxes from $39/mo →
Google Workspace & Microsoft 365 · Full admin access · Dedicated US and EU IPs · Plans from 5 inboxes
About Litemail — Litemail provides pre-warmed Google Workspace and Microsoft 365 inboxes for cold email outreach. From $39/month for 5 inboxes with automated DNS, dedicated US and EU IPs, and full admin access. View pre-warmed inbox plans →
Related reading: SPF, DKIM and DMARC Setup Guide · Cold Email Deliverability Guide · Google Workspace Inboxes · Microsoft 365 Inboxes · Litemail Pre-Warmed Inboxes — Plans and Pricing
Key Takeaways
MX records control where inbound mail for a domain goes.
Run dig MX, nslookup -type=mx or an online lookup.
Records should point only to your current provider, with exact values.
Every cold email sending domain should receive mail.
Use null MX (RFC 7505) only for domains that never receive mail.
Re-check MX after any migration or DNS change.
Frequently Asked Questions
How do I do an MX record lookup?
Run dig MX yourdomain.com or nslookup -type=mx yourdomain.com, or use an online tool such as MXToolbox.
Do MX records affect email deliverability?
Indirectly. They don't authenticate outgoing mail, but without them replies and bounces can't be delivered, and a sending domain that can't receive mail can look suspicious.
What should my MX records be for Google Workspace?
The values shown in your Google Admin console; newer setups use a single Google MX host.
What should my MX records be for Microsoft 365?
Typically a host like yourdomain-com.mail.protection.outlook.com, generated for your tenant. Copy it from the admin center.
Can I have MX records from two providers?
Usually not intentionally; it splits mail unpredictably. Remove the old provider's records.
What is a null MX record?
A record defined in RFC 7505 that says a domain accepts no mail, used for parked or retired domains.
Do Litemail inboxes include MX records?
Yes. Litemail inboxes come with DNS configured, including MX, SPF, DKIM and DMARC, from $39/month for 5 inboxes.
Buy Pre-Warmed Email Inboxes & Domains | Litemail
Buy pre-warmed email accounts, inboxes and domains from $39/month for 5 inboxes. Google Workspace & Microsoft 365. Automated DNS, US & EU IPs. Setup in 5 minutes.
View Plans & Pricing → Related reading: Blacklist Prevention for B2B Teams · Google Workspace vs Microsoft 365 · Outlook Subject Line Display · Pre-Warmed Domains · Litemail Home


