SPF, DKIM and DMARC for Google Workspace
Set up SPF and DKIM for Google Workspace (Gmail for business): the SPF include, generating the 2048-bit DKIM key in the Admin console, the google._domainkey TXT record and Start authentication.
Google Workspace
staff mail
SPF
aligns: include:_spf.google.com in the domain's SPF record
DKIM
aligns after setup: a key generated in the Admin console, published at google._domainkey, then started
DMARC pass
one aligned pass is enough
- TXT
@v=spf1 include:_spf.google.com ~allAdd the include to the existing record if there is one. - TXT
google._domainkeyv=DKIM1; k=rsa; p=<the key the Admin console shows>google is the default selector; use another if the domain already has a google key.
1Add the SPF include
Make sure the domain's one SPF record includes _spf.google.com. Nothing is set in the Admin console for SPF.
2Generate the DKIM key
In the Google Admin console open Apps › Google Workspace › Gmail › Authenticate email, choose the domain, then Generate New Record. Choose 2048 bits if the DNS host accepts it. Do not press Start authentication yet.
3Publish the key
A TXT record at google._domainkey with the whole value shown, starting v=DKIM1. Some DNS hosts split long values into strings; that is fine.
4Start authentication
Back on Authenticate email, press Start authentication. It can take up to 48 hours to work; the page then says Authenticating email with DKIM.
5Publish a DMARC record
At _dmarc.<your domain>, a TXT record starting at p=none with a report address, so you can see this service's mail pass before you enforce. The DMARC generator writes one.
The free tools
Set up once. Watched every day.
DNS says what a domain asks receivers to do. Only the reports receivers send say what happened to its mail. DMARC Harbor reads those reports for every client domain, every day, names each service sending as it, and says when it is safe to move to p=reject.