Skip to main content

SPF Setup on CloudFlare

An SPF (Sender Policy Framework) record is a type of TXT record that can help identify which mail servers are permitted to send email on behalf of your domain.

Adding an SPF record can help detect and prevent email spoofing. Only one SPF record will work on your domain at a time and we're unable to provide guidance on custom SPF records.

Your domain must be using CloudFlare nameservers to add an SPF record in your CloudFlare account.

Step 1: Log In to CloudFlare

Navigate to cloudflare.com, enter your credentials to login to its dashboard.

Step 2: Locate your domain

In CloudFlare's dashboard, find your domain you want to add the SPF record to, then click the DNS button, like this:

Step 3: Create the record entry

Now you are on the DNS Management page, click the Add button in the Records section. Now you will see a form where you can enter the settings for your SPF record, as shown below:

Make sure the record Type is TXT, Name is set to @, and Content Value is set to your SPF record. Click the Save button. Now you have added the record!