Help CenterDomain & DNSWhat are MX records and how do I set them up?

What are MX records and how do I set them up?

Learn what MX records are and how to configure them for Microsoft 365, Google Workspace, or other email providers.

What Are MX Records?

MX (Mail Exchanger) records are DNS entries that tell the internet where to deliver email sent to your domain. Every email provider gives you specific MX records to add to your DNS.

How to Add MX Records via webzworld DNS

1. Log in to your domain panel

2. Go to DNS Zone Editor or DNS Management

3. Delete existing MX records (if changing email provider)

4. Add the new MX records provided by your email service

MX Records for Microsoft 365

Microsoft will provide records like:

  • Name: @ | Priority: 0 | Value: yourdomain-com.mail.protection.outlook.com

You will also need SPF, DKIM, and DMARC TXT records — Microsoft's setup wizard provides all of them.

MX Records for Google Workspace

Google Workspace MX records:

  • Priority 1: ASPMX.L.GOOGLE.COM
  • Priority 5: ALT1.ASPMX.L.GOOGLE.COM
  • Priority 5: ALT2.ASPMX.L.GOOGLE.COM
  • Priority 10: ALT3.ASPMX.L.GOOGLE.COM
  • Priority 10: ALT4.ASPMX.L.GOOGLE.COM

Testing Your MX Records

Use mxtoolbox.com to verify your MX records are live and correct.

SPF Record (Prevent Spam)

Add a TXT record:

v=spf1 include:spf.protection.outlook.com -all (for Microsoft 365)

v=spf1 include:_spf.google.com ~all (for Google Workspace)

Common Errors

  • Email bouncing: Old MX records still active — delete all before adding new ones
  • Spam folder delivery: Missing SPF/DKIM records
Was this article helpful? Contact Support