I’m trying to set up gmail for my domain.

I added the google settings to my MX Records as seen below


but Google don´t seem to find the Records I have already waited 48hrs and the result was that I didn´t have any MX records. I have double checked the spelling and it all adds up.

The domain is from Godaddy but I’ve directed the name servers to Digital Ocean.

I really don´t know why this isn’t working and I don´t want to be without my email for another 48hrs.

here is the Zonefile

$ORIGIN www.mydomain.com.
$TTL 1800
www.mydomain.com. IN SOA ns1.digitalocean.com. hostmaster.www.mydomain.com.
www.mydomain.com. 1800 IN NS ns1.digitalocean.com.
www.mydomain.com. 1800 IN NS ns2.digitalocean.com.
www.mydomain.com. 1800 IN NS ns3.digitalocean.com.
www.mydomain.com. 1800 IN A
www.www.mydomain.com. 1800 IN CNAME www.mydomain.com.
www.mydomain.com. 1800 IN MX 1 aspmx.l.google.com.
www.mydomain.com. 1800 IN MX 5 alt1.aspmx.l.google.com.
www.mydomain.com. 1800 IN MX 5 alt2.aspmx.l.google.com.
www.mydomain.com. 1800 IN MX 10 alt3.aspmx.l.google.com.
www.mydomain.com. 1800 IN MX 10 alt4.aspmx.l.google.com.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

Your mx records should be for mydomain.com not www.mydomain.com.

Adding this answer if anyone stumbled upon this question while trying to resolve the similar issues i had.

I had a similar issue, it seems like Add Gmail MX records creates wrong records. replacing ASPMX.L.GOOGLE.COM. with gmr-smtp-in.l.google.com. worked for me.

Submit an Answer