How to add an SPF record in Bluehost
Bluehost lets you edit DNS from its domain settings. Menu labels change from time to time, but the steps below describe the usual path.
Before you start
- Confirm that your domain uses Bluehost nameservers. If you point to another DNS host, add the record there.
- List the services that send mail for your domain and note their SPF
include:values. - Bluehost hosting plans often come with a default SPF record. Look for it first and edit it instead of adding another one.
Add the record
-
Log in to Bluehost and open Domains, then pick your domain.
-
Open the DNS tab (you may need to click Manage DNS).
-
Scroll to the TXT records and click Add Record.
-
Choose type
TXT. -
Host Record:
@. -
TXT Value: your SPF string, for example:
v=spf1 include:_spf.google.com ~all -
Save the record.
Editing the default record
If an SPF record exists (often v=spf1 +a +mx +ip4:... ~all generated by the server), edit it and append your
include: entries before ~all. Delete nothing that your own server still needs, such as the +a or +mx
mechanisms, if your site sends contact-form mail from the hosting account.
Verify
dig +short TXT example.com
Make sure there is exactly one SPF line. If receivers report permerror, you most likely have two records or
too many lookups. See the overview of SPF, DKIM and DMARC.