Practical guide · October 17, 2026
DKIM selector: why a checker needs the correct name
How a DKIM public-key DNS name is formed, where to find the selector, and why checking a generic selector can produce a false diagnosis.
What a selector is
DKIM lets a signing system add a cryptographic signature to a message. The signature identifies a signing domain and a selector; together they identify where to look up the public key in DNS. In simplified form, the query uses the selector under _domainkey of the signing domain, for example selector._domainkey.example.com.
The selector is chosen by the service signing the mail. It can differ across providers, products, or key rotations. There is no universal selector that works for every domain, and knowing the root domain is not enough to determine with certainty which selector a message uses.
Where to find it
The most reliable source is the email provider that sends the message or the Authentication-Results header of a received message. In a DKIM signature, parameter s contains the selector and d identifies the signing domain. The administrator can compare these values with the DNS record the provider asked them to publish.
An organization can use several selectors at the same time, for example for different sending services or key rotation. Check the selector associated with the specific flow you are investigating, and do not delete an old key while messages signed with it may still be in transit.
Interpreting results
If the query for the specified selector returns a key and the record has an acceptable format, that confirms the public key is published at that location. It does not by itself prove that every message is signed, that a signature survives forwarding, or that the domain is protected against every attack.
If no key appears, first confirm that the selector was copied correctly, the provider finished setup, and you are querying the signing domain in d, which may differ from the visible From domain. Check DNS propagation and query again after the time suggested by the provider.
Key rotation and care
The private key must remain in the signing system and must not be published in DNS. Only the public key is distributed through the DKIM record. For key rotation, follow the provider’s procedure: publish the new selector, verify new messages use the corresponding key, and remove the old selector only when it is no longer needed.
The dmarcsafe.com DKIM tool can query a domain and selector. Its result describes what it found in DNS; to know which selector to query, check the configuration or headers of a message from the specific source.