---
title: "DKIM troubleshooting · dkim.fyi"
description: "Fix a DKIM result by what you see: a signature that did not verify, no usable key, or a key that is too short. One page per finding."
url: "https://dkim.fyi/diagnose"
---

# DKIM troubleshooting

Each page explains one finding the dkim.fyi tools report and how to fix it. Find yours by what you see below. To get a finding for your own mail, paste a message into the [Headers tool](https://dkim.fyi/message) or send a test message to the [email check](https://dkim.fyi/email).

Started from the result your mail provider printed? [DKIM results in Authentication-Results: what each means](https://dkim.fyi/guides/read-dkim-authentication-results)

## Signature did not verify

- [DKIM signature did not verify](https://dkim.fyi/diagnose/signature-did-not-verify)
  The b= signature does not match the signed headers with the published key. What the sig.signature.invalid finding means and what to check first.
  Last verified 2026-10-24
- [DKIM body hash did not verify](https://dkim.fyi/diagnose/body-hash-mismatch)
  The hash of the message body does not match the bh= tag in the DKIM-Signature. What changes a body after signing and how to check a clean copy.
  Last verified 2026-10-24

## No key, or the key cannot be used

- [No DKIM key for the signature’s selector](https://dkim.fyi/diagnose/no-key-for-selector)
  A message names a selector in s= but no DKIM key is published at that name. What the sig.key.unavailable finding means and how to fix it.
  Last verified 2026-10-24
- [DKIM selector not found](https://dkim.fyi/diagnose/selector-not-found)
  No DNS record exists at selector._domainkey.domain. What the dns.nxdomain finding rules out, what it does not, and how to find the right selector.
  Last verified 2026-10-24
- [DKIM key revoked: p= is empty](https://dkim.fyi/diagnose/empty-p)
  What it means when a DKIM record has an empty p= tag, why every signature with that selector fails, and when to publish a new key.
  Last verified 2026-10-24
- [Wildcard record under _domainkey](https://dkim.fyi/diagnose/wildcard-domainkey)
  A made-up selector resolves on this domain, so any selector will appear to exist. How dkim.fyi detects a _domainkey wildcard and what to do.
  Last verified 2026-10-24
- [DKIM record in testing mode (t=y)](https://dkim.fyi/diagnose/testing-mode)
  The DKIM record sets t=y, so receivers treat failed signatures like unsigned mail. What the flag means and when to remove it.
  Last verified 2026-10-24

## Key too short

- [DKIM RSA key under 1024 bits](https://dkim.fyi/diagnose/rsa-key-too-small)
  The DKIM record holds an RSA key shorter than 1024 bits, which RFC 8301 says verifiers must not accept. What that means and how to replace it.
  Last verified 2026-10-24
- [DKIM RSA key between 1024 and 2047 bits](https://dkim.fyi/diagnose/rsa-key-under-2048-bits)
  The DKIM key is RSA of at least 1024 but under 2048 bits: it verifies, but RFC 8301 says signers should use 2048. How to rotate to a longer key.
  Last verified 2026-10-24

---

This is the text version of https://dkim.fyi/diagnose. The index of every page is https://dkim.fyi/llms.txt.
