DKIM Record Checker: Lookup Selectors, Key Strength & Syntax

Look up any domain's DomainKeys Identified Mail (DKIM) public key by selector or auto-discover 28 common email providers, inspect exact RSA bit length or Ed25519 keys, catch revoked or broken CNAME selectors, and validate draft records.

Try:
Browser DoH · Exact ASN.1 DER

Sample live output for s1._domainkey.sendgrid.com (captured December 1, 2026: 2048-bit RSA verified via ASN.1 DER, CNAME-delegated to s1.domainkey.u298828.wl079.sendgrid.net). Enter your own domain above for live results.

Parsed DKIM public key tags, cryptographic modulus length, and delegation path
Property Observed value
Query names1._domainkey.sendgrid.com
Delegation pathCNAME -> s1.domainkey.u298828.wl079.sendgrid.net
Version (v=)DKIM1
Algorithm & strength2048-bit RSA (294 DER bytes, e=65537)
Public key (p=)MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... (392 Base64 chars, 2 TXT chunks)
100% Free · No Sign Up 28-ESP Discovery + Draft Tab 🛡️ Browser DoH · Nothing Stored by Us
Exact ASN.1 DER & 255-Byte Split

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.

Six DKIM public key verification states, observed DNS conditions, mail receiver behavior, and next fixes
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:

  1. 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 the DKIM-Signature header (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.
  2. 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.
  3. 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.
  4. 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).

How DKIM selector lookup resolves direct TXT or CNAME keys and validates exact cryptographic strength Left box shows an email DKIM-Signature header containing selector s= and domain d=. Center box shows the DNS query for selector._domainkey.domain resolving either directly to a TXT record or through a provider-managed CNAME delegation. Right column shows four validation outcomes: Strong 2048-bit RSA or Ed25519 key, 1024-bit RSA rotate warning, Revoked empty p= selector, or Broken CNAME / Syntax failure. DKIM-Signature s= selector · d= domain a= rsa-sha256 / ed25519 Attached by sending MTA DNS Key Lookup s._domainkey.d Direct TXT (255-char chunks) or CNAME -> ESP key host Valid 2048-bit RSA / Ed25519 Exact ASN.1 DER / 32-byte verified 1024-bit RSA or t=y Testing Rotate to 2048-bit · Remove t=y Revoked Selector (Empty p=) Retired key · Signatures rejected Dangling CNAME / Corrupt Key Target NXDOMAIN, <1024-bit, bad split Each sending provider publishes its own selector under _domainkey; CNAME delegation automates rotation
Receiving mail servers read s= and d= from the DKIM-Signature header, query s._domainkey.d over DNS (direct TXT or CNAME delegation), and validate key strength, revocation, and flags.
DKIM DNS public key tags, purposes, accepted values, and default behavior when omitted
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
Default DKIM selector names and DNS record types across ten widely used email providers
Email provider Default selector(s) DNS record type
Google WorkspacegoogleDirect TXT (1024 or 2048-bit)
Microsoft 365selector1, selector2CNAME delegation
SendGrids1, s2CNAME delegation
Mailchimpk2, k3 (legacy k1)CNAME delegation
Proton Mailprotonmail, protonmail2, protonmail3CNAME delegation
Fastmailfm1, fm2, fm3CNAME delegation
Amazon SES3 x 32-character hash tokensCNAME delegation
PostmarkYYYYMMDD date selector + pmDirect TXT
Zoho Mailzoho, zmailDirect TXT
Zendeskzendesk1, zendesk2CNAME 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:

Live verified DKIM selector examples captured on December 1, 2026 across five public domains
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 _domainkey labels, so auto-discovery probes 28 common provider selectors; custom or random hash selectors (such as Amazon SES 32-character tokens) require entering the s= 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 visible From: 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

Last verified: 2026-12-02