Set Up SPF, DKIM, and DMARC Records Print

  • 0

SPF, DKIM, and DMARC are DNS records that stop your emails from getting marked as spam. Here is how to set them up:

SPF (Sender Policy Framework)

SPF tells mail servers which IP addresses are allowed to send email for your domain.

  1. Go to Zone Editor in cPanel's Domains section.
  2. Click Manage next to your domain.
  3. Add a new TXT record with this value:
    v=spf1 +a +mx +ip4:YOUR_SERVER_IP ~all
    Replace YOUR_SERVER_IP with your server's IP address.

DKIM (DomainKeys Identified Mail)

  1. In cPanel, go to Email Deliverability.
  2. Find your domain and click Manage.
  3. If DKIM is not enabled, click Enable.
  4. If prompted, add the generated TXT record to your DNS zone.

DMARC (Domain-based Message Authentication, Reporting & Conformance)

  1. In the Zone Editor, add a new TXT record for _dmarc.yourdomain.com.
  2. Use a value like:
    v=DMARC1; p=none; rua=mailto:[email protected]
  3. Once verified, change p=none to p=quarantine or p=reject for better protection.

Was this answer helpful?

« Back