Help4 Net
Microsoft 365

Publish tenant-specific email DNS safely.

Microsoft supplies domain-specific MX and DKIM targets. Copy those exact values; generic examples cannot replace tenant-generated records.

Keep separate

  • MX routes inbound mail.
  • SPF authorizes envelope senders.
  • Two DKIM CNAMEs delegate selectors to Microsoft.
  • DMARC evaluates aligned SPF or DKIM.

Walkthrough

  1. Verify the domain. Publish the exact Microsoft verification record if setup requests one.
  2. Publish mail routing. Use the tenant-specific MX and required autodiscover/service records shown in Microsoft 365.
  3. Merge SPF. Include spf.protection.outlook.com in the single SPF record with any other legitimate senders.
  4. Publish both DKIM CNAMEs. Use selector1 and selector2 names and their exact tenant-specific targets.
  5. Enable DKIM. Wait until both CNAMEs resolve, then enable signing in Microsoft 365.
  6. Stage DMARC. Monitor, review alignment, then increase enforcement only after expected mail is clean.

Generic record shapes

SPF@ TXT "v=spf1 include:spf.protection.outlook.com ~all"
DKIM selector 1selector1._domainkey CNAME TENANT_SPECIFIC_SELECTOR1_TARGET
DKIM selector 2selector2._domainkey CNAME TENANT_SPECIFIC_SELECTOR2_TARGET
DMARC monitor_dmarc TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com; adkim=r; aspf=r;"

Verification

Microsoft authentication overview · Microsoft DKIM setup