How to Configure MX Records for Email

DNS Management 2 February 2026 1 min read

What are MX Records?

MX (Mail Exchange) records tell email servers where to deliver emails for your domain.

MX Record Priority

Lower number = higher priority. Email tries the lowest priority server first.

Google Workspace MX Records

PriorityMail Server
1ASPMX.L.GOOGLE.COM
5ALT1.ASPMX.L.GOOGLE.COM
5ALT2.ASPMX.L.GOOGLE.COM
10ALT3.ASPMX.L.GOOGLE.COM
10ALT4.ASPMX.L.GOOGLE.COM

Microsoft 365 MX Records

Priority: 0

Mail Server: yourdomain-com.mail.protection.outlook.com

Steps to Add MX Records

  1. Log into your DNS management panel
  2. Navigate to DNS Records section
  3. Add new MX record with priority and mail server
  4. Save and wait for propagation (1-24 hours)

Important Notes

  • Delete old MX records when switching email providers
  • MX records should point to hostnames, not IP addresses
  • Add SPF, DKIM, and DMARC records for email security

Was this article helpful?

0% of readers found this helpful

Back to DNS Management