我不确定我是否做得对,但我正在尝试使用电子邮件服务设置一些子域.所以我想要一个像something@sub.domain.com这样的电子邮件地址.我的问题是正确的.我不确定我做了什么.
$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线
227.phxscouting.com 3600 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
实际上会引用“something@227.phxscouting.com.phxscouting.com”的邮箱地址.您应该将该行指定为
227 3600 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
要么
227.phxscouting.com. 3600 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
这将匹配“something@227.phxscouting.com”.