MX
The MX record points to the MX token plus mail.protection.outlook.com. The token is built from the domain with dots turned into hyphens, so contoso.com becomes contoso-com.mail.protection.outlook.com. Use TTL 3600 and a preference lower than any other MX record (for example 1), and remove the old MX records once mail flows. You find the token in the Microsoft 365 admin center under Domains > Fix issues.
Autodiscover and SPF
- Autodiscover: a CNAME with alias Autodiscover and target autodiscover.outlook.com.
- SPF: only one SPF TXT record per domain, with at most 10 DNS lookups in total. The Exchange Online-only record is v=spf1 include:spf.protection.outlook.com -all. When another service sends as your domain, merge it into the same record rather than publishing a second one, and do not drop the Exchange Online include.
- msoid: this CNAME applies only to 21Vianet. On a worldwide tenant it breaks licence activation, so remove it.
mx.microsoft and DNSSEC
The Exchange Team blog Modernizing DNS security for Exchange Online mail flow (April 23, 2026) says:
- Auto-provisioning of DNSSEC-enabled records for new accepted domains, in subdomains under mx.microsoft, was delayed to the second half of 2026.
- DNSSEC is not planned for mail.protection.outlook.com.
- Inbound SMTP DANE with DNSSEC is supported and enforced through PowerShell.
- Outbound connectors gained MtaStsMode and SmtpDaneMode settings, default Opportunistic, rolling out from late February 2026.
Nothing in the blog says existing domains are switched over automatically. The cutover date has moved several times, so for any domain, trust the MX value the admin center shows.
Traps
- Keeping the dots (contoso.com.mail.protection.outlook.com) is not the token format.
- autodiscover.outlook.com is the Autodiscover target, never the MX target.
- spf.protection.outlook.com is an SPF include, not a mail host.