Skip to main content

Email DNS records: MX, SPF, DKIM and DMARC

Updated May 21, 2026

Without these records, your mail will land in spam or bounce. Open cPanel → Zone Editor to add or edit them.

MX — where mail is delivered

Tells the world which server receives mail for your domain.

Type: MX
Name: @
Priority: 0
Value: mail.yourdomain.com

SPF — who is allowed to send

Lists the servers that may send mail using your domain. Without it, anyone can forge mail from you.

Type: TXT
Name: @
Value: v=spf1 +a +mx +ip4:YOUR.SERVER.IP ~all

DKIM — proof the mail wasn't tampered with

A cryptographic signature. cPanel generates this for you — open Email Deliverability, click Manage, then Install Suggested Record.

DMARC — what to do if SPF or DKIM fail

Start in monitoring mode for a couple of weeks, then move to quarantine or reject.

Type: TXT
Name: _dmarc
Value: v=DMARC1; p=none; rua=mailto:[email protected]

Quick check

cPanel → Email Deliverability. Any record marked in red is missing or wrong. Click Repair to fix automatically.

Was this article helpful?