Changing MX-records to Google Apps, what value do i give?

borisbastos

New member
Joined
Jun 16, 2014
Messages
9
hi,

i am trying to redirect my MX records of my domainname to point to Google servers for Google apps mail.
in DirectAdmin i would like to change the MX records to

Name - Type - Value
ASPMX.L.GOOGLE.COM. - MX - 10
ALT1.ASPMX.L.GOOGLE.COM. - MX - 20
ALT2.ASPMX.L.GOOGLE.COM. - MX - 30
ASPMX2.GOOGLEMAIL.COM. - MX - 40
ASPMX3.GOOGLEMAIL.COM. - MX - 50

But everytime i want to add an MX record it says it cannot because name and value must be valid.
There is a valuefield next to the dropdownlist where you indicate the figures (10, 20) and i need to fill in a vlaue there but i don't know what. Everywhere i read i understand i need to enter the details as above but DirectAdmin asks for another value as well?

Thanks for the help!

Bart
 
I think i found it (in the product help of google). I entered the values as

Name - Type - Value

@ MX 10 ASPMX.L.GOOGLE.COM.
@ MX 20 ALT1.ASPMX.L.GOOGLE.COM.
@ MX 30 ALT2.ASPMX.L.GOOGLE.COM.
@ MX 40 ASPMX2.GOOGLEMAIL.COM.
@ MX 50 ASPMX3.GOOGLEMAIL.COM.

I think this will be correct?

Thx
 
It's been a ewhile, and you likely know by now. But ...

You probably shouldn't ever use the @ sign in a DirectAdmin domain; it's a short cut which can work well if you truly understand it and have manual control over the order of your record lines in your zone file.

The @ character is a shorthand that means use exactly the subject (left-side item) directly above in the file. Because DirectAdmin uses an arbitrary source this usually works, but if you use nameserver delegation it likely breaks.

Safest, unless you know to use something else, would be to use your domain name, followed by a .[/i] character, on the left side, then the numbers as shown, then the object (right-side item) from the list sent by Google. While it's not critical, I'd use all lower case. And don't forget the . at the end.

Want to know more about DNS and how it works? There are lots of good references on the 'web; I'd recommend the DNS and BIND book, by Cricket Liu, published by O'Reilly.

Jeff
 
Safest, unless you know to use something else, would be to use your domain name, followed by a .[/i] character, on the left side, then the numbers as shown, then the object (right-side item) from the list sent by Google. While it's not critical, I'd use all lower case. And don't forget the . at the end.


Hi Jeff,

Thanks for your time for replying. If i understand you correctly, you're saying it's safest to use something like hostname.com.?

I'll certainly read into your suggestion as well ;)

Bart
 
Hello,

not exactly hostname.com. but domain.com. if you change records for domain.com.

Please consider that
The value of your hostname should be in the form similar to:

server.domain.com


where you run/manage domain.com (usually something like your webhost domain). The value "server" or something like that needs to be in front of it. (ns1 or www are both valid). You cannot use just "domain.com" as the hostname, as this will conflict with the email in your actual domain.com hosting account (with regards to how system accounts get their emails).

http://help.directadmin.com/item.php?id=405
 
Back
Top