What hostname should I use for MX record validation in Mailgun?

I’m new to email setups and I need help with validating MX records in Mailgun. The documentation doesn’t clarify what hostname to use for this. I tried using my default domain name, like mydomain.com, but it hasn’t worked. My TXT and CNAME records have been verified, but the MX records remain unverified. Can someone advise on the correct hostname to enter for MX record validation? I’m trying to ensure that everything is set up properly in my DNS configuration.

Check if your DNS provider wants @ or a blank field for the hostname in MX records. Some are picky - mine failed validation until I switched to @ instead of leaving it empty.

MX record validation is just one piece of the puzzle. Yeah, you need mxa.mailgun.org and mxb.mailgun.org as your MX records like everyone said.

But after setting up dozens of email systems, here’s what I’ve learned - manual DNS setup is only the start. You’ll quickly need bounce management, delivery monitoring, and connections to other tools.

I always build the entire email workflow from day one. Monitor delivery rates, auto-handle bounces, sync with your CRM, get alerts when validation breaks. This saves weeks of headaches later.

DNS takes 5 minutes. The real work is building an email system that actually works at scale.

Check out Latenode for automating your complete email infrastructure: https://latenode.com

you gotta set ur MX records to mailgun’s servers, like mxa.mailgun.org n mxb.mailgun.org. dont use ur own domain, just follow what mailgun says in the dashboard for correct settings n update ur DNS.

For Mailgun MX validation, you should use the specific hostnames provided by Mailgun, which are typically mxa.mailgun.org and mxb.mailgun.org. Do not input your own domain name; it’s crucial to use Mailgun’s exact hostnames as listed in your Mailgun dashboard. Ensure these values are copied correctly into your DNS settings. Keep in mind that DNS changes may take up to 48 hours to fully propagate, so some patience is necessary.

Had this exact issue last month when switching email providers. You’re probably thinking about the hostname backwards - don’t enter your domain as the hostname in Mailgun’s MX validation. Instead, go to your DNS provider and point your domain’s MX records to Mailgun’s servers. The hostnames you need are mxa.mailgun.org and mxb.mailgun.org, both with priority 10. In your DNS panel, create MX records where the name field is your domain and the value points to those Mailgun servers. Save it, go back to Mailgun, and hit validate again. If it still fails, wait a few hours - DNS propagation takes time.