我不确定我是否做得对,但我正在尝试使用电子邮件服务设置一些子域。所以我想要一个类似[email protected] 的电子邮件地址。我的问题是正确的。我不确定我做到了。
$ORIGIN phxscouting.com.
$TTL 3600
@ IN SOA ns1.softlayer.com. root.phxscouting.com. (
2010012204 ; Serial
3600 ; Refresh
300 ; Retry
604800 ; Expire
3600) ; Minimum
@ 3600 IN NS ns1.softlayer.com.
@ 3600 IN NS ns2.softlayer.com.
227.phxscouting.com 3600 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
227.phxscouting.com 3600 IN MX 30 ALT2.ASPMX.L.GOOGLE.COM.
227.phxscouting.com 3600 IN MX 10 ASPMX.L.GOOGLE.COM.
227.phxscouting.com 3600 IN MX 40 ASPMX2.GOOGLEMAIL.COM.
227.phxscouting.com 3600 IN MX 50 ASPMX3.GOOGLEMAIL.COM.
820.phxscouting.com 3600 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
820.phxscouting.com 3600 IN MX 30 ALT2.ASPMX.L.GOOGLE.COM.
820.phxscouting.com 3600 IN MX 10 ASPMX.L.GOOGLE.COM.
820.phxscouting.com 3600 IN MX 40 ASPMX2.GOOGLEMAIL.COM.
820.phxscouting.com 3600 IN MX 50 ASPMX3.GOOGLEMAIL.COM.
827.phxscouting.com 3600 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
827.phxscouting.com 3600 IN MX 30 ALT2.ASPMX.L.GOOGLE.COM.
827.phxscouting.com 3600 IN MX 10 ASPMX.L.GOOGLE.COM.
827.phxscouting.com 3600 IN MX 40 ASPMX2.GOOGLEMAIL.COM.
827.phxscouting.com 3600 IN MX 50 ASPMX3.GOOGLEMAIL.COM.
@ 3600 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
@ 3600 IN MX 30 ALT2.ASPMX.L.GOOGLE.COM.
@ 3600 IN MX 10 ASPMX.L.GOOGLE.COM.
@ 3600 IN MX 40 ASPMX2.GOOGLEMAIL.COM.
@ 3600 IN MX 50 ASPMX3.GOOGLEMAIL.COM.
calander.227.phxscouting.com 3600 IN CNAME ghs.google.com.
calander.820.phxscouting.com 3600 IN CNAME ghs.google.com.
calendar 3600 IN CNAME ghs.google.com.
calendar.827.phxscouting.com 3600 IN CNAME ghs.google.com.
docs 3600 IN CNAME ghs.google.com.
googleffffffffbd82c380 3600 IN CNAME google.com.
mail 3600 IN CNAME ghs.google.com.
mail.227.phxscouting.com 3600 IN CNAME ghs.google.com.
mail.820.phxscouting.com 3600 IN CNAME ghs.google.com.
mail.827.phxscouting.com 3600 IN CNAME ghs.google.com.
short 3600 IN CNAME ghs.google.com.
sites 3600 IN CNAME ghs.google.com.
227 3600 IN A 74.86.80.229
820 3600 IN A 74.86.80.229
827 3600 IN A 74.86.80.229
@ 3600 IN A 74.86.80.229
cubby 3600 IN A 74.86.80.229
ftp 3600 IN A 74.86.55.26
webmail 3600 IN A 74.86.80.229
www 3600 IN A 74.86.80.229
您指定了“$ORIGIN phxscouting.com”。在文件的顶部,这意味着名称服务器将附加“phxscouting.com”。到文件中不以句点终止的每个条目的末尾。
因此,正如您当前指定的那样,第一条 MX 行
实际上将引用“[email protected]”的邮件地址。相反,您应该将该行指定为
或者
这将匹配“[email protected]”。
不需要每次都指定 3600 的 TTL,它已经是您的默认值,因为您的默认条目:$TTL 3600