Skip to content
dnscheck.app

DKIM record checker

Enter a domain and, if you know it, the DKIM selector. Without a selector we try the ones the common mail providers use.

How DKIM works

Your mail server signs each outgoing message with a private key. The matching public key is published in DNS at:

selector._domainkey.example.com. TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqh…"

The receiver reads the selector (s=) and domain (d=) from the message’s DKIM-Signature header, fetches the key, and verifies the signature. A valid signature proves that the message was not changed and that it came from someone holding the domain’s key.

What we check

  • The record exists at the selector.
  • The key is valid: proper base64 public key data, with RSA length measured. Ed25519 keys are recognised.
  • Revoked keys: an empty p= means the key was deliberately withdrawn.
  • Test mode: t=y asks receivers to treat signatures as if unsigned.

Common selectors

Google Workspace uses google. Microsoft 365 uses selector1 and selector2, which are CNAMEs to Microsoft. Many email platforms use k1, s1, s2 or a date such as 20230601. A DKIM key on its own does nothing for DMARC unless the signing domain (d=) matches your From: domain, so check DMARC as well.

Questions

How do I find my DKIM selector?

Open a message sent from your domain and view its headers. The DKIM-Signature header contains s=selector and d=domain. Your mail provider's admin console also lists it.

No DKIM key was found. Does that mean DKIM is off?

Not necessarily. Selectors are chosen by each provider and cannot be listed from DNS, so your domain may sign with a selector we did not try. Find the selector in a message header and check it here.

Is a 1024-bit DKIM key still OK?

Receivers still accept 1024-bit RSA keys, but 2048-bit is the current recommendation. Keys under 1024 bits are rejected by major providers.

Related tools

  • DMARC

    Policy, alignment, report addresses and syntax.

  • SPF

    Syntax, the include tree, and the 10-lookup limit.

  • Email security

    MX, SPF, DMARC, DKIM, MTA-STS and TLS-RPT in one table.