In short. A DKIM check needs the selector name, because the public key sits at selector._domainkey.yourdomain. The error means no key exists under the name you typed, or signing was never turned on. Read the real selector in the s= tag of the DKIM-Signature header of a message you sent.
In RFC 6376, every DKIM-Signature header carries a required s= tag (the selector) and a required d= tag (the signing domain). The public key is stored as a DNS TXT record under selector._domainkey.d (section 3.6.2.1). Selectors exist so that one domain can hold several keys at once, and the domain owner decides how many keys and selectors to use (section 3.1). A key record has v=DKIM1 by default and a required p= tag; an empty p= means the key has been revoked (section 3.6.1).
This page does not describe how a particular checker works: the tool only has your typed selector and domain to build the name to query. The defaults below come from the vendors' own documentation. Google's default selector prefix is google, so the host name is google._domainkey. Microsoft 365 uses two selectors on a custom domain, selector1 and selector2, published as CNAME records.
Last verified: November 28, 2026, against RFC 6376 and the official help pages of Google Workspace and Microsoft 365.
How to find the selector and fix the error
- Send a test message from the mailbox to a Gmail or Google Workspace address other than your own (Google advises not testing with yourself), then open the full message source or headers.
- Find the
DKIM-Signatureheader and note the values ofs=(selector) andd=(domain). If there is noDKIM-Signature, your messages are not being signed: Google says a missing DKIM line inAuthentication-Resultsmeans exactly that. - Query the key. Run
nslookup -type=TXT selector._domainkey.yourdomain.comwith your own values. On Microsoft 365 the name is a CNAME that points to the key. - If nothing comes back, turn on signing at the sender. Google Workspace: Admin console, Apps, Google Workspace, Gmail, Authenticate email; choose the domain, Generate New Record, add the TXT record at your domain host, then Start authentication. Microsoft 365: publish both CNAME records shown in the Defender portal, then switch on the signing toggle.
- Allow time. Google says to wait 24 to 72 hours after turning on Gmail before generating the key, and DKIM can take up to 48 hours to start working. Microsoft says detection of new CNAME records takes a few minutes or possibly longer.
- Type the exact
s=andd=values into your checker. Microsoft shows a header carrying a value such ass=selector1-contoso-com, so always copy the value from a real message rather than guess.
Default selector names
- Google Workspace:
google(the default prefix; Google asks you to choose another if your domain already has a key with that prefix). - Microsoft 365, custom domain:
selector1andselector2, atselector1._domainkeyandselector2._domainkey. The Defender portal status readsNoDKIMKeysorCnameMissinguntil the records are detected, andValidonce signing works. - Any other sending service (newsletters, invoicing, website forms): it picks its own selector name; read it on the service's DKIM setup page or in the header of a message it sent.
Free tool. DKIM checker
Check your domain for free. AttackScout reads your public SPF, DKIM and DMARC records and tells you what to change. Run the free check
Frequently asked questions
Can a checker list my selectors by itself?
The lookup described in RFC 6376 takes the selector and the domain as input, so a checker needs both from you. That is why the s= value of a real message is the reliable source.
Why does Microsoft 365 use two selectors?
Microsoft states that two public-private key pairs are generated when signing is enabled for a custom domain, and that you must publish a CNAME record for each. It also documents manual key rotation for custom domains.
What does an empty p= mean in a DKIM record?
RFC 6376 says an empty p= value means the public key has been revoked. A signature made with that selector will not verify.
Does the selector show up in DMARC reports?
Microsoft's example of an aggregate report includes a <selector> element in the DKIM results, with selector1 as the value. The reports can therefore help you spot which selector a service really uses.
Related pages
Sources
Accessed on 11/28/2026.
- IETF, RFC 6376 (DKIM): https://www.rfc-editor.org/rfc/rfc6376
- Google Workspace, Set up DKIM: https://knowledge.workspace.google.com/admin/security/set-up-dkim
- Microsoft Learn, Set up DKIM in Microsoft 365: https://learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure
- Microsoft Learn, Set up DMARC in Microsoft 365: https://learn.microsoft.com/en-us/defender-office-365/email-authentication-dmarc-configure