Foxcolab

Glossary

DKIM selector

Definition

DKIM selector: The label in a DKIM signature's s= tag that tells receivers which of a domain's public keys to fetch from DNS, at selector._domainkey.domain. Selectors let several services sign for one domain and let keys be rotated safely (RFC 6376).

Also known asDKIM s= tag_domainkey selectorDKIM key selector

In short

A DKIM selector is the label, in the s= tag of a DKIM signature, that tells a receiving server which of a domain's DKIM public keys to fetch. The key lives in DNS at selector._domainkey.domain. Selectors let several services sign for one domain with their own keys and let you rotate keys without breaking mail in transit.

Key takeaways

  • The selector is the s= value in the DKIM-Signature header; d= is the domain.
  • The receiver looks up the key at <selector>._domainkey.<domain>.
  • Each sending service should have its own selector and key.
  • Rotate by publishing a new selector, switching signing, then retiring the old one later.
  • You find a domain's selectors in signed messages; DNS won't list them.

Last reviewed 3 December 2026 by Foxcolab Team

A DKIM selector is the label that tells a receiving mail server which of a domain's DKIM public keys to fetch. It travels in the s= tag of the DKIM-Signature header, next to the signing domain in d=, and the receiver looks up the key at <selector>._domainkey.<domain>. RFC 6376 says selectors exist "to support multiple concurrent public keys per signing domain."

How the lookup works#

Text
DKIM-Signature: v=1; d=example.com; s=mktg2026; h=from:to:subject:date; bh=…; b=…

Receiver asks DNS for:  TXT  mktg2026._domainkey.example.com

The answer is a TXT record holding the public key. Periods in a selector create extra DNS labels, so the RFC's own example, s=foo.bar with d=example.com, is looked up at foo.bar._domainkey.example.com.

Why selectors exist#

  • Several senders, one domain. Your mail service, newsletter tool and help desk each sign with their own key under their own selector. Nobody shares a private key.
  • Key rotation. Publish a key under a new selector, switch signing to it, and remove the old record only after mail signed with it has been delivered. Selectors let you replace keys "on a routine basis." See key rotation.
  • Delegation. You can let a partner, "such as an advertising provider or other outsourced function," sign for you with a key you can revoke on its own.

Finding a selector#

Open a message's original headers (in Gmail, Show original), find DKIM-Signature, and read s= and d=. Then check the record:

Shell
dig +short TXT mktg2026._domainkey.example.com

DNS can't list a domain's selectors for you. You learn them from signed messages, so keep your own list of which service uses which selector.

Common mistakes#

  • Doubled domain. Many DNS panels add your domain automatically, so typing the full name creates mktg2026._domainkey.example.com.example.com.
  • Reusing another service's selector name, which overwrites its key and breaks its signatures.
  • Deleting the old selector the day you rotate, before mail already in transit is checked.

In Foxcolab#

Foxcolab signs your outgoing mail with the selector foxcolab and a key made for your domain alone. When you add a domain, the Domains tab lists the record to publish at foxcolab._domainkey. Copy its value exactly as shown, and copy every record before you select Check again: once the domain shows Verified, the record list closes. Because the selector is Foxcolab's own, it sits alongside the selectors your other senders use, and signing starts a few minutes after verification.

Ready to send as your domain? See plans.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to