How to Set Up SPF, DKIM, and DMARC for Google Workspace on Bluehost DNS
SPF, DKIM, and DMARC are DNS records that help prove the emails sent from your domain are really from you. Setting them up for Google Workspace can improve email deliverability, make it less likely your messages are marked as spam, and help protect your domain from being used in spoofing and phishing attempts. This article shows you how to add all three records to your domain's DNS in your Bluehost Account Manager.
Before You Begin
Make sure you have the following ready before adding the records.
- An active Google Workspace subscription with your domain set up.
- Google Workspace MX records already added to your domain, so you can send and receive email.
- Super administrator access to the Google Admin console, which is required to generate your DKIM key.
Here's an overview of the three records you'll add:
| Record | Type | Host Record | Value |
|---|---|---|---|
| SPF | TXT | @ |
v=spf1 include:_spf.google.com ~all |
| DKIM | TXT | google._domainkey |
Generated in your Google Admin console |
| DMARC | TXT | _dmarc |
v=DMARC1; p=none; rua=mailto:[email protected] |
Open Your Domain's DNS Settings
All three records are added from the DNS tab of your domain in the Bluehost Account Manager.
- Log in to your Bluehost Portal.
- In the left-hand menu, click Domains.

- If you have one domain in your account, you will be taken directly to the domain management panel.

- If you have multiple domains in your account, click the domain you wish to manage to access the domain management panel.

- If you have one domain in your account, you will be taken directly to the domain management panel.
- If you have more than one domain, click the domain connected to Google Workspace.
- Click the DNS tab.

The Manage Advanced DNS Records section lists your current records, showing each record's Type, Host Record, Point To value, and TTL. Keep this page open, as you'll return to it for each record below.
Set Up SPF
An SPF record lists the mail servers allowed to send email for your domain, so receiving servers can confirm your messages come from Google.
v=spf1 already exists, edit it to include Google instead of adding a second one. Two SPF records cause SPF checks to fail.If an SPF record already exists
Update the existing record so it includes Google's mail servers.
- In the Manage Advanced DNS Records section, find the TXT record whose Point To value starts with
v=spf1. - Click the vertical ellipsis icon (⋮) at the end of the row, then select Edit.
- Add
include:_spf.google.combefore the~allor-allat the end of the value, and keep any other entries that are already there. For example,v=spf1 +a +mx ~allbecomesv=spf1 +a +mx include:_spf.google.com ~all. - Click Edit to save your changes.
If no SPF record exists
Create a new TXT record for SPF.
- Click + Add Record, then select Single record.

- In the Add Advanced DNS Record window, fill in the following:
- Type: Select TXT.
- Refers to: Select
@to apply the record to your main domain. - TXT Value: Enter
v=spf1 include:_spf.google.com ~all - TTL: Keep the default value.

- Click Add.
include: entries in the same SPF record alongside Google's.Set Up DKIM
DKIM adds a digital signature to every email you send, letting receiving servers verify the message wasn't changed along the way.
Generate your DKIM key in Google
Google creates a unique DKIM key for your domain, which you'll copy into Bluehost.
- Sign in to the Google Admin console with your super administrator account.
- Go to Apps > Google Workspace > Gmail.

- Click Authenticate email.

- In the Selected domain menu, select your domain, then click Generate New Record.

- Choose a key length of 2048, keep the default prefix selector google, and click Generate.

- Copy the DNS Host name and the TXT record value that appear. Keep this page open, but don't click Start authentication yet.

yourprefix._domainkey.Add the DKIM record in Bluehost
Paste the key Google generated into a new TXT record on your domain.
- On your Bluehost DNS tab, click + Add Record, then select Single record.
- In the Add Advanced DNS Record window, fill in the following:
- Type: Select TXT.
- Refers to: Choose Other Host.
- Hostname: Enter
google._domainkeyas the host. - TXT Value: Paste the TXT record value you copied from Google. It starts with
v=DKIM1;. - TTL: Keep the default value.
- Click Add.
Turn on DKIM authentication
Once the record is in place, tell Google to start signing your outgoing email.
- Return to the Authenticate email page in the Google Admin console and select your domain.
- Click Start authentication. When DKIM is working, the status at the top of the page changes to Authenticating email with DKIM.

Set Up DMARC
DMARC tells receiving servers what to do with email that fails SPF or DKIM checks and sends you reports about it.
_dmarc already exists, click the vertical ellipsis icon (⋮) at the end of its row and select Edit instead of adding a new one. A domain should have only one DMARC record.- On your Bluehost DNS tab, click + Add Record, then select Single record.
- In the Add Advanced DNS Record window, fill in the following:
- Type: Select TXT.
- Refers to: Choose Other Host.
- Host Name: Enter
_dmarcas the host. - TXT Value: Enter
v=DMARC1; p=none; rua=mailto:[email protected] - TTL: Keep the default value.
- In the TXT Value, replace
[email protected]with the email address where you want to receive DMARC reports. - Click Add.
The policy setting (p=) controls how receiving servers handle email that fails authentication:
p=none: Takes no action and only sends you reports. Start here so you can monitor results without affecting delivery.p=quarantine: Sends failing messages to the recipient's spam folder.p=reject: Blocks failing messages entirely.
p=quarantine or p=reject. A strict policy can block legitimate email if any of your sending services aren't set up correctly in SPF or DKIM.Verify Your Records
After the records have had time to update, confirm that everything is working.
- Check DKIM status: In the Google Admin console, go to Apps > Google Workspace > Gmail > Authenticate email. The status should read Authenticating email with DKIM.
- Check all records: Use the Google Admin Toolbox Check MX tool to scan your domain for SPF, DKIM, and DMARC issues.
- Check a sent email: Send an email from your Google Workspace account to someone else's Gmail address, since sending a test to yourself won't verify DKIM. In the received message, click the More icon (⋮) next to Reply and select Show original. SPF, DKIM, and DMARC should each show PASS.
Summary
Adding SPF, DKIM, and DMARC records for Google Workspace in your Bluehost DNS can help your email reach the inbox and help protect your domain from spoofing. Add or update your SPF record to include Google, generate a DKIM key in the Google Admin console and add it in Bluehost, then add a DMARC record starting with a p=none policy.
If you need further assistance, Bluehost Chat Support is available 24 hours a day, 7days a week while Bluehost Phone Support is available 7 days a week from 7 am-12 midnight EST.
- Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
- Phone Support -
- US: 888-401-4678
- International: +1 801-765-9400
You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.