🎉 FREE 1 Month on All Shared Hosting Plans — No Money Due Today! No Promo Code Required

What Are SPF, DKIM, And DMARC?

See how SPF, DKIM, and DMARC work together, what each record can and cannot prove, and how to roll out enforcement without blocking legitimate mail.

Cyclone Hosting practical guide: SPF, DKIM, and DMARC work together, but each solves a different email-authentication problem.

Email Authentication Helps Receiving Servers Make Decisions

SPF, DKIM, and DMARC are DNS-based technologies that help receiving mail systems evaluate whether a message is authorized and whether the visible sender matches the authenticated domain.

SPF

SPF lists servers allowed to send mail for a domain. The receiving server compares the sending IP address with the SPF policy.

A domain should normally publish one SPF record. Multiple separate SPF records can create a permanent error.

DKIM

DKIM adds a digital signature to outgoing messages. The receiving system uses a public key stored in DNS to verify that the signed parts of the message were not changed after signing.

DMARC

DMARC tells receiving servers what to do when SPF or DKIM checks fail and alignment requirements are not met. Policies can monitor, quarantine, or reject messages.

Start With Monitoring

Organizations often begin with a DMARC policy of none while collecting reports. This helps identify legitimate services before moving to stricter enforcement.

Common Problems

  • Old services are missing from SPF.
  • SPF exceeds lookup limits.
  • DKIM signing is not enabled.
  • The visible From domain does not align.
  • DMARC is set to reject before legitimate senders are identified.

Authentication Does Not Guarantee Delivery

These records improve trust, but reputation, message content, sending patterns, complaints, and list quality still affect delivery.

Each Control Answers A Different Question

ControlWhat it checksImportant limit
SPFWhether the sending server is authorized for the envelope-from domainForwarding can change the sending server, and a domain must not publish multiple SPF records
DKIMWhether a message carries a valid signature associated with a domainMailing-list modifications can invalidate parts of a signature
DMARCWhether authenticated SPF or DKIM aligns with the domain visible in the From headerA strict policy should follow monitoring, not precede it

Passing SPF alone does not prove that the visible From address is authorized. DKIM validates a cryptographic signature but does not tell the receiving provider what to do when alignment fails. DMARC connects authentication to the visible domain and publishes a requested policy for failing messages.

A Safer Rollout Sequence

  1. List every legitimate sender: the hosting server, contact forms, billing platform, newsletter provider, help desk, and any external mailbox service.
  2. Publish one SPF record that includes the required services without exceeding the DNS-lookup limit.
  3. Enable DKIM for each service and place its selector record in the authoritative DNS zone.
  4. Publish DMARC with a monitoring policy such as p=none and a reporting mailbox prepared to receive aggregate reports.
  5. Review reports for legitimate sources that fail SPF, DKIM, or alignment.
  6. Move gradually to quarantine and then reject only after the authorized sending paths consistently pass.

Common DNS Mistakes

Two separate TXT records beginning with v=spf1 do not combine; they make SPF invalid. Copying an SPF value from another provider can authorize the wrong systems. A DKIM record placed under the wrong selector will never be found. A DMARC record belongs at _dmarc.example.com, not at the root name. When a third party hosts DNS, cPanel may display a recommended record but cannot publish it automatically at that provider.

Forwarding And Website Forms Need Attention

Traditional forwarding can cause SPF to fail because the forwarding server is not in the original sender’s SPF record. DKIM may still survive if the message is not modified, which is one reason DMARC accepts aligned DKIM or aligned SPF. Website forms should submit through authenticated SMTP or a properly configured mail service instead of forging a visitor’s address as the From domain. Put the visitor in Reply-To and send from a mailbox the domain controls.

How To Test

Use cPanel Email Deliverability to review locally recognized records, then send to independent providers and inspect the complete message headers. Look for separate SPF, DKIM, and DMARC results plus the domain used for alignment. A DNS lookup tool can confirm what the public authoritative zone returns.

Google’s email sender guidelines describe authentication expectations for mail delivered to Gmail. DMARC’s organization site also provides an overview of alignment and policy.