What this fixes
DANE lets receiving mail servers verify your mail server's certificate through DNS instead of a public CA. See Setting Up DANE for Email for the general mechanism — this guide covers the Microsoft 365 + Route 53 specific path.
This isn't a record you hand-author. Microsoft 365 supports "Inbound SMTP DANE with DNSSEC" as a managed feature: you enable DNSSEC on your zone and point MX at a Microsoft-supplied hostname, then Microsoft automatically provisions and publishes the TLSA record on its own infrastructure.
Step 1: Enable DNSSEC in Route 53
Follow Fixing DNSSEC in AWS Route 53 first — DANE can't be enabled until DNSSEC signing is active and validating on your hosted zone.
Step 2: Enable DNSSEC in Microsoft 365
- In Exchange Online PowerShell, run
Enable-DnssecForVerifiedDomainfor your domain.
Step 3: Swap in Microsoft's DANE-specific MX record
- Microsoft will provide a new MX target ending in
.mx.microsoft(distinct from the standardmail.protection.outlook.comMX record). - In your Route 53 hosted zone, edit your existing MX record (or create the new one) to point to the
.mx.microsofthostname Microsoft gave you. - Once mail flow is confirmed working on the new MX record, remove the old
mail.protection.outlook.comMX entry.
Step 4: Turn on inbound SMTP DANE
- In Exchange Online PowerShell, run
Enable-SmtpDaneInboundfor your domain. - Microsoft automatically provisions the TLSA record on its
.mx.microsofthostname — you don't create one yourself in Route 53. - Re-run your scan to confirm.
Limitations
- Not supported for self-service/"viral" sign-up domains, or your tenant's own
*.onmicrosoft.comdomain. - Microsoft recommends keeping an MTA-STS policy active alongside DANE.
Common pitfalls
- Looking for a way to manually create a TLSA record in Route 53 for this — Route 53 supports TLSA generally, but for M365's managed DANE flow, Microsoft publishes it on its own hostname instead.
- Getting the KMS/DNSSEC signing step wrong before attempting this — confirm DNSSEC status is fully Active in Route 53 before enabling DANE in Microsoft 365.
Help Center