Setting Up Email with MX Records
Last Updated: March 2026
2 min read
MX records, short for Mail Exchange, are what direct the emails sent to your domain name to the proper mail server. These records are usually provided by your email provider, but sometimes you will need to add the proper MX records and A records before your email will function.
If your email provider gives you MX records to configure, follow the steps below to add them to your DNS.
How to Add MX Records to DNS
- Log in to your domain registrar account.
- Navigate to your domains list.
- Click on the domain name you want to add the MX record to.
- Click on Manage DNS Records.
- In the drop-down menu under Type, select MX.
- Host is generally left blank, but if your email provider has specified that you need to add something here, please do so. Note that the
@sign is typically a substitute for blank (bare domain). - Fill in the Answer field. This is generally the mail server that will handle your email.
- Fill in the TTL and Priority fields. By default, these will be set to 300 and 10 respectively. If you are not sure what to enter here, you can generally leave them alone.
- Click Add Record after creating each record your email provider gave you.
Note: If you have multiple MX records, they cannot all have the same priority. Use different priority values (e.g., 10, 20, 30) to establish failover order.
Once the records are created, the domain should successfully point to the email server within a few hours.
Common MX Records by Provider
Google Workspace
| Priority | Answer |
|---|---|
| 1 | ASPMX.L.GOOGLE.COM |
| 5 | ALT1.ASPMX.L.GOOGLE.COM |
| 5 | ALT2.ASPMX.L.GOOGLE.COM |
| 10 | ALT3.ASPMX.L.GOOGLE.COM |
| 10 | ALT4.ASPMX.L.GOOGLE.COM |
Microsoft 365
| Priority | Answer |
|---|---|
| 0 | yourdomain-com.mail.protection.outlook.com |
Zoho Mail
| Priority | Answer |
|---|---|
| 10 | mx.zoho.com |
| 20 | mx2.zoho.com |
| 50 | mx3.zoho.com |
Tags:
dns
mx record
email
mail exchange
email setup
domains