Sender Policy Framework (SPF) records specify which mail servers can send email on behalf of your domain. SPF was created to prevent spammers from sending forged email messages with a From address at your domain name. When an email message is received, the mail server uses the SPF record to check that mail from your domain is being sent by an authorised mail server, if not the mail server can reject it as spam.

A common request for SPF records comes from customers using Google Apps with their domain. Google will supply the SPF value for you. If you would like to create your own have a look at this SPF syntax guide. You use a TXT record to create your SPF DNS entry.

Here's how to create a SPF record for your domain name:

  1. Log in to your account.
  2. Click the Domains icon and choose Manage next to the domain you wish to amend.
  3. Click DNS Settings in the Current Domain menu on the left.
  4. Click the Add A TXT Record button.
  5. Leave the Name field blank.
  6. In the Data field enter your SPF value e.g. v=spf1 ~all.
  7. Click Add TXT Record and allow up to 24hrs for the changes to take effect.

If you are using our shared hosting platform, the default SPF record we use is as follows:

v=spf1 ip4: ip4: ?all


Please be cautious when configuring your SPF record as doing so incorrectly may result in email not being accepted from your domain. If you would like to check that an SPF record has been configured correctly - you can contact the LCN support team.

Related guides

  • How to create a DKIM record
  • How to change nameservers on your domain
  • How to create an A record for your domain
  • How to create an CNAME record for your domain
  • How to create an SRV record
  • Need a hand? Search over a hundred step-by-step support guides