Mailgun DNS records not found

So I am currently setting up Mailgun with my domain name on DO.

I am setting the following for “” as instructed by Mailgun:

  1. TXT record for: “” with the value (no need to paste here)
  2. TXT record for: “” with the value (no need to paste here)
  3. MX record: “
  4. MX record: “
  5. CNAME record: “” with value: “

I’ve added these to DO and they have translated to (hostname, value):

  1. TXT: “” with the value (no need to paste here)
  2. TXT: “” with the value (no need to paste here)
  3. MX record: “” with “”
  4. MX record: “” with “”
  5. CNAME record: “” with “”

However when I click “Check DNS Records” on Mailgun, no luck. Any idea what I might be doing wrong here?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thanks @hansen, that did the trick. To be honest it’s more of an unpaid ‘favour’ venture, but you’re point still stands - I should know!


I have followed all of your instructions and it works for every record except for:

TXT: “”.

I get the impression that domain key should be substituted for something?

Sorry I would love to provide the real domain but it’s for a client.

Hi @bookshelfbob

Have a look at this tutorial:

You should only input hostname into the control panel - it will append the domain. So for example the CNAME record would be with

It would help more with your real domain, if you want us to verify the DNS for you.