What is DKIM and what is a DKIM selector?
DKIM (DomainKeys Identified Mail) adds a digital signature to outgoing email. Your mail server signs each message with a private key, and receivers verify the signature using the matching public key published in DNS at selector._domainkey.yourdomain. A selector is just the name that tells receivers which key to fetch.
How DKIM works
When a message leaves a DKIM-enabled system, the sender computes a signature over selected headers and the body, and adds it as a DKIM-Signature header. That header names the signing domain (d=) and the selector (s=). The receiver builds the DNS name selector._domainkey.domain, retrieves the public key published there, and checks that the signature matches.
A valid signature shows that the message was signed by something holding the private key for that domain and that the signed parts were not changed in transit. Unlike SPF, DKIM normally survives forwarding because the signature travels with the message.
DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=selector1; h=from:to:subject:date; bh=...; b=...What a DKIM record looks like
The public key is published as a TXT record, or as a CNAME that points to a TXT record the provider hosts. The important tags are v=DKIM1, an optional key type k= (rsa or ed25519) and p=, the base64 public key. An empty p= means the key has been revoked.
selector1._domainkey.example.com. IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA..."Why selectors cannot be looked up
A selector can be almost any label the sender picks, and a domain can have many of them, for example one per email service or one per key rotation. DNS has no way to list the names under a domain, so you cannot discover selectors by querying. You have to know them.
The reliable places to find a selector are your email provider's DKIM setup page and the DKIM-Signature header of a message you sent, in the s= field. Google Workspace often uses a selector called google and Microsoft 365 uses selector1 and selector2, but check your own admin console rather than assuming.
Common DKIM problems
The usual causes of failure are a key that was never published, a record pasted with stray spaces or line breaks, a key deleted during a DNS clean-up, a service that sends for you but has DKIM switched off, and signing with one domain while DMARC expects another. Keys under 1024 bits are considered weak; 2048-bit RSA is the common recommendation.
Rotating keys regularly is good practice. Publish the new selector first, switch the sender to it, wait until mail is flowing, then remove the old record.
How DomainGuard helps
Give DomainGuard the selector and it checks the key live: whether a record exists, whether it is revoked or malformed, the key type, and whether the key looks shorter than 1024 bits. Without a selector DKIM is reported as not checked and left out of the score instead of being counted as a pass. Paid plans save selectors per domain and re-check them on every scan.
Frequently asked questions
How do I find my DKIM selector?
Look in your email provider's DKIM settings, or view the full source of a message you sent and read the s= value in the DKIM-Signature header.
Is DKIM the same as SPF?
No. SPF authorises sending servers by IP address, while DKIM signs the message itself. They answer different questions and work best together with DMARC.
Can I have more than one DKIM selector?
Yes. Domains commonly have several, one for each service that sends mail or for each key rotation.
Why does DomainGuard say DKIM was not checked?
Because no selector was supplied. Selectors cannot be discovered from DNS, so the check is skipped and excluded from the score.