Skip to content
Claim your free business email
Free tool

DKIM checker

DKIM records can't be listed. Your selector is the value after s= in the DKIM-Signature header of any email you sent. Leave it blank to try common selector names.

The domain or address you check is used for this lookup only. It is never saved to our database or sent to our analytics.

The short answer

This DKIM checker reads the DKIM record at your selector's name in public DNS, follows any CNAME, and checks the key a receiving mail server would use. A pass means a readable record with a valid RSA or Ed25519 key, at least 2,048 bits for RSA, not revoked and not in testing mode.

By The Rasket Team · Last updated

What is a DKIM selector and where do I find mine?

A DKIM selector is the name a sending service gives one of your domain's signing keys. Each key is published as a TXT record at <selector>._domainkey.<your domain>, so several services and keys can sit side by side. DKIM records cannot be listed: a receiver learns the selector only from the signature on each email, and so does this checker.

To find yours, open an email you sent through the service, show its original message or headers, and find the DKIM-Signature header. The selector is the value after s=, and the signing domain is the value after d=:

A DKIM-Signature header
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=example.com; s=s1; t=1763640000;
 h=from:to:subject:date:message-id;
 bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
 b=dzdVyOfAKCdLXdJOc9G2q8LoXSlEniSbav+yuU4zGeeruD00lszZ…

That signature's key is the record at s1._domainkey.example.com, so enter example.com and s1 above. How DKIM works with SPF and DMARC is in DKIM, SPF and DMARC explained, and the short version is in the DKIM glossary entry.

How to read the result

Pass
This part of the record is right: receivers can find the key, read it and use it.
Warning
It works, but is weaker than it should be or may be ignored by some receivers: an RSA key under 2,048 bits, testing mode left on, v=DKIM1 out of place, or a revoked key on a selector found among the common names.
Fail
Receivers cannot use this key, so mail signed with this selector fails DKIM. The row says what to change.
Not checked
No common selector name answered with a DKIM record. That does not mean there is no DKIM: enter the selector from your DKIM-Signature header. If the check says it could not finish, public DNS did not answer in time or its answers disagreed, which happens just after a change; try again in a minute.

Check a DKIM record

  1. 1Enter the domain. Type the domain your mail is signed for, the d= value of its DKIM-Signature header, like example.com.
  2. 2Add the selector. Paste the s= value from the same header. Leave it blank to try common selector names.
  3. 3Run the check. Press Check DKIM. The record is read from public DNS, through any CNAME.
  4. 4Fix what fails. Change each row marked fail at your DNS host or sending service, then check again.

Common problems and fixes

ProblemWhy it happensFix
No DKIM record for this selectorThe selector is misspelled, the record was added at the wrong name, or it has not reached public DNS yet.Copy the selector from s= in your DKIM-Signature header, and check the record's name at your DNS host.
The record is at the wrong nameThe full name, like s1._domainkey.example.com, was typed into a DNS host's name field, which adds your domain again.Enter only s1._domainkey as the record's name.
The CNAME points to a name with no keyThe CNAME target is mistyped, or the sending service has not published the key yet.Copy the target again from your sending service, and finish the domain setup there.
Several TXT records at the selectorA long key was saved as separate records instead of one record with several strings.Delete them and publish one TXT record holding the whole value.
Backslashes or quotation marks in the recordA value copied from a zone file kept its \; escapes or its quotes.Remove the backslashes and quotation marks. The DNS host adds its own quotes.
The key does not decodeThe p= value was cut short, or picked up extra characters, when it was pasted.Copy the full p= value again and replace it.
RSA key shorter than 2,048 bitsThe key was made years ago, or with an old default length.Create a 2,048-bit key with your sending service and publish it under a new selector.
Testing mode left on (t=y)t=y was kept from the first setup.Remove y from t= once your mail passes DKIM.
The key is revoked (empty p=)The selector was retired, but mail is still signed with it.Sign with your current selector, or publish the current key at this one.

Frequently asked questions

What is a DKIM checker?

A DKIM checker looks up the public key a domain publishes for DKIM and tests it: that a record exists at the selector's name, that it can be read, and that the key is valid, not revoked and long enough for receivers to accept.

How do I find my DKIM selector?

Open an email you sent, show its original headers, and find the DKIM-Signature header. The selector is the value after s=. Each sending service uses its own, and one domain can have several.

Why does the checker say no selector was found?

DKIM records cannot be listed, so without a selector the checker can only try common names. Your domain may still have DKIM at a name it did not try. Enter the selector from your DKIM-Signature header to check it.

What DKIM key length should I use?

Use a 2,048-bit RSA key. Receivers must not accept keys shorter than 1,024 bits. A 2,048-bit key is longer than one 255-character TXT string, so it is published as one record with two strings, which this checker joins before checking.

What does an empty p= mean in a DKIM record?

An empty p= means the key has been revoked, and mail signed with that selector fails DKIM. It is the right way to retire a selector, as long as your mail is signed with a newer one.

Does a passing DKIM record mean my mail passes DKIM?

Not on its own. This check reads the published key. Each message also needs a signature made with the matching private key, and DMARC needs the signing domain to match your From domain.

Sources

3 primary sources, each read on the date shown.

See all sources
  1. 1.RFC 6376: DomainKeys Identified Mail (DKIM) Signatures — IETF,
  2. 2.RFC 8301: Cryptographic Algorithm and Key Usage Update to DKIM — IETF,
  3. 3.RFC 8463: A New Cryptographic Signature Method for DKIM — IETF,

Keep reading

Sending with Rasket? Add your domain and Rasket writes every record it needs, adds them for you at DNS hosts it can connect to, and checks each one until it is live. How domains work in Rasket.

All free tools