SPF Record

Last Updated At: 2025-10-21 09:10:00

Operation Scenarios

SPF records are used to specify the servers that send emails and represent an efficient anti-spam solution. This document describes how to add an SPF record.

Prerequisites

The corresponding private domain has been created. For details, see Creating Forward DNS Resolution for Private Domain.

Directions

  1. Log in to the VPCDNS console and enter the VPCDNS List management page.
  2. In the "VPC Domain Resolution List", click the private domain name for which you need to create an SPF record.
  3. Enter the Resolution Record Management Page, click Add Record, and in the pop-up "Add DNS Record" window, fill in the relevant record value information.
    • Record Type: Select SPF.
    • Host Record: Enter the subdomain.
    • Record Value: For example, v=spf1 include:spf.mail.test.com ~all indicates that only the IP addresses in the A and MX records of this domain are authorized to send emails using this domain.
  4. Click Save to complete the addition.