Why “email isn’t working” is so often a DNS problem
When a company reports that email has stopped working, the mail server isn’t always the real culprit. DNS is the directory that tells the internet where your organization receives email, which hostnames map to which IP addresses, and (in the case of SPF) which systems are allowed to send on your behalf. A small DNS mistake can cause inbound mail to go to the wrong place, fail intermittently, or work for some senders but not others.
This guide focuses on the highest-impact DNS records behind business email—MX, A/AAAA, CNAME, and SPF—and the mistakes administrators most commonly make. The goal is to replace guesswork with a repeatable triage process you can use during incidents, migrations, and routine changes.
Core roles: what MX, A/AAAA, and CNAME actually do
MX records: where inbound mail should go
An MX record publishes the mail exchangers for a domain and their priorities. Sending mail servers look up your domain’s MX, pick the preferred target, resolve that target’s hostname to an IP address, and then connect over SMTP.
A/AAAA records: how MX targets become reachable
MX records typically point to a hostname (for example, mail.example.com). That hostname must resolve to an IPv4 address via an A record and/or an IPv6 address via an AAAA record. If the MX target doesn’t resolve, inbound delivery fails—even if the MX record itself looks correct.
CNAME records: useful aliases with sharp edges
A CNAME record aliases one hostname to another. It can simplify some DNS management, but it’s easy to misuse in email-related names. Certain CNAME patterns can introduce inconsistencies, record conflicts, or compatibility problems that show up as mail flow incidents.
The most common MX record mistakes
1) No MX record (or it’s created in the wrong zone)
The simplest failure is an absent MX record. Another frequent issue is placing the MX record under the wrong DNS zone. For instance, administrators sometimes add an MX under mail.example.com instead of example.com. If your users receive mail at user@example.com, then the MX record must exist for example.com.
2) Pointing an MX record to an IP address
An MX target should be a hostname, not an IP address. Some DNS panels allow IPs, but it’s nonstandard and can behave inconsistently across different resolvers and senders. The safer design is: MX points to a hostname, and that hostname has the appropriate A/AAAA record(s).
3) Using the bare domain as the MX target without a clear plan
Pointing MX to the apex domain (example.com) can work, but it often increases operational risk because the apex is also used for web and other DNS records. A dedicated mail hostname (mail.example.com) tends to be easier to manage and troubleshoot.
4) Priority confusion in multi-MX setups
Lower numeric priority means higher preference. A classic mistake is swapping primary and backup priorities, unintentionally pushing traffic to the secondary system. That can create delays, policy mismatches, or unexpected filtering behavior.
A/AAAA pitfalls: when MX is “right” but mail still fails
1) Missing A/AAAA for the MX target
You might have MX pointing to mail.example.com, but if mail.example.com has no A or AAAA record, senders can’t find an IP address to connect to. This is easy to overlook during changes or when multiple teams manage DNS and servers separately.
2) Stale or incorrect IP addresses after a move
If you migrated servers or changed providers, old A/AAAA values can keep sending mail to a decommissioned system. NAT redesigns can also cause this: the internal server may be fine, but the public IP changed and DNS wasn’t updated.
3) Publishing AAAA without actually supporting IPv6 SMTP
Publishing an AAAA record tells the world your mail host is reachable over IPv6. Some sending systems will prefer IPv6. If your firewall rules, routing, or MTA configuration don’t fully support IPv6, some senders will fail while others succeed, creating confusing “intermittent” reports. If you don’t operate IPv6, don’t publish AAAA. If you do, test it end-to-end.
CNAME traps: where it helps and where it breaks things
1) CNAME as an MX target
Some resolvers will follow a CNAME when it appears as an MX target, but it’s not a best practice and may not behave consistently everywhere. The safest pattern is: MX targets resolve directly via A/AAAA, with no alias chain.
2) CNAME conflicts with other record types
A hostname that has a CNAME cannot also have other records (A, MX, TXT, etc.). This becomes painful when you later need to add verification TXT records, an A record, or additional mail-related TXT entries under the same name. CNAME choices can lock you into an inflexible structure.
3) Copying “web DNS habits” into mail hostnames
Using CNAME for www is common. Applying the same approach to mail hostnames (creating long alias chains) typically makes email operations harder. Mail hostnames should be stable and directly resolvable.
SPF mistakes: inbound works, but outbound gets rejected
1) No SPF record, or SPF published under the wrong name
SPF is published as a TXT record on the domain used in the visible From address. A common mistake is putting SPF on mail.example.com when your users send as user@example.com. In that case, SPF must be on example.com.
2) Multiple SPF TXT records on the same domain
Publishing more than one SPF record is a frequent configuration error. Many receivers treat that as an SPF “permerror,” which can contribute to rejection or spam placement. The right approach is to maintain a single SPF record that includes all legitimate senders.
3) Too many includes and DNS lookups
SPF evaluation has DNS lookup limits. If your organization uses multiple sending systems (apps, CRM tools, ticketing, marketing services), the include chain can grow until it breaks SPF evaluation for some receivers. This is an inventory and design problem, not something you should “patch” blindly.
4) Misunderstanding ~all vs -all
Softfail (~all) and fail (-all) signal different enforcement intentions, but SPF alone doesn’t guarantee deliverability. Policy alignment and broader authentication strategy matter. Treat SPF as an accurate map of your sending sources, not a magic deliverability switch.
A practical triage flow you can reuse during incidents
1) Confirm whether the problem is inbound or outbound
“We can’t receive mail” and “we can’t send mail” have different DNS hotspots. Inbound triage starts with MX and the MX target’s A/AAAA resolution. Outbound triage often starts with SPF (and then typically expands into the wider authentication setup).
2) Determine scope: everyone or only certain senders/receivers?
If inbound fails from everyone, suspect MX/A/AAAA resolution or connectivity. If it fails only from certain external organizations, suspect IPv6 preference issues, DNS propagation differences, priority design mistakes, or sender-side behaviors.
3) Validate what the internet sees, not what your DNS panel shows
The DNS console is not the same as published reality. TTL, propagation timing, mismatched nameservers, or editing the wrong zone can cause your public records to differ from your intent. Always validate: does the domain have MX, does the MX target resolve, are A/AAAA values correct, did you accidentally publish AAAA, and are there any CNAME conflicts?
4) Make changes safely: one variable at a time, with rollback in mind
Changing several records at once makes root cause analysis harder. Prefer small, isolated changes. For planned work, lowering TTL in advance can help changes propagate faster, and having a rollback plan reduces incident duration if an assumption proves wrong.
Operational practices that reduce DNS-related email outages
- Use a dedicated mail hostname: For example, mail.example.com, and resolve it directly with A/AAAA.
- Maintain a sending-source inventory: Know which systems send as each domain before editing SPF.
- Decide on IPv6 deliberately: Either support and test it, or don’t publish AAAA.
- Keep SPF singular and intentional: One record, maintained over time, reflecting reality.
- Document changes: A simple change log (“what changed and why”) speeds up incident response.
Conclusion: DNS changes are small, but the blast radius is large
In business email, DNS is a low-effort place to make a high-impact mistake. MX correctness isn’t enough; the MX target must resolve cleanly, IPv4/IPv6 behavior must be consistent, CNAME must be used carefully, and SPF must be accurate and singular.
If you’re upgrading your email infrastructure or planning a controlled transition, the same fundamentals apply when moving to MX1Mail: start with a clean DNS design, roll changes out in a measured way, and verify from an external perspective. That approach prevents many “email stopped working” incidents before they happen.