Definition
A DKIM selector is a label used to identify which public key a receiving server should use to verify a DKIM-signed email. The selector is specified in the DKIM-Signature email header field (s= tag) and maps to a DNS record of the format {selector}._domainkey.{domain}. For example, if a message is signed with selector s1, the receiving server looks up s1._domainkey.example.com to retrieve the public key for verification. Selectors allow organisations to have multiple active signing keys simultaneously and to rotate keys without invalidating messages signed with the old key.
DKIM key rotation is the primary operational reason for using selectors. Security best practice recommends rotating DKIM keys every 6-12 months. Without selectors, rotating the key would require: publishing the new key, then changing the signing key on all senders. Messages signed during the transition period before all senders have updated would fail verification because the published key would be out of date. With selectors, the process becomes: publish the new key under a new selector (e.g., s2), update signers to use the new selector, keep the old selector (s1) active for verification of already-sent messages, and eventually remove the old selector after all signed messages have been delivered (typically 1-2 weeks).
Multi-selector strategies enable different streams of email to use different signing keys. A common approach is to use separate selectors for transactional and marketing email streams. This allows independent key rotation for each stream, limits the blast radius if a key is compromised (only messages signed with that specific key are affected), and enables domain-wide DMARC reporting to attribute authentication failures to specific streams. Some organisations use time-based selectors (e.g., 2024, 2025) that indicate when the key was introduced, simplifying key lifecycle management.
Best Practices
Use at least two selectors in rotation at all times. Maintain a current active selector (used for signing) and a previous selector (kept for verification of already-sent messages). When rotating, add a new selector, migrate signing to it, keep the old selector for verification, and remove the old selector after the verification overlap period (typically 14-30 days).
Use descriptive, systematic selector naming conventions. Adopt a convention that makes selector purpose and lifecycle clear. Examples: s1, s2, s3 for sequential rotation; 2024q1, 2024q2 for time-based naming; txn, mktg for stream-based naming. Avoid generic names like default that provide no lifecycle information. Document the naming convention for your operations team.
Rotate DKIM keys at least every 12 months, and immediately after any suspected key compromise. Regular rotation limits the window of vulnerability if a private key is compromised. In case of compromise, rotate immediately: publish a new selector key, update all signers, and remove the compromised selector after the overlap period. Use a 2048-bit or higher RSA key or an Ed25519 key for stronger security.
Monitor DKIM verification success rates per selector. Track the percentage of messages signed with each selector that pass DKIM verification at receiving servers. A declining success rate for a selector may indicate: the selector's DNS record has been removed prematurely, the DNS record is misconfigured, or the private key on a signer is mismatched with the public key in DNS.
Automate selector management in your key rotation workflow. Manual selector management is error-prone, especially when rotating across multiple servers or ESPs. Use automation scripts or tools that: generate new key pairs, publish the DNS records, update signer configurations, and manage the lifecycle of old selectors. Document the automation process and have a manual fallback procedure.
Related Glossary Terms
DMARC Alignment
DMARC identifier alignment determines whether the domain in the From header matches the domains used in SPF and DKIM authentication. Strict or relaxed.
DMARC Policy Tags
DMARC DNS record tags including v, p, sp, rua, ruf, pct, adkim, aspf, fo, rf, and ri control authentication policy, reporting, and alignment enforcement.
Email Bandwidth
Email sending bandwidth and throughput refer to the rate at which emails can be delivered, typically 100-500 emails/second per IP. Bandwidth planning ensures campaigns complete within desired delivery windows.
Email BIMI VMC
BIMI Verified Mark Certificate (VMC) certifies brand logo ownership for display in supporting email clients. VMCs cost £1,500-2,000+ per year per logo and require DMARC reject or quarantine policy plus SVG logo format.
Email Blacklist
An email blacklist (DNSBL) is a real-time database of IP addresses or domains known for sending spam or unwanted email.
Email Bulk
Bulk email classification distinguishes mass commercial messages from transactional emails, with specific authentication requirements for senders over 5,000 daily.
Frequently Asked Questions
A DKIM selector is a label in the DKIM-Signature header that tells receiving servers where to find the public key for verification. The selector maps to a DNS record at `{selector}._domainkey.{domain}`. Selectors enable multiple signing keys to exist simultaneously, supporting key rotation without breaking verification of already-sent messages.
At minimum, two active selectors: one for current signing and one for verification of recently signed messages. Larger organisations may maintain 3-5 selectors supporting different email streams (transactional, marketing, system), different regions, or different brands. Each active selector imposes a small DNS management cost, so balance security needs against operational complexity.
The recommended rotation period is every 6-12 months. Key rotation should happen at least annually. Rotating more frequently (quarterly) provides stronger security but increases operational overhead. Immediate rotation is required if a key compromise is suspected. Use a rotation schedule and automated tools to ensure compliance.
Messages signed with the removed selector will fail DKIM verification because the receiving server cannot find the corresponding public key. Depending on the domain's DMARC policy, this can result in delivery to spam or rejection. Keep old selectors active for at least 14-30 days after the last message was signed with that key to ensure all in-transit messages can be verified.
Yes, shared selectors are common, but using separate selectors per email stream is recommended for operational isolation. Shared selectors mean a key compromise in one stream affects all streams. Separate selectors allow independent rotation and more granular monitoring. The DNS cost of additional selectors is negligible.