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 LCN.com 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 include:_spf.google.com ~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:94.126.40.0/24 ip4:94.126.44.32/27 ?all

Warning

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.


Need a hand? Search over a hundred step-by-step support guides