ANS Documentation

Improve This Doc
  • Cloud
  • Domains and DNS management
    • Domain Name Management
    • SafeDNS
      • Adding a domain into SafeDNS
      • Adding an A record to an existing domain
      • Removing a DNS record on an existing domain
      • Adding a Sender Policy Framework (SPF) record to SafeDNS
      • Changing TTL (Time to Live)
      • Different types of DNS records
      • SafeDNS API
      • What factors affect DNS propagation time?
      • SafeDNS Authenticator plugin for Certbot
      • ALIAS Record
      • APEX Domains
      • Setting up Subdomain delegation in SafeDNS
      • Setting up Subdomain delegation with for an external provider
    • SSL Certificates
    • Reverse DNS Records
  • Backup and High Availability
  • eCommerce Stacks
  • Security
  • Email
  • Monitoring and usage management
  • Networking
  • Operating systems
  • Webcelerator
  • MyUKFast
  • Home >
  • Domains and DNS management >
  • SafeDNS >
  • Adding a Sender Policy Framework (SPF) record to SafeDNS

Adding a Sender Policy Framework (SPF) record to SafeDNS¶

This guide provides the instructions needed to configure an Sender Policy Framework (SPF) record for your domain with SafeDNS. For an in-depth guide on SPF records how they work, please refer to our general SPF guide.

SPF records are designed to prevent spammers from spoofing email from your domain. They give you the means to state which servers are authorised to send email on behalf of your domain. The large majority of mail servers will check for an SPF record when filtering for spam, preventing people from being able to spoof your domain for spam or phishing purposes.

An SPF record consists of a string of text stored in a TXT record within your DNS setting. There are various wizards online to help create this string, for example SPF Wizard

If you’re looking for a very basic SPF record that fits most situations (mail will only ever send from anything you have an A record or MX record for), the following should suffice:

v=spf1 a mx -all

If you have a more complex setup (a separate dedicated mail server, or if you use a 3rd party bulk mail service), please do refer to the in-depth SPF guide.

To add the SPF record, first log into SafeDNS in MyUKFast and choose the relevant domain.

If you already have TXT records configured for the domain you will need to add a new record.

  • Within the TXT record section click Add TXT Record. This will add a blank record at the end of the record list.

  • Leave hostname blank, under value enter the SPF string provided by the SPF wizard, for example:

SPF 1

  • Click Save Records at the bottom of the page

If you cannot see the TXT Records section you will need to add a new record type in order to add the TXT record.

  • Click Add New Record Type and select Add TXT record from the dropdown box towards the top right corner.

SPF 2

  • You should now see the TXT Records section listed with your new blank record. Leave hostname blank, under value enter the SPF string provided by the SPF wizard:

SPF 3

  • Click Save Records at the bottom of the page

CLI

ans safedns record create example-domain.org --content "\"v=spf1 a mx -all\"" --name "example-domain.org" --type "TXT"

Warning

By default, TTL (Time To Live) is 24 hours. That means these records may take up to 24 hours before they have fully propagated to all DNS servers worldwide.

Next Article > Changing TTL (Time to Live)

  • Useful Links
  • SMB
  • Enterprise
  • Channel
  • Public Sector
  • ANS Data Centres
  • About ANS
  • Careers
  • Blog
  • Get in touch
  •  
  • Sales 0800 458 4545
  • Support 0800 230 0032
  • Get in touch

© ANS Group Limited | Terms and Conditions | Corporate Guidance | Sitemap
ANS Group Limited, registered in England and Wales, company registration number 03176761, registered office 1 Archway, Birley Fields, Manchester M15 5QJ