Guide

DKIM, SPF and DMARC in Google Workspace

Google Workspace does not sign your email with your own DKIM key until you create it in the Admin console and add it to your DNS. It takes about 15 minutes, plus Google's waiting time.

By Erik Lindqvist, WebbLarm · 19 November 2026 · 6 min read

Before you start

You need to be a super administrator in Google Workspace. Google says that after you turn on Gmail, you may need to wait 24 to 72 hours before the key can be retrieved.

1. Create the DKIM key

  1. Open the Admin console, Meny (Menu), Appar (Apps), Google Workspace, Gmail.
  2. Click Autentisera e-post (Authenticate email) and select your domain under Vald domän (Selected domain).
  3. Click Generera ny post (Generate new record). Choose key length 2048 if your DNS host supports records that long, otherwise 1024. Leave the prefix as google unless it is already in use.
  4. Click Generera (Generate). Do not click Starta autentisering (Start authentication) yet.

2. Add the key to your DNS

Add a TXT record at the provider that hosts your DNS:

  • Name: google._domainkey
  • Value: what the console shows, which starts with v=DKIM1; k=rsa; p=

Copy the value exactly. One wrong character and the signature will not pass.

3. Start the authentication

Go back to Autentisera e-post and click Starta autentisering. It can take up to 48 hours before Google sees the record. When it works, the page says that email is authenticated with DKIM.

4. SPF and DMARC

SPF, a TXT record on the domain:

v=spf1 include:_spf.google.com ~all

DMARC, a TXT record on the name _dmarc, with reports only at first:

v=DMARC1; p=none; rua=mailto:dmarc@ert-foretag.se

When the reports show only your own services, tighten the policy to p=quarantine and then p=reject.

Check that it works

Send an email to a Gmail address, open it and choose to show the original. It should say DKIM: PASS and DMARC: PASS. Also run the DMARC test.

Prefer that we do it?

We set up SPF, DKIM and DMARC for a fixed price, 2 900 SEK excl. VAT, and check that your own email still gets through. Order Email Protection on site.

Source: Google Workspace Admin Help, Set up DKIM, updated 10 November 2026. The menu names above are translated. In an English console they are called Apps, Gmail, Authenticate email, Generate new record and Start authentication.

Want us to do it? 2 900 SEK.

Enter the address and your email. The result arrives by email within five minutes.

By email within five minutes: what anyone can see from the outside about HTTPS, email protection, server and plugins, and what is still hidden. Free.

0 SEK · public information only

By sending you confirm that you represent the website. We only use your address to reply. Privacy policy (Swedish).