Guide per mail provider

Set up DKIM for Google Workspace

DKIM signs outgoing mail with a key whose public part lives in your domain’s DNS. This guide shows which records Google Workspace requires for that and what to do in the Google Workspace admin interface.

Google Workspace: all records at a glance

The DKIM records for Google Workspace

With Google Workspace you generate the DKIM key yourself in the Admin console and publish the public part as a TXT record. The default selector is google, so the record lives at google._domainkey. Google offers 2048 bits; 1024 bits is only meant for DNS hosts that cannot store values that long.

Two waiting periods are part of it: after turning on Gmail it takes 24 to 72 hours before a key can be generated at all, and after starting authentication up to 48 hours until DKIM works consistently. Signing only begins once you start authentication in the Admin console.

DNS
google._domainkey  TXT  "v=DKIM1; k=rsa; p=MIIBIjANBgkq…"

How to set up DKIM for Google Workspace

The steps in the Google Workspace admin interface and at the DNS host:

  • In the Google Admin console open “Apps”, “Google Workspace”, “Gmail” and then “Authenticate email”, and select the domain.
  • Choose “Generate New Record”, keep 2048 bits and the selector google, and copy the TXT value shown.
  • At the DNS host create a TXT record with the name google._domainkey and that value.
  • Back in the Admin console click “Start authentication” and after a while check in the DKIM checker with the selector google.

Click path at Google Workspace

Official guide from Google Workspace: Set up DKIM(opens in a new tab)retrieved 10 Nov 2026

Publishing at the DNS host

DKIM records always live at selector._domainkey. Most DNS editors append the domain themselves, so you only enter the part before it. CNAME records for DKIM must not sit behind a proxy. The guides per host below show where the record is created in the respective DNS editor.

Verify and keep an eye on it

The DKIM checker below queries the key under the selector and checks structure and length. You see whether the records for Google Workspace are publicly visible. DomainWarn keeps checking them afterwards and alerts you when a key disappears or changes.

Frequently asked questions

My DNS host does not accept Google’s 2048-bit key. What now?
Some DNS editors limit the length of a TXT value. Google offers 1024 bits for that case. A host that stores long TXT values is better; 2048 bits is the recommendation.
Which selector does Google Workspace use?
google by default, so the record lives at google._domainkey. When generating the key you can choose another prefix, for example if the domain already has a key under that name.
What is a DKIM selector?
The name under which a key lives in DNS: selector._domainkey.your-domain.com. Every service sending for the domain uses its own selectors, which is why several DKIM records do not interfere.
Check now

Free DKIM record check and lookup: selector, key type, key length, syntax and revoked keys. Leave the selector empty to try common selectors automatically.

DomainWarn checks SPF, DKIM, DMARC, DNS and certificates of all client domains regularly and reports changes before mail lands in spam.

Monitor this domain continuously14-day free trial, no credit card.

Publishing at your host

The mail provider specifies the value; it is created at the domain’s DNS host. Pick your host for the way to the DNS editor.

All hosts at a glance

The same guide for other mail providers

All mail providers at a glance