NetSecTools

All tools / Email Security / DKIM Selector Lookup

DKIM Selector Lookup

Look up a domain's DKIM TXT record by selector or auto-detect common selectors, inspect every tag and estimate RSA or Ed25519 key strength.

Try:

DNS queries are sent directly from your browser to public DNS-over-HTTPS resolvers (Cloudflare, with Google as a fallback). Those services receive the domain name you check and your IP address. Only public DNS TXT records at <selector>._domainkey.<domain> are queried. Shared links contain only the domain and selector.

About this tool

DomainKeys Identified Mail (DKIM) lets mail servers sign outgoing email with a private key so receivers can verify the message was not altered in transit. Each domain publishes its public key as a DNS TXT record under <selector>._domainkey.<domain>, where the selector identifies which key signed the message.

This tool queries public DNS-over-HTTPS resolvers directly from your browser to fetch a specific selector or auto-detect 16 common selectors in parallel. It parses every DKIM tag (v, k, p, t, s, h, n), detects revoked keys (empty p=), flags testing mode (t=y) and estimates RSA or Ed25519 key strength.

Security tips

  • Use 2048-bit RSA keys (or Ed25519 where supported) and upgrade any remaining 1024-bit or shorter RSA keys.
  • Remove the t=y testing flag once DKIM is working in production so receivers enforce signature checks.
  • To rotate a DKIM key safely, publish the new selector first, switch signing to it, keep the old key briefly for mail in transit, then revoke it with an empty p= tag.
  • If auto-detect does not find a selector, open a sent email and inspect the s= tag inside its DKIM-Signature header.

Frequently asked questions

How do I find my DKIM selector?

Check your email provider's DNS setup instructions, or open the raw headers of a message sent from your domain and look for the s= value inside the DKIM-Signature header. You can also run Auto-detect above to test 16 common selectors at once.

What does an empty p= tag mean?

An empty p= value explicitly revokes that DKIM selector. Receiving servers treat signatures claiming that key as invalid, which is the standard way to retire an old or compromised key.

Why does it warn on 1024-bit RSA keys?

1024-bit RSA keys are considered weak against modern computing power, and keys under 1024 bits are dangerously insecure. Major email providers recommend at least 2048-bit RSA keys.

What does t=y mean in a DKIM record?

The t=y flag puts the key in testing mode, telling receivers not to treat failed DKIM checks any differently from unsigned email. Remove it once your configuration is verified.

Related guides

Related tools