DKIM record checker
Check whether DKIM signing is published for your domain. Leave the selector blank and we'll try the common ones.
What DKIM is
DKIM adds a digital signature to every email you send. The receiving server fetches your public key from DNS and checks the signature, which proves the message really came from your domain and wasn't changed on the way. DMARC relies on DKIM more than SPF, because DKIM still passes when mail is forwarded.
What a selector is
A domain can have many DKIM keys, one for each service that sends for it. Each key sits under a name called a selector, at selector._domainkey.yourdomain.com. There's no way to list every selector from DNS, so this tool tries the common ones. Microsoft 365 always uses selector1 and selector2; Google Workspace uses google.
Turning on DKIM in Microsoft 365
- In the Microsoft Defender portal go to Email & collaboration → Policies & rules → Threat policies → Email authentication settings → DKIM.
- Select your domain. Microsoft shows two CNAME records (
selector1._domainkeyandselector2._domainkey). - Add both CNAMEs at your DNS host exactly as shown.
- Wait for DNS to update (usually under an hour), then switch Sign messages for this domain with DKIM signatures to on.
Until you do this, Microsoft 365 signs your mail with its own onmicrosoft.com domain. That passes DKIM but doesn't align with your domain, so it doesn't count for DMARC.
Common questions
How do I find my DKIM selector?
Send yourself an email, open the message headers and find the DKIM-Signature line. The value after s= is the selector and d= is the signing domain.
Is 1024-bit DKIM still OK?
It still works, but 2048-bit is the current recommendation. Microsoft 365 lets you rotate to 2048-bit keys from the DKIM settings page.
Why does Microsoft 365 use CNAMEs instead of TXT records?
The CNAMEs point to keys Microsoft hosts, so Microsoft can rotate keys for you without you changing DNS again.