How to create an SPF record
Sender Policy Framework (SPF) records specify which mail servers can send email on behalf of your domain. When an email is received, the mail server uses the SPF record to check that mail is being sent by an authorised mail server, if not the mail can be rejected as spam.
If you’re using LCN for your email services, an SPF record is already setup on your domain. If you’re using an external mail provider such as Google Mail you can ask them for an SPF record and add this as a TXT record by following the handy guide below.
Let’s get started…
- Log in to your LCN account.
- Click the Domains icon and choose Manage.
- Click DNS Settings.
- Under the TXT Records section, Click Add A TXT Record.
- Unless stated, leave the Name field blank.
- In the Data field enter your SPF value e.g. v=spf1 include:_spf.google.com ~all
- Click Add TXT Record and allow up to 24hrs for the changes to take effect, however, this can be longer. For more information on DNS and Nameserver propagation see our guide here.
If you are using our shared hosting platform, the default SPF record we use is as follows:
v=spf1 ip4:184.108.40.206/24 ip4:220.127.116.11/22 ip4:18.104.22.168/22 ?all
That’s it! You’ve added an SPF record to your domain.