Skip to content
Happy New Year 2027 from ZenexCloud
ZenexCloud
Domains

What are SPF, DKIM and DMARC, and how do I set them up?

Set up the three DNS records that help your email reach the inbox and stop spoofing.

SPF, DKIM and DMARC are DNS TXT records that prove your emails are real. Without them, big mailbox providers may send your mail to spam.

  • SPF lists the servers allowed to send mail for your domain. Example value: v=spf1 +a +mx include:example.net ~all. Use the exact record your provider gives you.
  • DKIM adds a digital signature to each message. The public key is a TXT record. Your mail server holds the private key.
  • DMARC tells receivers what to do when SPF or DKIM fails. Start with a monitoring policy: v=DMARC1; p=none; rua=mailto:you@example.com.

Set up on cPanel hosting

  1. Log in to cPanel and open Email Deliverability.
  2. Find your domain. If it says "Problems exist", click Manage.
  3. Review the suggested SPF and DKIM records. Click Install the suggested record (or Repair).
  4. Wait for the status to show valid.

Add DMARC

  1. Open Zone Editor and click Manage for your domain.
  2. Add a TXT record named _dmarc.example.com.
  3. Set the value to v=DMARC1; p=none; rua=mailto:you@example.com.
  4. Save. Later, move to p=quarantine after you confirm legitimate mail passes.

Only one SPF record per domain. If you use other senders (newsletter tools), merge them into one record.

If DNS is hosted elsewhere, add the same TXT records there.

Still need help?

Ask Zeni in the chat bubble, or open a support ticket. We answer 24/7.