2

I am setting up mailgun.com to use with my website.

But when I add dns record with type txt name www.example.com and value v=spf1 include:mailgun.org ~all as suggested in mailgun setup:

enter image description here

I get the error that specified cname record already exists in the zone

enter image description here

Here are my dns records configuration right now:

enter image description here What do I do?

1 Answer 1

3

Your SPF records should be on the root domain, not the www subdomain. So set the TXT record on example.com instead of www.example.com and that should give you what you need.

From your screenshots it looks like you're trying to set up the www subdomain in Mailgun, which probably isn't what you want. Change to just the root domain there, otherwise you may be sending [email protected] emails.

4
  • 1)okay i did it and dns record is saved now but hostname example.com changed to @ automatically - is it ok? Commented Feb 25, 2016 at 10:21
  • 1
    Lots of DNS providers will show an @ in place of a subdomain, so you know it points to the root domain. Commented Feb 25, 2016 at 10:22
  • 2)Change to just the root domain there - do you mean that I should delete www.example.com from mailgun domains and add example.com and follow given instructions? Commented Feb 25, 2016 at 10:22
  • 1
    Unless they let you edit the domain inline, that may be the way to do it. Commented Feb 25, 2016 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.