2016-09-06 44 views
0

我在为子域设置MX记录时遇到问题。问题是该子域名是CNAME,位于googlehosted。我被告知我需要为该子域设置MX来完成在该网站上设置的邮件。MX在Google托管子域时遇到问题

在MX中为CNAME设置,导致该区域无法在绑定中加载。

我加满子域名和包括MX,并没有抱怨..

$TTL 3600 
@    IN SOA ns1.myserver.com. support.myserver.com. (
           2012013023 ; serial 
           3H  ; refresh (3 hours) 
           15M  ; retry (15 minutes) 
           1W ; expire (1 weeks) 
           1D  ; minimum (1 day) 
           ) 
       IN NS   ns1.myserver.com. 
       IN NS   ns2.myserver.com. 
       IN A   xxx.xxx.xxx.xxx 
       IN MX   1 ASPMX.L.GOOGLE.COM. 
       IN MX   5 ALT1.ASPMX.L.GOOGLE.COM. 
       IN MX   5 ALT2.ASPMX.L.GOOGLE.COM. 
       IN MX   10 ASPMX2.GOOGLEMAIL.COM. 
       IN MX   10 ASPMX3.GOOGLEMAIL.COM. 
www    IN A   xxx.xxx.xxx.xxx 
mail   IN CNAME  ghs.googlehosted.com. 
calendar  IN CNAME  ghs.googlehosted.com. 
docs   IN CNAME  ghs.googlehosted.com. 
sites   IN CNAME  ghs.googlehosted.com. 
asdfasdf.sites.myserver.com. IN CNAME gv-asdfasdf.dv.googlehosted.com. 

sites IN MX  1 ASPMX.L.GOOGLE.COM. 

但是当我在MX运行NSLOOKUP,它没有呈现出MX值只是规范?

nslookup 
> set type=mx 
> server ns1.myserver.com 
Default server: ns1.myserver.com 
Address: xxx.xxx.xxx.xxx#53 
> sites.myserver.com 
Server:   ns1.myserver.com 
Address:  xxx.xxx.xxx.xxx#53 

sites.myserver canonical name = ghs.googlehosted.com 

我需要建立一个MX为sites.myserver.com指向 1 ASPMX.L.GOOGLE.COM。

回答

0

该区域文件仍然无效,绑定应拒绝启动。区域外数据(asdfasdf.sites.myserver.com)会被忽略,但同一个域的CNAME和其他数据不能共存。

RFC2181,10.1。 CNAME资源记录:

...

别名(CNAME记录的标签)可以,如果DNSSEC是在 使用,有SIG,NXT和关键的RR,但可能没有其他数据。

...