Free DKIM checker
Look up a DKIM key and check the settings published for your email selector.
Example report
example.com- 1 passed
No issues found by these checks in this example.
- DKIM
DKIM keys
Selector s1 s1._domainkey.example.com
- Key type
- RSA
- Key size
- 2048 bits
- Testing mode
- No
- Record
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx3c9tKqE...
What the DKIM check looks at
Selectors
Look up your selector, then 13 that common mail services use.
Key type and size
Read the key type and its size in bits from the published key.
Revoked keys
Spot a key withdrawn with an empty p= tag after a rotation.
Testing mode
See whether t=y still asks receivers to go easy on failures.
Selectors cannot be listed from DNS, so without yours the check tries common names only. Finding no key that way does not prove the domain has none.
Common DKIM issues you can put right
DKIM could not be confirmedInformation
No key at the common selectors usually means your service signs under another name. Find the s= tag in a message header or your mail service settings and look that selector up.
Keep watch after you've fixed it
Ironfang Security rechecks a verified domain every week or every day and tells you what changed: new findings, fixes and certificates nearing expiry.
Free during the preview. Domain verification required.
- NewIssue detected
- FixedConfirmed by recheck
- ReopenedDetected again
How the check works
- TXT records at
<selector>._domainkey.<domain>for up to three selectors you enter, separated by commas or spaces, then for 13 common ones:google,selector1,selector2,default,k1,s1,s2,dkim,mail,smtp,mandrill,mxvaultandzoho. - Each key's type (
k=, RSA unless the record says otherwise) and its size in bits, read from the public key inp=. - Whether a key is revoked: an empty
p=tag means the key has been withdrawn (RFC 6376). - Whether a key is in testing mode (
t=y). - Without a selector, the check runs only for a domain that sends or receives mail: one with MX records, or an SPF record that authorises senders.
Reading a result
DKIM (RFC 6376) lets a mail service sign each message it sends with a private key. The matching public key is published in DNS under a selector, a name the service chooses, and a receiver uses it to check that the message was not altered and was signed for the domain in the signature's d= tag.
A pass means at least one key was found. Selectors cannot be listed from DNS, so when no key is found at the selectors tried, the result is that DKIM could not be confirmed, not that it is missing: your mail service may sign with a name the check did not try. The selector is the s= tag in a message's DKIM-Signature header, and your mail service's DKIM settings show it too; enter it to check that key directly.
For each key found, look at the size and status. RFC 8301 requires RSA keys of at least 1024 bits and recommends 2048, and the result notes a shorter RSA key. An empty p= is a key deliberately withdrawn, usually after rotation, so mail should be signed under another selector. A key in testing mode (t=y) asks receivers not to treat a failed signature differently from unsigned mail; remove the flag once signing works.
What it does not do
- Selectors cannot be listed from outside, so the check can only try names: those you enter and 13 common ones. A domain with no key at any of them may still sign its mail.
- It reads keys from public DNS and does not see a signed message, so it cannot tell whether your mail service actually signs with a key, or whether the signing domain aligns with your From address for DMARC.
- A key at a common selector may belong to a service you no longer use; the check cannot tell a live key from a forgotten one.
- Key size, revocation and testing mode are shown for you to assess but are not raised as findings. The check does not send or receive email.
What happens to the domain you enter
The check runs from Ironfang Security's published scanner address with the same low-impact limits as a scan. Nothing you enter is stored or logged. A result is reused for five minutes, and a certificate log search for an hour, so a repeat check is quick and the domain is not checked again.
Guides
A few things worth knowing
- How do I find my DKIM selector?
- Open a message your domain sent, view its headers and find the DKIM-Signature header: the s= tag is the selector and d= is the signing domain. Your mail service's DKIM settings show the selector as well.
- Why does the checker say DKIM could not be confirmed?
- DNS has no way to list a domain's selectors, so the check tries the ones you enter and 13 common ones. If your mail service uses another name, no key is found even though DKIM may be working. Enter your selector to check it.
- What size should a DKIM key be?
- For RSA, 2048 bits. RFC 8301 requires signers to use RSA keys of at least 1024 bits and recommends at least 2048.
- Do I need DKIM if I already have SPF?
- Yes. SPF fails when mail is forwarded, because the forwarding server is not in your record, while a DKIM signature usually survives forwarding. DMARC passes when either SPF or DKIM passes and aligns with the From domain, so DKIM keeps forwarded mail passing.

