Step 1: Login to Google Admin Console
Go to https://admin.google.com
Login with your admin email.
Step 2: Open DKIM Settings
-
Go to Apps
-
Select Google Workspace
-
Click Gmail
-
Scroll down and open Authenticate Email
-
Under DKIM section → click Generate New Record
Step 3: Generate DKIM Key
-
Choose 2048-bit (recommended)
-
Click Generate
Google will show you:
-
Host name:
Something like:google._domainkey - DKIM TXT Value:
Looks like:v=DKIM1; k=rsa; p=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
Step 4: Add DKIM Record in Your DNS
Go to your DNS panel (Cloudflare, cPanel, Plesk, GoDaddy, etc.) and add:
|
Type
|
Host / Name | Value | TTL |
|---|---|---|---|
| TXT | google._domainkey |
DKIM key provided by Google |
Auto / Default |
Step 5: Activate DKIM
After adding the record in DNS:
Go back to Google Admin → DKIM page
Click Start Authentication
FOR SPF RECORD:
Add the following SPF record in your DNS:
| Type | Host / Name | Value | TTL |
|---|---|---|---|
| TXT | @ | v=spf1 include:_spf.google.com ~all |
Auto / Default |
