Free Trial
Learning

DNS Simplified: MX Records

Anthony Eden's profile picture Anthony Eden on

MX stands for Mail eXchange. MX Records tell email delivery agents where they should deliver your email. You can have many MX records for a domain, providing a way to have redundancy and ensure that email will always be delivered.

Google Apps provides a common example of using MX Records for email delivery. When you create a Google Apps account and you want your email to be delivered to your Google Apps mail account, Google provides you with a set of MX records that you need to add to DNSimple. Here are the default MX records that Google suggests you should add:

  • aspmx.l.google.com 10
  • alt1.aspmx.l.google.com 20
  • alt2.aspmx.l.google.com 20
  • aspmx2.googlemail.com 30
  • aspmx3.googlemail.com 30
  • aspmx4.googlemail.com 30
  • aspmx5.googlemail.com 30

Google provides you with 7 different servers that can except your email. Each MX record includes a priority value, which is a relative value compared to the other priorities of MX records for your domain. Addresses with lower values will be used first. Therefore, when a mail agent wants to deliver an email to you it would first attempt to deliver to aspmx.l.google.com. If that server cannot handle the delivery it would then move onto alt1.aspmx.l.google.com, and if that server cannot handle the delivery then it would move onto alt2.aspmx.l.google.com, and so on.

Adding Google's MX records for your domain is so common that there is already a standard DNSimple template to make this a one-click operation. Edit your domain and click on the Apply Template link and apply the Google Apps template and you'll get all of the MX records for Google Apps and more.

MX records make it easy to define what servers should handle email delivery and allows you to provide multiple servers for maximum redundancy and ensured delivery.

Share on Twitter and Facebook

Anthony Eden's profile picture

Anthony Eden

I break things so Simone continues to have plenty to do. I occasionally have useful ideas, like building a domain and DNS provider that doesn't suck.

We think domain management should be easy.
That's why we continue building DNSimple.

Try us free for 30 days
4.5 stars

4.3 out of 5 stars.

Based on Trustpilot.com and G2.com reviews.