Loading...

Knowledge Base

How to set up SPF, DKIM, and DMARC records for cPanel email

Configure the SPF, DKIM, and DMARC records to your domain's DNS to help receiving mail servers verify that messages sent from your cPanel email accounts are legitimate. These records improve email deliverability and help prevent your emails from being flagged as spam.

First, obtain the required SPF, DKIM, and DMARC values from cPanel, and then add these records to the DNS zone where your domain is managed.

 

Get the SPF, DKIM, and DMARC records from cPanel

cPanel generates the SPF and DKIM records required for your email accounts. Follow these steps to locate the values:

  1. Log in to your cPanel.
  2. Under Email, click Email Deliverability.
  3. Locate your domain name and click Manage.
  4. Copy the recommended SPF, DKIM, and DMARC record details. You will need these values when updating your DNS settings.

Have the DNS records ready as shown in the table below:

Record Record type Name Value

SPF

TXT

<YOURDOMAIN.COM>

The SPF value generated by Email Deliverability, beginning with v=spf1

DKIM

TXT

default._domainkey.<YOURDOMAIN.COM>

The DKIM value generated by Email Deliverability, beginning with v=DKIM1

DMARC

TXT

_dmarc.<YOURDOMAIN.COM>

v=DMARC1; p=none; rua=mailto:<EMAIL-ADDRESS>

 

Add the records to your DNS zone

You must add the cPanel SPF, DKIM, and DMARC records to the correct DNS zone.

The location depends on what name servers your domain is connected:

Name servers Where your DNS is managed How to add the records

ns1.vodien.com and ns2.vodien.com

Vodien Account Manager

See Manage Account Manager DNS

ns100.vodien.com and ns101.vodien.com

cPanel for Linux hosting

See Managing DNS Records in cPanel

Other name servers

Your third-party DNS provider

Follow your DNS provider's instructions

 

You can use the following steps that apply to most DNS management platforms, including the Account Manager and cPanel. Follow them in the place where your domain’s DNS is managed:

  1. Sign in to the service that manages your domain's DNS records.
  2. Open the DNS zone for your domain.
  3. Add a TXT record for SPF, using the name and value from cPanel. If an SPF record already exists, edit it instead.
  4. Add a TXT record for DKIM, with default._domainkey as the host name.
  5. Add a TXT record for DMARC, with _dmarc as the host name.
  6. Save your changes and allow time for DNS updates to propagate.

In the DMARC value, replace <EMAIL-ADDRESS> with the address that should receive DMARC reports (for example, [email protected]). The p=none setting only monitors your email without blocking anything, making it a safe starting point. Once reports confirm that your messages pass SPF and DKIM checks, you can update it to p=quarantine or p=reject.

 

 

Loading...