Home / DKIM Check

DKIM Check

Look up and validate the DKIM public key of a domain.

What is DKIM?

DKIM (DomainKeys Identified Mail) adds a digital signature to every email you send. The matching public key is published in DNS, so receivers can check that the message really comes from your domain and was not changed on the way.

The key is a TXT record at selector._domainkey.yourdomain.com. The selector is a name chosen by your email provider, so you need it to look the key up.

How to find your selector

The selector is the part of the name before ._domainkey.

WhereWhat to do
In an email headerOpen an email you sent, view its source and find the DKIM-Signature line. The value after s= is the selector.
In your email providerProviders show the selector where you set up DKIM. Common ones are google, selector1 and selector2.
Leave it emptyThis tool then tries a list of common selectors. It cannot find every selector, because a selector can have any name.

What the checks look for

The main points of a DKIM record.

  • The key is present. A selector without a record means signatures cannot be verified.
  • The key length. 2048-bit RSA keys are recommended. 1024-bit keys are weak and shorter ones are unsafe.
  • A revoked key. An empty p tag means the key was withdrawn and signatures fail.
  • Test mode. The flag t=y asks receivers to ignore DKIM failures. Remove it once DKIM works.
  • Syntax. Invalid versions, damaged keys and repeated tags.

Frequently asked questions

Quick answers about DKIM Check.

What is a DKIM selector?

A name that lets a domain publish several DKIM keys at once. It forms the DNS name selector._domainkey.yourdomain.com.

Why is my selector not found?

The name may have a typo, the record may not be published yet, or your DNS panel may have changed it. Look at the DKIM-Signature header of an email you sent to confirm the selector.

How long should a DKIM key be?

2048 bits is the recommended size for RSA keys. Many providers split long keys into several quoted strings inside one TXT record, which is normal.

Can a domain have several selectors?

Yes. Providers and rotating keys often use different selectors at the same time.

Is DKIM enough to stop spoofing?

No. DKIM proves a message was signed, but receivers need DMARC to know what to do when it fails. See DMARC Check.