Guides / Does a cold email domain need an MX record?
Does a cold email domain need an MX record?
Yes. MX records don't authenticate your mail the way SPF, DKIM and DMARC do, but a sending domain without working MX records has two problems. Replies from prospects have nowhere to land, so the people who answer you get a bounce (often days later) and you never see the reply. And some receiving servers check whether the sender's domain can receive mail at all: if it can't, or if it publishes a "null MX" saying it takes no mail, they may reject your messages. This guide explains what the standards say, how to check your domain, and how to fix it.
What an MX record does
An MX (mail exchanger) record tells the rest of the internet which servers accept email for a domain. When someone replies to you@yourdomain.com, their mail server looks up the MX records for yourdomain.com and delivers there. Sending is a separate job: your sending tool or mailbox provider sends the mail, and SPF, DKIM and DMARC prove it was allowed to. So a domain can send perfectly well without MX records. It just can't receive anything back.
The free checker at the top of this page looks up your MX records together with SPF, DKIM, DMARC and blocklists, so you can see in one go whether your sending domain can also receive mail.
What happens to replies when there's no MX record
The SMTP standard, RFC 5321 section 5.1, says a sender first looks for MX records. If there are none, it falls back to an "implicit MX": it tries to deliver to the domain's own address (A or AAAA) record, which is usually your website's server.
Website servers normally don't accept email. RFC 7505, the null MX standard, describes what happens next: if no mail server answers at those addresses, delivery "will be attempted repeatedly for a long period, typically a week" before the sender's server gives up. For cold email that is the worst outcome: the prospect who took the time to reply gets a bounce long after they wrote, and you never learn they answered.
What a null MX record is, and why it is worse
A null MX is a single MX record with priority 0 and the host . (a dot). RFC 7505 section 3 defines it as the way to say "this domain does not accept email", and says a domain with a null MX must not have any other MX record.
It is meant for domains that never send or receive mail. Section 4.2 of the same RFC says mail systems "SHOULD NOT publish a null MX record for domains that they use in RFC5321.MailFrom or RFC5322.From addresses" (the bounce address and the visible From address), and that a domain doing so "risks having its mail rejected". It also gives receivers a standard rejection for it: a 550 reply with the enhanced status code 5.7.27, "Sender address has null MX".
Null MX records usually get onto a sending domain by accident: someone locks down a domain they thought wasn't used for email, a parked-domain DNS template stays in place after the domain is put to work, or the domain is copied from another one that really didn't send mail. If you see 550 5.7.27 in a bounce, check your MX records first.
Receivers that check the sender's domain
Some mail servers refuse mail whose sender domain can't receive mail, because a message that can't be answered or bounced looks like spam. RFC 7505 puts it plainly: "Many receiving systems reject mail that has an invalid return address."
Postfix, a widely used open-source mail server, has a setting for exactly this. Its documentation (postconf(5), reject_unknown_sender_domain) says it rejects mail when the MAIL FROM domain has "no DNS MX and no DNS A record" or "a malformed MX record such as a record with a zero-length MX hostname" (a null MX). The default reply is a temporary 450, but a null MX gets a permanent 550 in Postfix 3.0 and later.
That check looks at the MAIL FROM (Return-Path) domain. Many sending tools use their own bounce domain or a subdomain of yours there, which they set up for you. The domain in your From address is the one you control directly, and RFC 7505 covers both, so make sure neither has a null MX and that your From domain has real MX records.
How to check your domain
- Run the free checker above on the domain you send from. The MX row shows the mail servers it found, says when there are none, and flags a null MX.
- Or look it up yourself:
dig +short MX yourdomain.com(macOS and Linux) ornslookup -type=MX yourdomain.com(Windows). You want one or more lines naming your mailbox provider's servers. An answer of0 .is a null MX. No answer at all means no MX records. - Check every domain you send cold email from, including secondary or lookalike domains. They are easy to set up for sending only and forget about receiving.
- Send a test reply: from a personal address at another provider, reply to one of your cold emails and confirm it arrives in the sending inbox.
How to fix it
- If the domain has a null MX (
0 .), delete it. It can't sit next to real MX records. - Add the MX records from your mailbox provider's setup page (Google Workspace, Microsoft 365 or whoever hosts the inbox). If you use the domain only for sending and want replies to go to your main inbox, add it to the same mailbox account as a secondary or alias domain, or use a forwarding service, and publish the MX records that service gives you.
- While you are in DNS, look at SPF. A record that is just
v=spf1 -allis the SPF way of saying "this domain sends no mail" (RFC 7505 suggests it for non-sending domains), so every message you send fails SPF. Replace it with your real SPF record, see SPF for Google Workspace for an example. - Wait for the old record's TTL to pass, re-run the check and send the test reply again.
Keep an eye on it
MX records get changed or dropped during DNS moves, website rebuilds and domain transfers, and nothing tells you until replies stop. OutboxWatch checks SPF, DKIM, DMARC, MX and blocklists on your sending domains every day and emails you when something changes. Setting up more sending domains? See using a secondary domain for cold email.
Frequently asked questions
Do MX records improve inbox placement?
Not directly. MX records aren't part of SPF, DKIM or DMARC and don't authenticate your mail. They matter because without them replies can't reach you, and some receivers reject mail from domains that can't receive mail or that publish a null MX.
Can my MX records point to a different provider than the one I send with?
Yes. MX only controls where mail to your domain is delivered. Many teams send through a sending tool or one provider and receive replies in Google Workspace or Microsoft 365.
What does bounce code 550 5.7.27 mean?
RFC 7505 defines 5.7.27 as "Sender address has null MX": the receiving server rejected your message because your sender domain publishes a null MX record saying it takes no email. Delete the null MX and add real MX records.
My domain has no MX records but I still get some replies. How?
Under RFC 5321 a sender with no MX to use falls back to the domain's A or AAAA record. If something at that address happens to accept mail, replies can still arrive, but that is fragile. Publish proper MX records.
Should domains I never send from have a null MX?
That is what RFC 7505 created it for, together with an SPF record of v=spf1 -all that says the domain sends no mail. Just never put either on a domain you send from.
Related guides
- Gmail 550 5.7.27 and 421 4.7.27: SPF didn't pass
- Using a separate domain for cold email: why and how
- Cold email deliverability checklist
- Why are my cold email replies going to spam?
- SPF record for Google Workspace: the exact value and common mistakes
- SPF ~all vs -all: which one should a cold email domain use?
- Cold emails bouncing with 550 5.1.1 user unknown: what it means and what to do
- All guides
- Monitoring plans