Chat +1-888-563-5277 [email protected]

SPF, DKIM, DMARC Setup Guide for Google Workspace (Formerly G Suite)

Our informative post will help you find out how you can setup Sender Policy Framework (SPF), DomainKeys Identified Mail (DKIM) Signatures and Domain-based Message Authentication, Reporting, and Conformance (DMARC) on your Google Workspace (formerly G Suite) email to eliminate spam from your domain and increase security.

Google requires you to configure the following DNS records for your domain: SPF and DKIM.

SPF Records allow receiving servers to check whether an email with the specified source domain was actually sent from a server authorized by the owner of this domain.

The DKIM adds a digital signature to each message. This allows the receiving server to check if the message has been sent from an authorized sender, faked or changed upon delivery.

How to setup SPF record

In order to authorize Google to send emails on your domain behalf, you will need to create or update your SPF record which includes the following mechanism:

You can achieve this easily with our SPF Record Generator tool; here are the steps:

  1. Generate a new SPF Record with authorizing Google


2. Copy the newly generated SPF Record

3. Update your DNS TXT Record for SPF at your DNS provider (We will show examples with GoDaddy and Cloudflare)

Ex. GoDaddy


Ex. Cloudflare


Click Save.

Important Note: Make sure you don’t create multiple SPF TXT records on one domain. If you do, SPF will return a PermError.

If you are using multiple IPs, ESPs, Third-Party services for your various email strategies, you should include them in a single SPF Record.

E.g v=spf1 ip4: ~all

Configuring DKIM for GSuite

3.1 In the Google Admin Console (at

3.2 Open Apps> G Suite> Gmail.


3.3 Click ‘Authenticate Email’.


3.4 By default, your main domain is selected. Click on the primary domain name or select another domain where DKIM will be used.

3.5 Click “Generate New Record”.  GSuite DKIM Public Key will be generated for your domain – copy these values.


3.6 Publish the provided TXT Record into your DNS 

 [selector] – in this case, 

Ex. Godaddy


Ex. Cloudflare


3.7 Go to the administrator console and click the ‘Start Authentication’, and you’re all set!

Configuring DMARC Record

To generate a DMARC record for your domain just go to the EasyDMARC DMARC record generator page and create your record: 


Publish the generated txt record in your DNS. You will start to receive DMARC XML reports during 48 hours. EasyDMARC will analyze your DMARC reports and give you suggestions, alerts and configuration instructions. 

We have a comprehensive guide on how to implement DMARC on EasyDMARC.

Your email system is now secure!

Salesforce SPF & DKIM Authentication

Our informative post will help you find out how you can set up Sender Policy Framework (SPF), DomainKeys Identified Mail (DKIM) Signatures on your Salesforce email to eliminate spam from your domain and increase security. SPF records allow receiving servers to check whether an email...

Read More

How to Set Up SPF and DKIM for SendGrid

Domain Authentication shows providers (Google, Outlook, Yahoo!, etc.) that Sendgrid has your permission to send emails on your domain's behalf. Without proper authentication, Sendgrid manages your mail stream, thus your recipients see the “via” message in their mailbox. To authorize SendGrid to send emails...

Read More

BIMI implementation: Why customize BIMI?

Email deliverability is one of the top parameters for email marketers. Especially for those who work in b2b and send hundreds of cold emails a day. Companies send about 300 billion emails every day, so it is critical to stand out from the competition....

Read More