All articles
    Deliverability

    Mailgun MX Records Errors and Fixes: Troubleshooting Guide

    When Mailgun receiving breaks, the cause is usually one of four things: the MX pair is not published where you think, the root domain's mail was moved…

    VeriMailX Team November 23, 2026 3 min read

    Key takeaways

    • Start with dig +short MX <name> on the exact name that receives mail.
    • If the answer is missing or lists the wrong hosts, fix DNS.
    • If the answer is correct but mail is not stored, check the receiving route in Mailgun.

    When Mailgun receiving breaks, the cause is usually one of four things: the MX pair is not published where you think, the root domain's mail was moved without anyone noticing, a conflicting record blocks the change, or the address has no route. The table below pairs each symptom with a check and a fix. Use `dig` for every check, because the control panel shows what you entered, not what the internet sees.

    Research checked: 12 November 2026

    The short answer

    Start with `dig +short MX <name>` on the exact name that receives mail. If the answer is missing or lists the wrong hosts, fix DNS. If the answer is correct but mail is not stored, check the receiving route in Mailgun. If existing mail to the domain stopped arriving, the record is probably at the root, so check that first.

    Symptom table

    SymptomLikely causeCheckFix
    Empty MX answerRecord at the wrong name, or not yet propagated`dig +short MX <name>` returns nothingPublish at the receiving name; allow up to 48 hours
    Mailbox stopped receivingRoot MX changed to MailgunCompare current MX with the saved answerRestore the old MX or forward from Mailgun
    Answer lists old hostsStale cache or record not replacedQuery two resolvers and compare TTLsWait out the TTL; remove the old MX rather than adding a second set
    Priority mismatchOne host set to a different priorityRead the priority columnSet both `mxa` and `mxb` to priority 10
    Change refused or inconsistentCNAME or A record already at the same name`dig +short <name>` and `dig +short CNAME <name>`Remove the conflicting record; a name with a CNAME cannot hold other data
    Mail reaches Mailgun, nothing storedNo receiving route matchesCheck routes in the control panel for the addressAdd a route for that address or pattern
    Bounce from the senderReceiving path failed or inbox fullCheck the bounce text and the MX answerFix the path, then resend if the message is still wanted

    Symptoms in detail

    Symptom 1: The MX answer is empty

    Mailgun's verification guide lists the MX pair as receiving records, and says DNS changes can take 24 to 48 hours to fully propagate. An empty answer in the first hour usually means propagation, but an empty answer after a day means the record is missing or on a different name. Check the name character by character, including whether your DNS host added the domain again.

    Symptom 2: Existing mail stopped arriving

    This is the most serious failure. It happens when the MX pair is placed on the root domain. Every inbound message for that domain then goes to Mailgun. Run `dig +short MX example.com` and compare it with the answer you saved before the change. If you did not save one, check your DNS history or the mail host's own settings for the original target, and restore it.

    Symptom 3: The answer shows the old hosts

    Resolvers cache MX answers for the record's TTL. Lower the TTL before a planned change, and during an incident wait for the cache to expire. Do not add the Mailgun pair alongside the old hosts without a plan. Two sets of MX records at the same priority can split inbound mail between two systems you did not intend to run together.

    Symptom 4: The priorities do not match

    Mailgun's documented pair uses priority 10 for both hosts. A different priority on one host changes the order receivers try them in, and it can look like intermittent receiving. Copy both records exactly.

    Symptom 5: The change is refused

    DNS does not allow a CNAME alongside other records at the same name. If a CNAME already exists at the receiving name, the MX records cannot be published there. Remove the CNAME only if you know nothing depends on it. Check first with `dig +short CNAME <name>`.

    Symptom 6: DNS is correct, but nothing is stored

    The MX records only deliver the message to Mailgun. Mailgun then needs a receiving route that matches the address. If no route matches, the message is not handled. Open the routes in the control panel, confirm the pattern, and send a test to that address.

    Frequently asked questions

    Keep reading

    Comparisons

    Instantly vs Smartlead: How to Choose a Cold Email Platform

    Instantly and Smartlead both support cold email campaigns across multiple sending accounts. The better choice depends on your contact limits, sending volume, reply workflow, and the cost of the features you actually need. Start

    Read
    Comparisons

    Instantly vs Smartlead Deliverability: How to Compare Inbox Placement

    Neither Instantly nor Smartlead can guarantee that a cold email reaches the inbox. Both provide tools for managing outreach, but inbox placement also depends on your sending domain, authentication, recipient list, message and the

    Read
    Comparisons

    Instantly vs Smartlead Pricing: Compare the Real Cost of Outreach

    The headline subscription is only one part of a cold email budget. The right comparison includes sending limits, contact storage, mailboxes, lead data, verification and any tools needed for your team. A cheaper entry plan can

    Read