How-to guide

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.

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

How do I check if DKIM is working?
Send yourself an email and look at the Authentication-Results header for dkim=pass, or run a DKIM checker with your domain and selector to confirm the published key.
What tool can I use to check my email’s DKIM record?
Any DKIM checker that looks up selector._domainkey.yourdomain. middle.network’s DKIM checker tries over 100 common selectors when you don’t know yours, follows CNAME delegations (flagging dangling aliases), and reports the key type and size.
What is a DKIM selector?
A label that lets one domain publish several DKIM keys, one per service or per key rotation. It appears as s= in the signature and as the first part of the DNS name.
Is DKIM required?
Gmail and Yahoo require SPF or DKIM for all senders, and both plus DMARC for bulk senders. In practice every domain that sends mail should sign with DKIM.

Sources and further reading

Written by the middle.network team, who build and run these tools. Last checked 2026-11-21.