DNS AuthSPF · DKIM · DMARC · MX

Read-only public DNS
Dashboard · API

Fix guides · Google Workspace · dkim

Fix Google Workspace DKIM

Last verified 2026-10-23. DNS Auth is not affiliated with Google. Publishing these records does not guarantee inbox placement.

Google Workspace documentation (external; we are not affiliated)

LAST VERIFIED

Definition
DKIM is a public TXT record under a selector._domainkey host that publishes the key Google Workspace uses to sign outbound mail. For most Workspace domains the host is google._domainkey; the p= value must come from your Admin console.
Correct shape
google._domainkey · TXT · v=DKIM1; k=rsa; p=YOUR_PUBLIC_KEY_FROM_THE_ADMIN_CONSOLE
Verify
When the selector is google, the free check should stop reporting DKIM as unknown.

The problem

DKIM lets a receiver check that a message was signed by a key published in your DNS. Google Workspace generates that key in the Admin console. Until the TXT exists, Workspace cannot sign as that domain, and receivers have nothing to match.

The usual host is google._domainkey. DNS Auth's free check looks up 20 common selectors and includes google. A custom selector can be valid even when the check says unknown. Date-based selector names are not guessed.

Check this domain first

Check the domain first. If the selector is google, the free check looks up google._domainkey. Unknown means none of the common selectors answered. It does not prove the domain never signs, and it does not change DNS.

One lookup, usually a few seconds. Shareable links only include the domain.

Record to publish

Host google._domainkey · TXT

v=DKIM1; k=rsa; p=YOUR_PUBLIC_KEY_FROM_THE_ADMIN_CONSOLE

This is the shape of the record, not a key to publish. The Admin console generates the selector and the p= value for your domain. Paste that value. An empty p= revokes the selector. Do not copy a key from a guide, including this one.

Steps

  1. Generate the key in the Admin console. Open the Gmail authentication settings for the domain and start DKIM. Use the selector the console shows. For many Workspace domains that name is google.
  2. Copy the host and the TXT value. The host should look like google._domainkey. The value should start with v=DKIM1 and include a long p= string that belongs to this domain.
  3. Publish one TXT on that host. Add the TXT at your DNS host on the name Google displayed. If that exact host already has a TXT, replace it. A second TXT on the same selector leaves resolvers with two answers.
  4. Turn authentication on after the TXT is public. Wait until a public lookup sees the record, then turn signing on in the console. Starting it earlier makes signed mail fail DKIM.
  5. Keep custom selectors on purpose. If the console generated a name other than google, publish that name and remember the free check may not query it. Do not rename a date-style selector so a scanner can guess it.

Verify

  • When the selector is google, the free check should stop reporting DKIM as unknown.
  • A custom selector can still be valid. The check only queries 20 common names, and google is one of them.
  • The TXT should contain v=DKIM1 and a non-empty p=. Empty p= means the selector is revoked.
  • A published key is not a promise that mail will be accepted.

Common mistakes

  • Pasting a key this page invented

    There is no shared Workspace key. The placeholder YOUR_PUBLIC_KEY_FROM_THE_ADMIN_CONSOLE marks the spot. Publishing it, or anyone else's public key, will not validate your mail.

  • Putting the TXT on the wrong host

    The selector is the label in front of ._domainkey. A record at _domainkey, or at the apex, is not the Google selector.

  • Starting signing before DNS answers

    The console can be switched on while the TXT is still propagating. Leave signing off until a lookup shows v=DKIM1 and the p= value.

  • Two TXT records on the selector

    Keep one TXT for that host. Merge nothing else into it. DKIM is not a list of senders.

  • Expecting a date-based selector to be found

    Some Google domains use selector names that change with the date. DNS Auth does not guess those names. Compare the host in DNS with the host shown in the Admin console.

Questions

Which DKIM selector should Google Workspace use?

Use the selector the Admin console generated. For many Workspace domains that is google, published at google._domainkey. If you choose another name, publish the TXT there.

The free check says DKIM is unknown. Is the record wrong?

Not always. DNS Auth queries 20 common selectors, including google. A custom or date-based selector can be valid and still show as unknown. Compare the host in DNS with the host in the Admin console.

Can the DKIM public key be copied from this guide?

No. The example uses YOUR_PUBLIC_KEY_FROM_THE_ADMIN_CONSOLE as a placeholder. Each domain gets its own public key from the Admin console.

Does a DKIM record promise the inbox?

No. DKIM shows a receiver that the message was signed with a key you published. It does not decide where the message lands.

Next

Run the free check on the homepage, or open Monitoring. Monitoring is $15/mo for up to 5 domains with daily rechecks and change alerts. A published record is not an inbox promise.

Free checkMonitoring · $15/mo

Related guides

Helpful?