DNSVerdict

Microsoft 365 SPF, DKIM & DMARC DNS records

Microsoft 365 is a mailbox hosting service; to send as your domain it needs include:spf.protection.outlook.com in your SPF record, 2 CNAME DKIM records and a DMARC record that you publish. Automatic setup: Domain Connect (only at registrars that support it).

Last verified 2026-10-20 against the provider's documentation. Rows marked not re-verified come from earlier research. · Mailbox hosting

Microsoft 365 DNS records

RecordHostTypeValueSource
SPF@TXTinclude:spf.protection.outlook.com
Other documented targets: include:spf.protection.office365.us, include:spf.protection.partner.outlook.cn
Add inside your existing v=spf1 record; never publish a second one.
Set up SPF to identify valid email sources for your Microsoft 365 domain - Microsoft Defender for Office 365 | Microsoft Learn
verified 2026-10-20
DKIMselector1._domainkey
selector2._domainkey
CNAMEGenerated in your Microsoft 365 account; copy it from the console.How to use DKIM for email in your custom domain - Microsoft Defender for Office 365 | Microsoft Learn
verified 2026-10-20
DMARC_dmarcTXTv=DMARC1; p=noneSet up DMARC to validate email in Microsoft 365 - Microsoft Defender for Office 365 | Microsoft Learn
verified 2026-10-20

Who handles SPF for Microsoft 365?

You publish SPF. Add include:spf.protection.outlook.com to your domain's single SPF record (RFC 7208 section 3.2 allows only one) before the all mechanism.

Source: Set up SPF to identify valid email sources for your Microsoft 365 domain - Microsoft Defender for Office 365 | Microsoft Learn (verified 2026-10-20)

DKIM: 2 records for Microsoft 365

Microsoft 365 documents 2 CNAME DKIM records for your domain.

Source: How to use DKIM for email in your custom domain - Microsoft Defender for Office 365 | Microsoft Learn (verified 2026-10-20)

How DMARC passes with Microsoft 365

The documented setup can align through both SPF and DKIM.

DMARC for Microsoft 365

The documentation shows this starter record.

Microsoft 365 routes outbound mail through the high-risk delivery pool when a domain's DMARC policy is p=quarantine or p=reject and the mail fails DMARC at the destination; there is no override.

v=DMARC1; p=none

Source: Set up DMARC to validate email in Microsoft 365 - Microsoft Defender for Office 365 | Microsoft Learn (verified 2026-10-20)

Setup in Microsoft 365

Automatic setup: Domain Connect (only at registrars that support it).

  1. Defender portal > Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM tab
  2. Select the domain and copy the two CNAME values under Publish CNAMEs
  3. Publish selector1._domainkey and selector2._domainkey as CNAME records at your DNS host
  4. After Microsoft 365 detects the CNAMEs, turn DKIM on for the domain (Toggle to Enabled)

Source: learn.microsoft.com (verified 2026-10-20)

Check your Microsoft 365 setup

Compare your live DNS with these records.

Provider setup checkRun the provider setup check to compare your domain's live DNS with the provider you picked.

Email deliverability score

Setup guide

More providers in Mailbox hosting

FAQ

Do I add an SPF include for Microsoft 365?

Yes. Microsoft 365's documentation names include:spf.protection.outlook.com. Add it inside your existing SPF record, because a domain may publish only one (RFC 7208 section 3.2).

How does Microsoft 365 publish DKIM?

Microsoft 365 documents 2 CNAME DKIM records. Documented host names: selector1._domainkey, selector2._domainkey.

Does Microsoft 365 require DMARC?

Microsoft 365 routes outbound mail through the high-risk delivery pool when a domain's DMARC policy is p=quarantine or p=reject and the mail fails DMARC at the destination; there is no override.

Sources

Compare all providers