DKIM record checker
Look up a DKIM selector, read the key record and get the RSA key length. Flags keys under 2048 bits, revoked keys and selectors left in testing mode.
The d= value of the DKIM-Signature header.
The s= value of the DKIM-Signature header.
This tool asks Google Public DNS (DNS over HTTPS) directly from your browser. It sends the domain and selector you enter, as <selector>._domainkey.<domain>, and nothing is sent to HardenKit.
How to use the DKIM record checker
- Open the headers of a message the domain sent and find DKIM-Signature.
- Enter the d= value as the domain and the s= value as the selector.
- Press Check DKIM. The tool asks Google Public DNS for the TXT record.
- Read the key type and length, then the findings.
About this tool
DKIM signs each outgoing message with a private key, and publishes the matching public key in DNS so receivers can verify that the message was not altered and really comes from the signing domain. The key sits in a TXT record at selector._domainkey.domain. The selector is a label the sender picks, which lets a domain have several keys at once, one per mail service or per rotation.
You find both values in the DKIM-Signature header of a message the domain sent: d= is the domain and s= is the selector. There is no way to list a domain’s selectors from DNS, so you need a real message. This checker fetches the record, parses its tags and decodes the key to measure it.
Key length is the main thing to check. RFC 8301 requires at least 1024 bits and recommends 2048; anything shorter can be factored and used to forge signatures. An empty p= means the key was revoked. The t=y flag marks the selector as testing, which tells receivers not to rely on it. These are rules about the record, not a verification of a signed message.
Sources
Questions
Send yourself a message from the domain, open its full headers and look for the DKIM-Signature header. The s= tag is the selector and d= is the signing domain. Your mail provider’s DNS setup page also lists the selectors it uses.
It is the minimum receivers must accept under RFC 8301, which also says signers should use at least 2048 bits. 1024-bit RSA is considered within reach of well-resourced attackers. Rotate to 2048 bits under a new selector.
The key has been revoked. RFC 6376 defines an empty public key as a deliberate statement that the selector is no longer valid, so any signature that points to it fails. It is normal for a retired selector.
One string in a TXT record holds 255 characters at most, and a 2048-bit key is longer. DNS providers store it as several quoted strings in a single record, and receivers join them. The split must not add spaces inside the key.