What Is MX Record?
An MX (Mail Exchange) record is a DNS record that specifies which mail servers are responsible for receiving email for a domain. MX records include a priority value to determine the order in which mail servers are tried.
Why It Matters
MX records determine where email for your domain is delivered. When setting up domain forwarding, one of the biggest concerns is: “Will forwarding break my email?”
The short answer is no — if done correctly. MX records and A records serve different purposes and can point to different servers. But mistakes in DNS configuration can accidentally interfere with email delivery.
How It Works
An MX record contains:
- Name: The domain (e.g.,
example.com) - Type: MX
- Priority: A number (lower = higher priority)
- Value: The hostname of the mail server
Example:
example.com. MX 10 mail.example.com.
example.com. MX 20 backup-mail.example.com.
When someone sends email to user@example.com, their mail server queries the MX records for example.com and delivers the message to the highest-priority mail server.
MX Records vs Domain Forwarding
Domain forwarding typically changes the A record (for web traffic) while leaving MX records untouched. This means:
example.comin a browser → Domain Forward’s servers → redirect to destinationuser@example.comemail → Your mail server (unchanged)
Common Mistakes
Using a CNAME at the apex domain. A CNAME at the apex is technically invalid and can interfere with MX records, because a CNAME means “this name is an alias for another name, ignore all other records here.” This can cause email delivery failures.
Accidentally deleting MX records. Some DNS management UIs make it easy to clear all records when changing configuration. Always verify MX records remain after DNS changes.
Not testing email after DNS changes. Send a test email to your domain after setting up forwarding to confirm delivery still works.
Related Terms
Related Features
Frequently
asked questions
Not if set up correctly. Domain forwarding changes A and/or CNAME records to point to a redirect server, but your MX records should remain untouched. Email routing and web traffic use separate DNS record types. Always verify your MX records are still present after setting up forwarding.
Yes. MX records are independent of A records. You can point your A record to Domain Forward for web traffic while keeping MX records pointed to your email provider (Google Workspace, Microsoft 365, etc.).
Still Confused? Try It Free.
Set up your first domain forward in under 5 minutes. Free plan includes 5 domains.