2016-09-06 52 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,但可能沒有其他數據。

...