Creating DKIM, SPF, and DMARC Records

This article explains how to enable email authentication by configuring SPF, DKIM, and DMARC records from cPanel.

What is it for?

Email authentication makes it harder for third parties to forge messages masquerading as your domain. It also helps ensure that mail sent from your domain is validated by receiving servers, which improves delivery and reduces bounces or spam classification.

Record Function
SPF Indicates which servers/IPs are authorized to send email for your domain. The receiver compares the message IP with the SPF record published in DNS.
DKIM Digital signature in the email headers. The receiver verifies the signature against a record in the domain's DNS zone.
DMARC Unifies SPF and DKIM policies and indicates what to do if a message fails validation. It does not replace SPF or DKIM; it complements them.

Key difference: SPF validates by origin (server IP). DKIM validates by identity (signature in the message). It is best to have both active.

Enabling SPF and DKIM (Email Deliverability)

  1. Log in to cPanel from the client portal or at https://yourdomain.com/cpanel.
  2. Go to Email Deliverability.

Email Deliverability en cPanel

  1. You will see the list of domains on your account. Click Manage next to the domain you want to configure.

Lista de dominios en Email Deliverability

If cPanel detects an issue (for example, an invalid or incomplete SPF), you can use Repair to fix it automatically. Then confirm the change and review the preview using Manage.

  1. On the detail screen, review the SPF and DKIM status for the domain.

Detalle de registros SPF y DKIM

If the suggested SPF record does not include the correct IP or information is missing, click Install the suggested record. cPanel will automatically load the values for your domain.

  1. Also check the PTR record (reverse DNS), if it appears on the same screen.

Verificación de registro PTR

Remote Server Email: If you send email from another provider (Google Workspace, Microsoft 365, etc.), you cannot use hosting Email Deliverability for those sends. Configure SPF and DKIM manually in DNS according to that provider's instructions.

PTR Record: The PTR depends on the hosting provider and server IP. If it is invalid, contact support; it cannot always be fixed from cPanel.

Enabling DMARC (Zone Editor)

DMARC is added manually as a TXT record in the domain's DNS zone.

  1. Go to cPanel → Domains → Zone Editor.
  2. Click Manage next to the corresponding domain.
  3. Choose to add a TXT record → Add Record.
  4. Fill in the values:
Field Value
Name _dmarc.yourdomain.com. — in some cPanel versions _dmarc is enough (the panel completes the domain).
TTL 14400 (or the panel default value).
Type TXT
Value v=DMARC1; p=none

With p=none you start in monitoring mode (reports only, without rejecting email). Later you can tighten the policy to quarantine or reject when SPF and DKIM are stable.

  1. Click Add Record to save.

Verifying the Configuration

  • Wait for DNS propagation (it can take up to 24–48 hours).
  • Send a test email to an external account (Gmail, Outlook) and check the headers of the received message.
  • Return to Email Deliverability and confirm that SPF and DKIM show as valid.
  • Use online SPF/DKIM/DMARC verification tools if you need an external diagnosis.

Common Issues

  • Invalid SPF after repair: there may be another duplicate SPF record in the DNS zone; only one should exist per domain.
  • DKIM does not sign messages: verify that email goes out from the hosting server, not from an external SMTP without DKIM configured.
  • DMARC does not appear in checkers: check the record name (_dmarc) and DNS propagation.
  • Email goes to spam anyway: authentication helps but does not guarantee the inbox; also check reputation, content, and sending volume.

If Email Deliverability cannot repair the records, the PTR is invalid, or mail continues to bounce after configuring SPF, DKIM, and DMARC, open a case from the client portal or consult via the site's online chat.

  • antenticacion correo cpanel, autenticacion cpanel, autenticacion de correo, registros dkim, registros dmarc, registros spf
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to connect and upload files using FTP-FileZilla

This article explains how to upload files via FTP to your hosting plan using the free FileZilla...

I cannot publish files within my service

This article helps you troubleshoot when you cannot upload or publish files on hosting with a...

Anonymous FTP Precautions

This article describes the security and usage precautions of anonymous FTP in a cPanel hosting...

FTP folder utilities

This article explains the meaning of each folder in your hosting account when connecting via FTP...

Creating and managing FTP accounts

This article explains how to create and manage additional FTP accounts in cPanel to grant...