# Can an MX record point to a CNAME alias?

Canonical: https://www.namesilo.com/questions/dns-and-email/can-an-mx-record-point-to-a-cname-alias

Published: 2026-11-17

Last updated: 2026-11-19

Topic: DNS & email

No. RFC 2181 says the domain name used as an MX target must not be an alias. It needs appropriate address records instead. RFC 5321 likewise requires an MX target to resolve to at least one address record. Copy the mail service’s assigned target rather than substituting a website CNAME or an IP address.

Validate the target’s own address records

For NameSilo DNS, place the MX hostname in rrvalue and preference in rrdistance. Query the target independently for A or AAAA data, then test SMTP delivery. This restriction concerns the hostname inside MX data; it is separate from discovering the mail domain’s initial routing.

Your next steps

Obtain the provider’s exact MX hostname

Check its address records and absence of a target CNAME

Publish the requested MX preference

Test incoming mail

Validate the target’s own address records

For NameSilo DNS, place the MX hostname in rrvalue and preference in rrdistance. Query the target independently for A or AAAA data, then test SMTP delivery. This restriction concerns the hostname inside MX data; it is separate from discovering the mail domain’s initial routing.

Verified detail: MX target is not an alias.

Your next step: Test incoming mail.

## Sources

- [IETF RFC 2181 §10.3](https://www.rfc-editor.org/rfc/rfc2181.txt#section-10.3)

- [IETF RFC 5321 §5.1](https://www.rfc-editor.org/rfc/rfc5321.txt#section-5.1)

- [NameSilo Add DNS Records](https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record)
