Can I Add SPF Records for My Domain Name?

Author:

Published:

Updated on August 15, 2024

Reading Time: 2 min

Introduction #

Sender Policy Framework (SPF) records are essential for reducing the chance of your domain being spoofed in spam messages. They also enhance the deliverability of emails to external providers like Gmail and Outlook. This guide will show you how to add SPF records to your domain name.

Importance of SPF Records #

SPF records help verify that emails sent from your domain are indeed from authorized servers. StackCP maintains an SPF record that is kept up to date with all IP addresses used to transmit email from our network. This ensures that any email sent from our services passes an SPF check. By default, all newly provisioned hosting packages will have an SPF record for StackMail added automatically.

How to Add SPF Records Manually #

To manually add SPF records, follow these steps:

Step 1: Access DNS Management #

  1. For Domains Registered with CP CLOUD HOSTING
    • Log in to your StackCP account.
    • Navigate to Manage Domains.
  2. For Domains Not Registered with CP CLOUD HOSTING
    • If the domain is assigned to a hosting package, go to Manage Hosting.
    • Select the relevant package and click on Manage DNS.

Step 2: Add the SPF Record #

  1. Locate the Inputs for New Records
    • Towards the bottom of the Manage DNS page, you will see three inputs to add new records.
  2. Enter SPF Record Details
    • Name Field: Leave it blank.
    • Type: Select TXT.
    • Data: Enter v=spf1 include:spf.stackmail.com a mx -all.
  3. Save the Changes
    • Click Save to apply the changes.

Your domain is now protected by an SPF record. This record can be used for all domains utilizing our mail services. However, if your email originates from multiple sources, ensure you update the SPF record accordingly.

Conclusion #

Adding SPF records to your domain is a straightforward process that significantly enhances email security and deliverability. Follow the steps outlined above to ensure your domain is protected and your emails are trusted by external providers.