DKIM check
DKIM signs emails with a key whose public part is published in DNS at <selector>._domainkey.<domain>. Without a selector, the most common ones are tried.
Setting up and checking DKIM
How a DKIM signature works
The sending server signs each message's headers and body with a private key. The recipient reads the selector and domain from the DKIM‑Signature header, fetches the public key from DNS (selector._domainkey.domain) and checks that the message was not altered in transit.
Finding a domain's selector
Open an email received from the domain, view its source and look for s= in the DKIM‑Signature header. Without a selector, the tool automatically tries the 32 most common ones: Google Workspace (google), Microsoft 365 (selector1, selector2), Mailchimp (k1), SendGrid, Zoho, Proton, Fastmail…
What the tool checks
Whether the record exists and parses, the key type and size (1024‑bit RSA flagged as weak, 2048 recommended, Ed25519), test mode (t=y), the accepted hash algorithms and any revoked key (empty p=).
Rotating your keys
Changing keys regularly limits the damage of a leak. Publish the new key under a new selector, switch signing to it, then remove the old one a few days later, once messages in transit have been delivered.
Frequently asked questions
What is DKIM?
DKIM signs each email with a private key; the public key, published in DNS, lets the recipient verify that the message really comes from the domain and was not altered.
What is a DKIM selector and how do I find it?
It is the name that identifies the key (selector._domainkey.domain). It appears in the DKIM-Signature header of a received email (s=…). Without a selector, the tool tries the most common ones.
Which key size should I use?
2048-bit RSA is the current recommendation; 1024-bit is considered weak. Ed25519 is more modern but still poorly supported: publish it alongside an RSA key.
Can a domain have several DKIM keys?
Yes, one per selector. That is actually the norm when several services send on your behalf: each signs with its own key, published under its own selector.
Why does DKIM fail even though the key is correct?
The message was often modified after signing: a footer added by a mailing list, an antivirus scanner, automatic forwarding. A long key published as several badly joined strings can also be the cause.