Error 1: Missing or Empty MX Records (No Email Delivery)
When a domain has no MX records at all, email senders fall back to an outdated RFC 5321 rule: they attempt to deliver directly to the domain's A record (root domain IP address). Since most domains don't run mail servers on their web server IP, delivery almost always fails.
Symptoms of Missing MX Records
- Sending emails to your domain results in "Host or domain name not found" bounce messages.
- Our MX Lookup Tool returns "No MX records found."
- Your email provider's setup wizard shows MX verification failed.
How to Fix
- Log into your DNS management panel.
- Navigate to the MX records section.
- Add at least one MX record pointing to your email provider's mail server.
- If you intentionally want the domain to NOT receive email (e.g., test domain), configure a null MX record:
yourdomain.com. IN MX 10 .
Root Cause Prevention
Missing MX records often occur when migrating between DNS providers. Always verify MX records are migrated when changing nameservers. Use our MX Lookup Tool as part of your post-migration checklist.
Error 2: Lack of Redundancy (Single Point of Failure)
Having only one MX record creates a dangerous single point of failure. If that single mail server experiences downtime, maintenance, network issues, or DDoS attack, your domain becomes unable to receive any email until the server recovers.
Symptoms of No Redundancy
- Periodic email delivery delays or bounces when your mail server is offline.
- Deliverability warnings in email provider dashboards.
- During server maintenance, all incoming email is rejected.
How to Fix
- Add at least one secondary MX record with a higher priority value (e.g., primary priority 10, secondary priority 20).
- The secondary server should be geographically diverse (different data center, different network provider).
- For maximum redundancy, use a cloud-based email provider (Google Workspace, Microsoft 365) that provides multiple MX records automatically.
Proper Redundancy Configuration Example
yourdomain.com. IN MX 10 primary.mailserver.com
yourdomain.com. IN MX 20 backup.mailserver.com
yourdomain.com. IN MX 30 emergency.mailserver.com
Cloud Provider Redundancy
If using Google Workspace or Microsoft 365, always configure all MX records they provide. These providers have built-in global redundancy across their five MX entries. Do not skip "secondary" entries thinking they're optional.
Error 3: Using Raw IP Addresses Instead of Hostnames
RFC 5321, Section 5.1 explicitly requires MX records to point to hostnames (fully qualified domain names), not IP addresses. Using raw IPs violates the standard and causes strict mail servers to reject your email.
Symptoms of IP Address in MX
- Emails from some providers (especially Gmail, Outlook) bounce with "Invalid MX record" errors.
- DNS validation tools show "MX target is IP address" warnings.
- Email deliverability to enterprise recipients (banks, government, large corporations) fails.
Wrong Configuration (Don't Do This)
yourdomain.com. IN MX 10 192.168.1.100
Correct Configuration
yourdomain.com. IN MX 10 mail.yourdomain.com
mail.yourdomain.com. IN A 192.168.1.100
How to Fix
- Remove the MX record pointing directly to an IP address.
- Create a hostname (e.g., mail.yourdomain.com).
- Add an A record mapping that hostname to your mail server's IP address.
- Create a new MX record pointing to the hostname (not the IP).
Why Hostnames Matter
IP addresses change (especially with cloud providers). A hostname provides a stable reference that your DNS provider can update when IPs change. Additionally, hostnames enable load balancing (multiple IPs for one hostname) and geographic routing that IP addresses cannot provide.
Error 4: Unresolved Exchange Hostnames (A Record Missing)
Your MX record points to a hostname, but that hostname doesn't have a corresponding A or AAAA record. The sending mail server cannot find the IP address to connect to, making email delivery impossible.
Symptoms of Unresolved Hostnames
- Email delivery fails with "Invalid domain" or "Host not found" errors.
- Our MX Lookup Tool shows the MX record but warns "A record missing."
- Manual dig or nslookup shows MX record exists but A record lookup times out.
Example of the Problem
# MX record exists
yourdomain.com. IN MX 10 mail.yourdomain.com
# But no A record for mail.yourdomain.com
# (missing: mail.yourdomain.com. IN A 192.168.1.100)
How to Fix
- Find the correct IP address of your mail server (contact your email provider or check documentation).
- Add an A record (for IPv4) or AAAA record (for IPv6) mapping the hostname to the IP address.
- If your mail server hostname is provided by a third party (e.g., Google's aspmx.l.google.com), verify that provider's DNS is workingโyou don't control their A records.
Verification
After adding the A record, use our MX Lookup Tool again. The tool automatically resolves A records for each MX target and shows whether resolution succeeded.
Error 5: CNAME Conflicts at the Root Domain
DNS standards (RFC 1912, Section 2.4) prohibit CNAME records at the zone apex (root domain like yourdomain.com) if any other record types (MX, TXT, NS, SOA) exist. The CNAME would override all other records, causing them to be ignored.
Symptoms of CNAME Conflicts
- Your MX records randomly stop working.
- Email delivery is inconsistent (sometimes works, sometimes fails).
- DNS validation tools show "CNAME and other records conflict" errors.
- Our MX Lookup Tool sometimes returns results, sometimes returns the CNAME target.
Common Mistake Configuration
# WRONG - CNAME at root domain
yourdomain.com. IN CNAME www.yourdomain.com
# This makes the following MX records ignored
yourdomain.com. IN MX 10 mail.yourdomain.com
How to Fix
- Remove the CNAME record at the root domain.
- Use an A record at the root domain instead:
yourdomain.com. IN A 192.168.1.100 - If you need www.yourdomain.com to point to the same server, add a CNAME for www subdomain:
www.yourdomain.com. IN CNAME yourdomain.com.
Special Case: ALIAS/ANAME Records
Some DNS providers offer ALIAS or ANAME records that act like CNAMEs but allow coexistence with other record types. If your provider supports ALIAS/ANAME, you can use that instead of a CNAME. However, standard DNS compliance is safer with A records.
Error 6: Priority Misconfiguration (Wrong Server Tried First)
MX priorities determine which mail server is tried first. Common misconfigurations cause email to go to the wrong server, resulting in delivery failures, delays, or emails landing in the wrong mailbox.
Symptoms of Priority Issues
- Email is delivered to an old email provider after migration.
- Some recipients receive email, others don't (depending on which server handles delivery).
- Email is accepted but never appears in your inbox (delivered to wrong server).
Common Priority Mistakes
Mistake A: Equal Priorities for Different Providers
yourdomain.com. IN MX 10 google.mail.com
yourdomain.com. IN MX 10 microsoft.mail.com
Problem: Sending servers randomly choose between Google and Microsoft. Half your email goes to the wrong provider.
Fix: Assign different priorities: lower number = primary provider, higher number = backup.
Mistake B: New Provider Has Higher Priority Number (Tried Last)
yourdomain.com. IN MX 10 old.provider.com # Tried first
yourdomain.com. IN MX 20 new.provider.com # Tried second
Problem: After migrating to new provider, old provider still receives all email because it has priority 10.
Fix: Update priorities so new provider has lower number (higher priority).
Mistake C: No Gap Between Priorities
yourdomain.com. IN MX 10 primary.com
yourdomain.com. IN MX 11 secondary.com
Problem: Some sending servers consider priority 10 and 11 as effectively equal and may try secondary prematurely.
Fix: Use gap of at least 5-10 between priorities (10, 20, 30).
Proper Priority Configuration After Migration
- During migration (transition period): Set new provider priority 10, old provider priority 20.
- After confirming new provider works: Remove old provider's MX records entirely.
- Wait 48 hours for DNS caches to expire before canceling old provider.
Diagnostic Tools and Commands for MX Troubleshooting
When MX records fail, use these tools to diagnose the exact issue.
Our MX Lookup Tool (Recommended)
Our free tool performs comprehensive MX validation:
- Queries multiple DNS resolvers to detect propagation issues
- Resolves each MX target to A/AAAA records
- Validates priority formatting and values
- Detects CNAME conflicts
- Checks for redundant MX records
- Provides actionable fix recommendations
Command-Line Tools (For Advanced Users)
Dig (Linux/macOS) - Query MX Records
dig yourdomain.com MX +short
Shows raw MX records without extra output.
Dig - Trace Resolution Path
dig yourdomain.com MX +trace
Shows each step of DNS resolution, helping identify where failures occur.
Dig - Check Specific Resolver
dig @8.8.8.8 yourdomain.com MX # Google DNS
dig @1.1.1.1 yourdomain.com MX # Cloudflare DNS
Bypasses your local DNS cache to see what public resolvers see.
nslookup (Windows/Linux/macOS)
nslookup -type=MX yourdomain.com
Simpler output than dig, available by default on Windows.
Resolve A Records for MX Target
dig mail.yourdomain.com A +short
Verifies that your mail server hostname resolves to an IP address.
Online Diagnostic Tools
- MXToolbox: Comprehensive email deliverability testing including MX, SPF, DKIM, DMARC.
- Google Admin Toolbox: Google's official MX verification tool (dig equivalent in browser).
- DNS Checker: Shows MX records from 30+ global DNS resolvers to verify propagation.
Email Deliverability Testing
After fixing MX issues, verify email delivery with:
- Send test emails to check-auth@verifier.port25.com (returns detailed authentication report).
- Use Mail Tester (mail-tester.com) to score your email configuration.
- Monitor Google Postmaster Tools for deliverability metrics if sending to Gmail users.
