Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Firemaps's avatar

Register mailgun with GoDaddy domain

Hi guys, I am trying to sort my mailgun API with my GoDaddy domain but with up to 48 hour DNS propogation debugging is a nightmare. I have contacted both companies, and both were absolutely useless and could not offer the assistance I need so I'm turning here.

I need to add a TXT record to my DNS on GoDaddy. GoDaddy has fields for Host, TXT value and TTL Mailgun recommended to enter mg.[mydomain].com and gives fields for Hostname and "Enter this value"

Q1 : Do I add "@" or the mailgun value to GoDaddy hostname?

Q2 : Secondly, Do I need to change "mx._domainkey.mg.[mydomain].info" hostname to include some sort of API key in lieu of _domainkey ?

Unbelieveably neither GoDaddy or Mailgun can answer this.

0 likes
3 replies
BrokeYourBike's avatar

GoDaddy autofill the domain name for DNS records.

If you use your main domain like example.com then you should use @ for the DNS records. For not obvious records like this k1._domainkey.example.com you should use only k1._domainkey.

But, if you use a subdomain - mg.example.com. You should use only mg for records. And k1._domainkey.mg for k1._domainkey.mg.example.com.

1 like

Please or to participate in this conversation.