Email

DKIM selector not found: how to find your selector

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

  1. 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.
  2. Find the DKIM-Signature header and note the values of s= (selector) and d= (domain). If there is no DKIM-Signature, your messages are not being signed: Google says a missing DKIM line in Authentication-Results means exactly that.
  3. Query the key. Run nslookup -type=TXT selector._domainkey.yourdomain.com with your own values. On Microsoft 365 the name is a CNAME that points to the key.
  4. 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.
  5. 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.
  6. Type the exact s= and d= values into your checker. Microsoft shows a header carrying a value such as s=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: selector1 and selector2, at selector1._domainkey and selector2._domainkey. The Defender portal status reads NoDKIMKeys or CnameMissing until the records are detected, and Valid once 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.

Sources

Accessed on 11/28/2026.

Get the free alerts