Linode Forum
https://forum.linode.com/

Proper MX Records?
https://forum.linode.com/viewtopic.php?f=11&t=9001
Page 1 of 1

Author:  rferrylagi [ Thu Jun 14, 2012 3:06 pm ]
Post subject:  Proper MX Records?

We've just pointed the DNS nameservers to our new linode and I want to get some feedback from the community regarding the right configuration of our MX records so that we do not have any downtime in our email. Right now I have (as per http://library.linode.com/email/google-mail):

Quote:
MX Records
Mail Server Preference Subdomain TTL Options
mail.landartgenerator.org 10 Default Edit | Remove
ASPMX.L.GOOGLE.COM 1 Default Edit | Remove
ALT1.ASPMX.L.GOOGLE.COM 5 Default Edit | Remove
ALT2.ASPMX.L.GOOGLE.COM 5 Default Edit | Remove
ASPMX2.GOOGLEMAIL.COM 10 Default Edit | Remove
ASPMX3.GOOGLEMAIL.COM 10 Default Edit | Remove


Do I need to delete the first entry (mail.landartgenerator.org)?

Also, our previous host recommends the following:

Quote:
MX 10 ASPMX.L.GOOGLE.COM.
MX 20 ALT1.ASPMX.L.GOOGLE.COM.
MX 20 ALT2.ASPMX.L.GOOGLE.COM.
MX 30 ASPMX2.GOOGLEMAIL.COM.
MX 30 ASPMX3.GOOGLEMAIL.COM.
MX 30 ASPMX4.GOOGLEMAIL.COM.
MX 30 ASPMX5.GOOGLEMAIL.COM.
calendar CNAME ghs.google.com.
docs CNAME ghs.google.com.
mail CNAME ghs.google.com.


Do I need to add ASPMX 4 and 5? What about the last three lines???

Looking around online, I see contradicting recommendations especially as it pertains to "preference." Some forums recommend preferences from 1-7 (top to bottom per the list above). And what do the 10s and 30s mean in the list above?

Thank for your kind help. I'm rather new to this and I would like to avoid the nightmare of our emails getting lost in the shuffle.

-Rob

Author:  hawk7000 [ Thu Jun 14, 2012 3:12 pm ]
Post subject:  Re: Proper MX Records?

Yes, remove that other MX record. In general you shouldn't mix MX records of different service providers (unless you really know what you are doing).

Regarding which records to include, I would recommend following what the documentation from the actual service provider says. In this case: http://support.google.com/a/bin/answer. ... wer=174125

Author:  hawk7000 [ Thu Jun 14, 2012 3:19 pm ]
Post subject:  Re: Proper MX Records?

To cover some of the other things you mentioned:

Regarding those CNAME records they have nothing to do with email delivery. However, you may want to use those or other names to access your Google Apps services. See the Google Apps documentation for details on that.

Regarding the priority in MX records those numbers are only relative to each other, the absolute values do not matter but whichever record has the lowest number has the highest priority.

Author:  rferrylagi [ Thu Jun 14, 2012 3:40 pm ]
Post subject:  Re: Proper MX Records?

Thank you.

Looking through the information at google (thank you for the link) there is mention of TTL and setting it to 300.

Right now the lower part of my DNS records page looks like below. Is there anything else I should change and do I need to worry about TTL?

Quote:
A/AAAA Records
Hostname IP Address TTL Options
50.116.11.90 Default Edit | Remove
mail 50.116.11.90 Default Edit | Remove
www 50.116.11.90 Default Edit | Remove
Add a new A record

CNAME Records
Hostname Aliases to TTL Options
Add a new CNAME record

TXT Records
Name Value TTL Options
Add a new TXT record

SRV Records
Service Domain Priority Weight Port Target TTL Options
Add a new SRV record


Thanks!

Author:  hawk7000 [ Thu Jun 14, 2012 4:08 pm ]
Post subject:  Re: Proper MX Records?

The TTL specifies how long the records are allowed to be cached by others. (Which will affect how quickly any changes you make to these records later on will take effect for everyone.)

Author:  topcoder [ Sun Jun 24, 2012 9:38 am ]
Post subject:  Re: Proper MX Records?

Quote:
Looking through the information at google (thank you for the link) there is mention of TTL and setting it to 300.


A TTL 300 = 5 minutes, unless you're testing DNS settings (Once you get everything working right), I would bump it a little higher more like 3600 (1 Hour)

As Hawk7000 suggested remove the other MX record and those other CNAMES are not needed for sending mail.

Since you're messing with DNS you should also add this SPF record for google mail: "v=spf1 include:_spf.google.com ~all"

Here's the google instructions on that.
http://support.google.com/a/bin/answer. ... wer=178723

You can also add the new DMARC records (DNS Change as well)
http://support.google.com/a/bin/answer. ... er=2466563

For you it will be something like: "v=DMARC1\; p=none\; rua=mailto:postmaster@your_domain.com"
It should be added under "_dmarc.yourdomain.com"

Use the "p=none" setting for now, until you know you have your SPF and DKIM set up right.

If you want to check and verify your SPF and DKIM, send an email to mailtest [AT] unlocktheinbox.com, it will auto-respond letting you know if it's correct. If it is, you can change the "p=none" to "p=quarantine" or "p=reject", you can read more about email autentication testing here: Email Authentication Testing

I don't think you need to worry about setting up DKIM, Google app mail does that for you, I think. But definitely confirm that through the authentication testing tools.

Maybe a little to much information, but I think that's everything in a nutshell.

Author:  vonskippy [ Sun Jun 24, 2012 3:25 pm ]
Post subject:  Re: Proper MX Records?

hawk7000 wrote:
The TTL specifies how long the records are allowed to be cached by others.

Of which a huge percentage of the DNS resolvers conveniently ignore and keep the data for whatever overriding time frame they've been set up with.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/