This course will be retired on January 6, 2020.
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
MX Records1:44 with Jason Seifer
MX records are responsible for pointing to servers that accept mail messages for a domain.
About MX Records
- MX records specify how mail should be routed via SMTP.
- MX records are specified via priority, such as 1, 5, 10, etc.
- Backup MX servers hold mail in a queue in case the priority server is not available.
- MX records are usually specified via the fully qualified domain name (FQDN).
Example MX Records
Google's MX Records:
1 aspmx.l.google.com. 5 alt1.aspmx.l.google.com. 10 aspmx3.googlemail.com.
The next type of record that we're going to be talking about is the MX record.
The MX record is responsible for pointing the servers that accept email messages,
and we have to talk a little bit about how email works in order to understand how the MX records work.
Now the MX records specify how mail should be routed via SMTP.
SMTP stands for simple mail transfer protocol,
and it's how messages make their way in between different servers.
So an MX record is usually specified via something called the fully qualified domain name.
All that means is that you're using the entire domain instead of just something like WWW or mail.
In the simplest case the MX records are specified for just 1 mail server.
In more complicated cases MX records are specified by priority.
It can usually be 1, 5, 10, 20, 50.
The MX records specify the different priority of servers for accepting email messages.
The highest-priority MX record will be something called the primary server.
The backup servers are responsible for knowing when that primary server is back and running in the case that it goes down.
An example of this is Google Apps.
If you've ever used Google Apps, they give you 5 different sets of MX records to enter into your domain name provider.
This usually starts with the first priority of aspmx.l.google.com,
and then it goes up to 5 and 10 with different servers accordingly.
That's the basics of how MX records work.
You need to sign up for Treehouse in order to download course files.Sign up