How to configure DNS for Mailgun with same TXT and CNAME?

馋奶兔 提交于 2019-12-03 06:52:39

It appears the missing ingredient is an A record for mg.mydomain.com

A

mg.mydomain.com.  A  nnn.nnn.nnn.nnn:

If email.mg.mydomain.com CNAME is in the same DNS zone as mydomain.com, mg.mydomain.com, etc. and there's an A record with the ip pointing back to the hostname then setting up the CNAME, TXT, and MX records should be straightforward:

CNAME

email.mg.mydomain.com.  CNAME   mailgun.org.

TXT

mydomain.com.   TXT  v=spf1 a include:mailgun.org ~all

(optional for receiving)

MX

mydomain.com.   MX  mxa.mailgun.org.
mydomain.com.   MX  mxb.mailgun.org.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!