Configure SPF records to work with Google Workspace
To create an SPF record for a domain:
- Log in to the administrative console for your domain.
- Locate the page from which you can update the DNS records.
You may need to enable advanced settings. - Create a TXT record containing this text:
v=spf1 include:_spf.google.com ~all
Publishing an SPF record that uses -all instead of ~all may result in delivery problems.
To authorize an additional mail server, add the server's IP address before just before the ~all argument using the format ip4: address or ip6: address. - If your registrar also requires a host setting (such as @), see the TXT records for specific domain providers list for precise instructions.
- Save your changes.
Keep in mind that changes to DNS records may take up to 48 hours to propagate throughout the Internet.
Note: Multiple SPF records are not recommended and may cause delivery and spam classification issues.
If you have difficulty creating an SPF record, contact your domain provider for assistance.