How can I set up an SPF record for a domain name?

How can I set up an SPF record for a domain name?

This article explains SPF (Sender Policy Framework) records and how to apply them in the hosting control panel.

This article applies to Shared Hosting, Reseller accounts and Dedicated Servers.


A SPF record permits recipient mail servers to interrogate the name server for your domain name to determine if the source IP address of the mail is authorised to send mail for your domain name.

If an SPF record exists and authorises the source IP address, the mail can be accepted by the recipient mail server.

If an SPF record exists and does not authorise the source IP address, the mail can be bounced as it did not originate from an authorised source IP address for the senders domain.

To create an SPF record to your domain name, please do the following:

You will need to generate the record first this can be done at http://www.openspf.org


 Email_openspf.jpg

Adding a SPF record

1

Login to your Donhost control panel.

2

Click the Domains link on the navigation bar.

3

Click the DNS or Manage link corresponding to the domain name you wish to edit an A / CNAME record for.

4

Click Add SPF Record.


On the resulting screen check the listed box to permit Donhost servers to be able to send mail for your domain name. The add any further IP addresses or hostnames (such as your broadband IP address) permitted to send mail for your domain name. Check the listed box if you wish to deny all other servers except for the ones you have listed from being able to send mail for your domain name.
5

Click Set SPF Record.

Please note: Many Mail Transfer Agents (MTA) have adapted to actively check for SPF records, however at the time of writing, SPF has not become an internet standard. As such some unconfigured mail servers will not read any SPF records set on your domain name.