Home domains Dns: how to edit dns zone in cpanel

Dns: how to edit dns zone in cpanel

Last updated on Aug 05, 2025

To add an SPF record for your domain, follow these organized steps:

  1. Domain Name: Enter your main domain name with a trailing dot to clearly indicate the root domain.
    Example: example.com.

  2. Record Type: Select "TXT" from the available options.

  3. Time To Live (TTL): Set the TTL to 1200 seconds, which is approximately 20 minutes.

  4. Priority and Weight: Leave both fields at 0 as they are not necessary for SPF records.

  5. SPF Record String: Enter the record starting with v=spf1, followed by the appropriate mechanisms and IP addresses.
    Example: v=spf1 +a +mx +ip4:198.187.31.8 ?all

  6. Port Information: Leave this field blank or set it to 0, as SPF records do not apply to ports.

Final SPF Record Format:

Name: example.com.
Type: TXT
TTL: 1200 seconds
Priority: 0
Weight: 0
Record: v=spf1 +a +mx +ip4:198.187.31.8 ?all