Portal Home > Knowledgebase > Articles Database > how to set google a MX under cpanel dns cluster ?
how to set google a MX under cpanel dns cluster ?
Posted by ttgt, 03-14-2012, 09:39 PM |
Hi,
i set a cpanel dns cluster and use "Add a DNS Zone" to add a domain on the cluster,
because i want to host mail part on google a,
and website on my server(it's ip may be 1.1.1.1),
so,i modify the dns zone as following:
; cPanel first:11.30.1.4 (update_time):1331735620 Cpanel::ZoneFile::VERSION:1.3 hostname:ns1.xxx.com latest:11.30.6.4
; Zone file for 123.com
$TTL 14400
123.com. 1 IN SOA ns1.xxx.com. admin.xxx.com. (
2011080423 ;Serial Number
1 ;refresh
1 ;retry
1 ;expire
1 ;minimum
)
123.com. 1 IN NS ns1.xxx.com.
123.com. 1 IN NS ns2.xxx.com.
123.com. 1 IN NS ns3.xxx.com.
www 1 IN CNAME 123.com.
ftp 1 IN CNAME 123.com.
mail 1 IN CNAME 123.com.
123.com. 1 IN TXT google-site-verification=m0EI4CgCwzNKbqgMh6tEaFwbHXTn2sFhE3vLlPTj6HU
123.com. 1 IN MX 10 aspmx.l.google.com.
123.com. 1 IN MX 20 alt1.aspmx.l.google.com.
123.com. 1 IN MX 20 alt2.aspmx.l.google.com.
123.com. 1 IN MX 30 aspmx2.googlemail.com.
123.com. 1 IN MX 30 aspmx3.googlemail.com.
123.com. 1 IN A 1.1.1.1
* i set the ttl as 1,it is because i want to let it work quickly when i still test it now.
* i try to test the mail route on other cpanel server's "Email Address Trace",some times,it still show with 1.1.1.1,not all google's record.
is possible that i can let all the mail 100% go to google without my website server 1.1.1.1 ?
thanx
|
Posted by Hoopla-Brad, 03-15-2012, 02:46 AM |
Have you set the name servers at your registrar? cPanels email trace will still rely on the DNS in resolv.conf
|
Posted by ttgt, 03-15-2012, 02:49 AM |
Hi,
my domain's nameserver is set on my dns cluster
ns1.xxx.com
ns2.xxx.com
ns3.xxx.com
i does not host the domain with my registrar and point A record to my dns cluster,so,my registrar already has no area to let me to set the records again.
thanx
|
Posted by Hoopla-Brad, 03-15-2012, 03:01 AM |
Maybe you can share the correct domain and name server domain?
|
Posted by ttgt, 03-15-2012, 03:04 AM |
for some reason,can i pm with you ? thanx
|
Posted by Hoopla-Brad, 03-15-2012, 03:05 AM |
Go for it.
|
Posted by Hoopla-Brad, 03-15-2012, 03:18 AM |
I suggest you look at your domain on http://network-tools.com/
Everything looks fine, I believe what you are seeing is due to caching.
From an SSH terminal try the following.
dig yourdomain.com MX @ns1.yournameserver.com
and...
dig yourdomain.com MX
The name servers you are using are probably caching the MX records.
|
Add to Favourites Print this Article
Also Read
Mysql query (Views: 736)