A DKIM selector is a unique identifier that is used to locate and retrieve the correct DKIM public key from a domain’s DNS records. When a sender configures DKIM, they specify a selector that is used in the DKIM-Signature header of outgoing emails. The recipient’s mail server then uses this selector to look up the corresponding DKIM record in DNS and verify the email’s authenticity.
Selectors matter because they allow multiple DKIM keys to exist under the same domain without conflicts. This is especially useful when a domain uses multiple email services (e.g., a marketing platform, a CRM, and a transactional email provider), each requiring its own DKIM key. By assigning different selectors to each service, organizations can manage DKIM keys independently and rotate them when needed without affecting other services.
For example, if an organization uses “marketing” as a selector for an email marketing tool and “sales” for a CRM, the respective DKIM records in DNS would look like:
- marketing._domainkey.example.com
- sales._domainkey.example.com
When choosing a DKIM selector, best practices include keeping it simple, descriptive, and unique for each email service. Properly managing DKIM selectors ensures seamless authentication and enhances overall email security.