Uptimecat

DKIM checker

DKIM signs outgoing mail so receivers can verify it was not altered. Enter your domain and selector to confirm the public key is published correctly.

How DKIM works

Your mail server signs each message with a private key. The signature names a selector. The receiver looks up the public key at selector._domainkey.yourdomain in DNS and checks the signature. If the lookup fails, DKIM fails.

The selector is chosen by your mail provider. It is visible in the DKIM-Signature header of a message you sent yourself, in the field s=. Providers also show it in their setup pages. Many give you a CNAME that points to a key they manage, and the lookup follows it.

How to read the result

  • Record found: the key exists at that selector.
  • v=DKIM1: the version tag. Optional, but if present it must be DKIM1.
  • k: the key type, rsa by default. Some providers use ed25519.
  • p: the public key. An empty value means the key was revoked on purpose.
  • Key size: estimated from the base64 length. 2048 bits is the usual choice. Under 1024 is too weak.
  • t=y: the domain is in test mode. Receivers may ignore failures. Remove it after testing.

If the record is not found

  • Check the selector spelling and that you entered the sending domain, not a subdomain of it.
  • Wait for the TTL if you just published it.
  • Some control panels add the domain twice. Look up the full name with the TXT record lookup.
  • Long keys must be split into several strings. The tool joins them, but a wrong split breaks the key.

Rotating keys

Rotate keys on a schedule by publishing a new selector, switching the signer, then removing the old one after a few weeks. Watch the new record with a TXT monitor from DNS monitoring so an accidental delete is caught.

Common selector names

Providers choose their own selectors. You may meet names such as selector1, selector2, s1, s2, google, k1 or a long random string. If you do not know yours, send a test message to a mailbox you control and open the full headers. The s= value in the DKIM-Signature header is the selector, and d= is the domain to enter here.

Frequently asked questions

Does this verify a real message?

No. It checks the published key only. To verify a message, inspect the Authentication-Results header in the received mail.

Can I have several selectors?

Yes. Each service that sends for you can have its own.

Is 1024 bits acceptable?

It still works at many receivers, but 2048 bits is the safer standard. Use it if your DNS provider accepts long TXT values.

Run the check

Related

Open the dashboard

Sign in with your Google account to add a monitor and pick an alert channel. Access is currently limited to Moruk accounts; open sign-up is not available yet.

Sign in