Your domain, checked and fixed.

Fix guides › DKIM › Cloudflare › Microsoft 365

How to set up DKIM on Cloudflare for Microsoft 365

DKIM signs your email so inboxes know it really came from you. Here is where Microsoft 365's records come from and where they go at Cloudflare.

Check your Cloudflare DKIM records now
  1. What we found: We read your live DKIM records and tell you whether Microsoft 365 is set up. Free, about 10 seconds.
  2. Why it matters: It reads your own records, so you see your own problem, not a general one.
  3. What to do: Type your domain and press Check.
The records Microsoft 365 gives you
  1. What we found: Microsoft gives you two CNAME records, selector1._domainkey and selector2._domainkey. Their values are made for your organization.
  2. Why it matters: DKIM signs each email so inboxes know it really came from you. Without it, DMARC can fail and email lands in spam.
  3. What to do: Copy the records here: In the Microsoft Defender portal: Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM. Open your domain to see the CNAME values. Once they're live, turn on signing for the domain there.
Where to add it at Cloudflare
  1. What we found: Cloudflare calls the fields Name and Content. For the domain itself, the name is @.
  2. Why it matters: For CNAME records from an email service, set Proxy status to DNS only. The services' own guides say not to proxy their records. Add each record Microsoft 365 gives you.
  3. What to do: Follow Cloudflare's steps:
    1. Sign in to the Cloudflare dashboard and select your domain.
    2. Go to the DNS Records page.
    3. Select Add record and choose CNAME as the Type.
    4. Fill in the fields as shown.
    5. Select Save.
More guides
  1. What we found: Checked against Microsoft Learn: DKIM, Cloudflare docs: create DNS records (updated 2026-05-06), Cloudflare docs: zone apex records on 2026-11-15. We check them again every 90 days.
  2. Why it matters: Screens and values change. Dated sources tell you this page is current.
  3. What to do: Same guide at: GoDaddy · Namecheap · Wix · Bluehost · Hostinger · Amazon Route 53 · IONOS. Other guides for Microsoft 365 on Cloudflare: SPF · DMARC · Email going to spam. All fix guides.

Company and product names are trademarks of their owners and are used only to describe how to set up your domain with them. DNSFix isn't affiliated with or endorsed by them.

DNSFix Help
Hi, this is DNSFix Help. Ask anything about your domain or account. Answers come from our help library, and some are drafted by AI and say so. After any change, check your domain again: the report tests every record against the standard rules. Need more help? We'll follow up by email.