What your DKIM record check result means
Every DKIM selector lookup resolves into one of six cryptographic and DNS states based on exact ASN.1 DER RSA modulus parsing, Ed25519 byte validation, tag linting, and CNAME delegation tracing. The table below maps each verdict to receiver behavior and your next action.
| DKIM verification state | Observed DNS and key condition | How mail receivers handle it | Recommended action |
|---|---|---|---|
| Valid 2048-bit RSA or Ed25519 | Clean syntax, valid SPKI RSA key at 2048+ bits or exact 32-byte Ed25519 key, zero policy errors. | Verifies DKIM signatures normally when paired with matching outbound private-key signing. | No fix needed; rotate keys on your email provider schedule. |
| Valid 1024-bit RSA (rotate) | Exact RSA modulus parses at 1024 to 2047 bits with valid tag syntax. | Meets the legacy verification floor, though modern mailbox providers prefer 2048-bit keys. | Rotate to a 2048-bit key under a fresh selector in your provider console. |
| Prohibited key (under 1024-bit) | RSA modulus parses below 1024 bits (such as 512-bit or 768-bit legacy keys). | Compliant receivers reject or refuse to verify signatures under keys smaller than 1024 bits. | Replace immediately with a 2048-bit key and revoke the weak selector. |
Revoked selector (empty p=) | Record exists cleanly, but publishes p= with zero key data. | Treats every signature under that selector as explicitly revoked and invalid. | Expected for retired selectors; republish a valid key only if mail still signs with it. |
| Broken / dangling CNAME | selector._domainkey publishes a CNAME, but its target returns NXDOMAIN or zero TXT records. | Receivers cannot retrieve a public key, causing temporary or permanent DKIM failure. | Activate DKIM inside the email provider dashboard or correct the CNAME target spelling. |
| Selector not found | No TXT and no CNAME published at the queried selector name. | DKIM cannot verify signatures referencing that selector. | Leave selector blank to auto-discover 28 providers, or read s= from a sent email header. |
Confirming a clean 2048-bit public key in DNS verifies publication and cryptographic structure, while testing a sent email confirms your outbound server signs with the matching private key.
How to find your DKIM selector and fix failing keys
Missing or mismatched selector names and broken 255-character DNS TXT splits cause most DKIM lookup failures. Follow these four steps in order to isolate and fix a failing selector:
- Extract the active selector from a live email: Send a message from your domain to an external inbox, open the raw source, and read
s=inside theDKIM-Signatureheader (or paste that header directly into the Validate Draft / Header tab above). Decode full header authentication chains in the email header analyzer and review provider naming patterns in the DKIM selector guide. - Publish a provider CNAME or direct TXT record: Prefer CNAME delegation whenever your email platform supports it so key rotation happens automatically without touching your DNS zone; if your provider requires a manual TXT record, copy its exact key string.
- Split 2048-bit TXT strings cleanly at 255 bytes: A 2048-bit RSA DKIM key spans roughly 410 characters, which exceeds DNS's 255-character limit per quoted TXT string. Paste your key into the Draft tab above and copy the exact two-chunk quoted format so no stray spaces or newlines corrupt the Base64 data.
- Rotate keys without downtime: Publish the new 2048-bit key under a fresh selector, verify it passes here, switch your email platform to sign with the new selector, and then revoke the retired selector by setting
p=empty once older queued mail finishes delivering.
Verify a DKIM record from the command line
Terminal commands confirm raw DNS TXT chunk concatenation, provider CNAME targets, and independent OpenSSL RSA modulus bit lengths directly from your workstation:
# 1. Fetch a DKIM public key TXT record directly (replace selector and domain)
dig TXT s1._domainkey.sendgrid.com +short
# 2. Check whether the selector uses provider-managed CNAME delegation
dig CNAME s1._domainkey.sendgrid.com +short
# 3. Verify exact RSA modulus bit length locally with OpenSSL (paste the p= Base64 string)
echo "<paste-p-value>" | base64 -d | openssl rsa -pubin -inform DER -text -noout 2>/dev/null | grep "Public-Key"
# 4. Windows or macOS quick lookup without dig
nslookup -type=txt google._domainkey.stripe.com For end-to-end terminal commands covering SPF, DKIM, and DMARC together, read How to Check SPF, DKIM, and DMARC Using dig.
DKIM record tags and default selectors by email provider
DKIM DNS records store semicolon-separated tag-value pairs defined by the core DKIM signature specification (IETF RFC 6376), with legacy SHA-1 hashes and sub-1024-bit RSA keys deprecated under the modern cryptographic update (IETF RFC 8301).
| Tag | Purpose | Accepted values | Default when omitted |
|---|---|---|---|
v= | Version identifier (must be first when present) | DKIM1 | Defaults to DKIM1; publishing first is strongly recommended |
k= | Public key algorithm | rsa, ed25519 | rsa |
p= | Base64 public key material or revocation marker | SPKI RSA Base64, 32-byte Ed25519 Base64, or empty to revoke | Required (record is invalid without p=) |
h= | Allowed hash algorithms | sha256 (avoid deprecated sha1) | All verifier-supported hashes permitted |
t= | Selector behavior flags | y (testing mode), s (strict domain match) | Production mode, subdomains allowed |
s= | Service restriction | email, * | * (any service) |
g= / n= | Legacy granularity restriction / human notes | Deprecated g= (avoid empty g=); free text in n= | * / none |
| Email provider | Default selector(s) | DNS record type |
|---|---|---|
| Google Workspace | Direct TXT (1024 or 2048-bit) | |
| Microsoft 365 | selector1, selector2 | CNAME delegation |
| SendGrid | s1, s2 | CNAME delegation |
| Mailchimp | k2, k3 (legacy k1) | CNAME delegation |
| Proton Mail | protonmail, protonmail2, protonmail3 | CNAME delegation |
| Fastmail | fm1, fm2, fm3 | CNAME delegation |
| Amazon SES | 3 x 32-character hash tokens | CNAME delegation |
| Postmark | YYYYMMDD date selector + pm | Direct TXT |
| Zoho Mail | zoho, zmail | Direct TXT |
| Zendesk | zendesk1, zendesk2 | CNAME delegation |
Explore cryptographic signing architecture in our DKIM guide and how DKIM works walkthrough, compare 1024-bit and 2048-bit trade-offs in DKIM key length, browse provider-specific configurations in the ESP DNS Settings Matrix, or follow the Google Workspace SPF, DKIM, and DMARC guide when publishing selector google.
Verified live DKIM record examples (tested December 1, 2026)
Five production selectors probed live over DNS-over-HTTPS on December 1, 2026 demonstrate 2048-bit CNAME-delegated keys, legacy 1024-bit direct TXT keys, explicit revocation, and a dangling CNAME:
| Selector & domain | Delegation type | Verified key result | What it demonstrates |
|---|---|---|---|
| protonmail · proton.me | CNAME delegation | 2048-bit RSA (294 bytes) | Clean provider-managed CNAME delegating a 2048-bit RSA key for automated rotation. |
| s1 · sendgrid.com | CNAME delegation | 2048-bit RSA (294 bytes) | Standard SendGrid dual-selector CNAME chain resolving to a valid 2048-bit public key. |
| google · stripe.com | Direct TXT | 1024-bit RSA (162 bytes) | Active direct TXT record parsed at exact 1024-bit modulus length (candidate for 2048-bit rotation). |
| 20230601 · gmail.com | Direct TXT | Revoked (empty p=) | Retired selector kept published with an empty p= tag to invalidate older signatures cleanly. |
| selector1 · microsoft.com | Dangling CNAME | CNAME -> NXDOMAIN | Shows how a published CNAME pointing to an unprovisioned target fails differently from a missing selector. |
What this DKIM record checker does not check
Direct browser DNS-over-HTTPS queries and local ASN.1 DER parsing verify public-key syntax and cryptographic strength accurately, while four operational checks remain outside static DNS visibility:
- Unlisted custom selector enumeration: DNS does not provide a directory listing of all
_domainkeylabels, so auto-discovery probes 28 common provider selectors; custom or random hash selectors (such as Amazon SES 32-character tokens) require entering thes=tag from a sent message. - Live private-key signing and body hash integrity: Validating a published public key confirms receivers can fetch it, not that your outbound server signs with the paired private key or that intermediaries leave the message body unaltered.
- DMARC organizational alignment: Passing DKIM cryptographically protects a message only when your domain also enforces DMARC and the signing
d=domain aligns with the visibleFrom:header domain. - Individual mail server cache lag: Resolvers cache DKIM records for up to their published TTL, so recently rotated keys can take one TTL cycle to appear consistently everywhere.
Verifying your domain's DKIM selector, exact RSA or Ed25519 key strength, CNAME delegation path, and 255-character TXT formatting ensures receiving mail servers can authenticate every signed message reliably. Review the full authentication stack in our email authentication guide.
Frequently asked questions
How do I find my DKIM selector if I do not know it? +
Send a test message from your domain to a mailbox you control, open the raw email headers, and look for the DKIM-Signature header: the s= tag is the active selector and the d= tag is the signing domain. You can also paste that header into the Draft & Header tab above, or leave the selector blank in the Live Selector tab to probe 28 common provider selectors automatically.
Is a 1024-bit RSA DKIM key still safe to use? +
It depends on your transition timeline: 1024-bit RSA still meets the legacy verification floor so compliant mail servers accept it today, but modern security guidance and major mailbox providers recommend 2048-bit RSA (or Ed25519 where supported). Rotate to 2048-bit in your email provider DKIM settings whenever available, and replace any key shorter than 1024 bits immediately.
Why does a DKIM record show as revoked with an empty p= tag? +
Publishing an empty p= tag is the official DKIM revocation mechanism: it tells receiving mail servers that no valid public key exists for that selector and any message signed with it must fail verification. Revocation is the normal end state for retired selectors after key rotation, and only needs repair if a live sending service still signs with that selector.
Why does my CNAME-delegated DKIM selector report a broken or dangling CNAME? +
A dangling CNAME occurs when you publish a selector CNAME record (such as selector1._domainkey) in your DNS zone, but the provider hostname it points to returns NXDOMAIN or zero TXT records. This usually happens before you click Enable or Activate DKIM inside your email provider console, or when there is a typo in the CNAME target hostname.
Can one domain publish multiple DKIM records at the same time? +
Yes, a domain can publish as many DKIM records as needed because each sending platform uses its own distinct selector under _domainkey (such as google for Workspace, s1 and s2 for SendGrid, and k2 for Mailchimp). You must publish only one DKIM TXT record per individual selector name.
How do I split a 2048-bit DKIM record over 255 characters in DNS? +
DNS TXT strings hold at most 255 characters per quoted segment, so a 2048-bit RSA DKIM record requires two adjacent quoted strings that resolvers concatenate automatically. Paste your record into the Draft & Header tab above to generate exact 255-character quoted chunks without spaces or line breaks inside the Base64 key.
Next checks
- Validate authorized sending servers and the 10-lookup budget with the SPF record checker.
- Inspect your enforcement policy and subdomain inheritance in the DMARC record checker.
- Generate a fresh 2048-bit key pair locally in your browser with the DKIM record generator.
- Confirm how your signing
d=domain aligns withFrom:in the DMARC alignment guide. - Trace delivery failures across authentication layers in why emails go to spam.