How to check DKIM: find your selector and verify the key
Where a DKIM record lives, how to find the selector, and what a healthy key looks like.
Email and IT admins4 min readUpdated
Short answer
Find the selector in an email you sent: open the headers, find DKIM-Signature and read the s= value. The key is a TXT record at selector._domainkey.yourdomain. Look it up with a DKIM checker; a healthy record holds a 2048-bit RSA key (or Ed25519) and the signature in real emails shows dkim=pass.
How DKIM is checked
Finding your selector
- Gmail: open a sent message, choose “Show original” and find DKIM-Signature. The s= value is the selector; d= is the signing domain.
- Outlook: open the message, then File, Properties, and read the Internet headers.
- Microsoft 365 uses selector1 and selector2; Google Workspace uses google by default. Other services name theirs in their DNS setup steps.
- Don’t know it? A DKIM checker can try the common selectors for you.
What a healthy DKIM setup looks like
- The TXT record at selector._domainkey.yourdomain contains v=DKIM1 and a p= key. An empty p= means the key was revoked.
- RSA keys are 2048 bits. 1024-bit keys still work but are weak; anything smaller fails at many receivers.
- Every service that sends as your domain (mail, newsletters, CRM, invoicing) signs with its own selector.
- The d= domain matches your From domain, so DMARC can count DKIM as aligned.
Why DKIM fails
- The record was never published, or the CNAME a provider asked for points to the wrong place.
- A long key was split badly across TXT strings when pasted into DNS.
- A mailing list or gateway changed the message after signing, such as adding a footer.
- The service signs with its own domain, not yours, so DKIM passes but doesn’t align for DMARC.
Questions people ask
Sources and further reading
Written by the middle.network team, who build and run these tools. Last checked 2026-11-21.