Google Apps: MX records for zonefile
Posted
by
23tux
on Server Fault
See other posts from Server Fault
or by 23tux
Published on 2011-01-17T11:01:48Z
Indexed on
2011/01/17
14:55 UTC
Read the original article
Hit count: 226
Hi everybody,
I have a question about using Google Apps for handling emails. I don't want to set up a whole entire mail system on my server, so I decided to use Google Apps. The ownership of my domain is approved, and now I'm trying to change the MX records in the zone file of my domain. But I think I'm doing wrong, it doesn't work.
I want to use mail.mydomain.com as a adress to the mail server for POP, SMTP and IMAP. My zone file looks like this:
$TTL 86400
@ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
2011011700 ; serial
14400 ; refresh
1800 ; retry
604800 ; expire
86400 ) ; minimum
@ IN NS robotns3.second-ns.com.
@ IN NS robotns2.second-ns.de.
@ IN NS ns1.first-ns.de.
@ IN A 111.111.111.111
localhost IN A 127.0.0.1
www IN A 111.111.111.111
ftp IN CNAME www
loopback IN CNAME localhost
mail IN CNAME @
relay IN CNAME www
@ IN MX 10 ALT1.ASPMX.L.GOOGLE.COM.
@ IN MX 10 ASPMX3.GOOGLEMAIL.COM.
@ IN MX 10 ASPMX2.GOOGLEMAIL.COM.
@ IN MX 10 ASPMX.L.GOOGLE.COM.
@ IN MX 10 ALT2.ASPMX.L.GOOGLE.COM.
I hope someone can figure out, what's wrong with this configuration. When I start a ping on mail.mydomain.org I get an answer from 111.111.111.111 and not from the google server ALT1.ASPMX.L.GOOGLE.COM.
thx, tux
© Server Fault or respective owner