DKIM for Google Workspace

Generate a key in the Google Admin console, publish it as a TXT record at google._domainkey on your domain, then go back and click Start authentication. Until that last click, Gmail signs your mail with Google's domain, not yours, and it doesn't count for DMARC.

Step by step

  1. Sign in at admin.google.com as an admin, and go to Apps, Google Workspace, Gmail, Authenticate email.
  2. Pick your domain and click Generate new record. Keep the key length at 2048 bits and the prefix (the selector) as google.
  3. Google shows a host name, google._domainkey, and a long value starting v=DKIM1; k=rsa; p=. Add it as a TXT record at your DNS provider, exactly as shown.
  4. Wait until the record is visible. Check it below with the selector google. Google says it can take up to 48 hours.
  5. Back in the Admin console, click Start authentication. The status should change to "Authenticating email with DKIM".

When it doesn't work

Why it matters

DKIM puts a signature on every email that only your domain's key can produce. DMARC passes when either SPF or DKIM passes on your own domain, and DKIM survives forwarding where SPF often doesn't. Since 2024 Gmail and Yahoo expect both from anyone sending in volume. Next step: publish a DMARC record.

Check your DKIM

I'll look up the google selector and the other common ones, and check the key length.

Related