SPF record is an extremely important DNS record to set when you are configuring your new domain in Google Workspace. By default, all email enabled domains i.e, the ones that are used for sending and receiving emails using MX records should have SPF records as well. SPF or sender policy framework record ensures the authenticity of the email.
If you add an SPF record to your domain’s DNS, you tell email providers that Google Workspace is authorized to send emails on your behalf.
How to setup SPF record for Google Workspace:
SPF records are set as TXT records on the domain’s DNS records, not on the Google Workspace console itself. Below are the steps to setup TXT records for your domain using Google Workspace on the DNS records:
Step 1: Sign in to your DNS hosting account
First, sign in to your domain's DNS hosting account where you manage your DNS records. You can find out where you manage your domain’s DNS records using a WHOIS lookup service.
Step 2: Go to DNS records
Find and go to the DNS records for the domain you want to configure SPF records. This is the case when you might have multiple domains in your registrar.
Step 3: Create a new TXT record
Add a new TXT record for your domain by clicking on the “Add Record” or find the appropriate option to add.
Step 4: Enter SPF record
In the new TXT record, enter the following SPF syntax:
v=spf1 include:_spf.google.com ~all
Note: You may need to modify this syntax based on your domain's specific requirements. More information on modifying the syntax can be found on the official SPF website. For example, you might have other SMTPs or services that send emails on your domain’s behalf.
Step 5: Save changes
Once you have entered your SPF record, save the changes to your DNS records. It may take some time for the changes to propagate across the internet depending on your TTL.
Step 6: Check your SPF record