SPF, DKIM, and DMARC Print

  • spf, dkim, dmarc, email authentication
  • 0

Quick answer

SPF, DKIM and DMARC help receiving mail systems check messages sent using your domain. Add the records supplied by each email service at the provider that manages your public DNS.

  • SPF: lists permitted sending servers.
  • DKIM: adds a message signature that receivers can verify.
  • DMARC: checks that SPF or DKIM matches the visible From domain and requests handling and reports for failures.

Setup guides

Before editing

  1. Identify your DNS provider and every sender: mailboxes, website forms, newsletters, CRM and store messages. A sending subdomain may have separate records.
  2. Get each sender's current SPF requirements and DKIM records. Google Workspace and Microsoft 365 supply their own values.
  3. Save the existing names, types, values and TTLs, the DNS cache lifetime. Keep MX, website and verification records unchanged. MX controls incoming mail; authentication records do not move an inbox.

Where to update DNS

  • cPanel: sign in through the Client Area. Open Email > Email Deliverability > Manage for the domain to review suggested SPF/DKIM values. If our cPanel nameservers manage public DNS, use its reviewed repair/customization controls or Domains > Zone Editor > Manage. External nameservers require editing at that provider instead. A local repair does not update external DNS.
  • Cloudflare: sign in at Cloudflare, select the domain and open DNS > Records. Edit the existing record or use Add record. SPF and DMARC use TXT; DKIM uses the sender's TXT or CNAME. Keep DKIM CNAMEs DNS only.
  • GoDaddy: Domain Portfolio > domain > DNS > edit or Add New Record.
  • Namecheap DNS: Domain List > Manage > Advanced DNS. Third-party or hosting nameservers use their own editor.
  • Squarespace DNS: domains dashboard > domain > DNS > DNS Settings > Custom records.
  • Route 53: Hosted zones > authoritative public zone > edit or Create record. Private zones do not publish public authentication.

Follow the editor's naming and long-TXT rules. Avoid adding the domain twice. A root name commonly uses @, DMARC uses _dmarc, and DKIM uses a selector under _domainkey. A website-only plan does not automatically include email or DNS editing access.

Verify the result

Check public DNS, then send a test from each service to a mailbox you own. Inspect the trusted receiver's Authentication-Results. This fictional example shows the domains to compare:

Authentication-Results: mx.example.net;
 spf=pass smtp.mailfrom=bounce.example.com;
 dkim=pass header.d=example.com header.s=tutorial;
 dmarc=pass header.from=example.com

At least one passing SPF or DKIM result must align with the From domain. Configure both where supported. A vendor's unrelated domain can pass its own check while DMARC fails. Passing authentication does not guarantee inbox delivery.

If mail still fails

Use the specific guide for the reported SPF, DKIM or DMARC error. Allow for the previous TTL. Repeated saves do not clear recipient caches. If authentication passes, check bounce responses, reputation and recipient filtering.

Contact support

For cPanel or hosting questions, send the domain, sending service, exact error, time zone and redacted mail headers or bounce message. Keep passwords, cookies, private keys and tokens out of the ticket. Your external DNS or email administrator must supply that service's current records and access.

Related help

Official references

Source review: Interactive Online, November 2, 2026. Controls vary by service, version and permissions.


Was this answer helpful?

« Back