Use this practical SPF, DKIM, and DMARC checklist to authenticate domain email, reduce avoidable delivery problems, and create a safer process for adding senders or changing email platforms. The exact DNS values come from your email provider, so treat provider documentation as the final authority and review this guide whenever your mail workflow changes.
Overview
Email authentication is a DNS and mail-server configuration process with three complementary parts:
- SPF identifies the servers and services allowed to send mail for your domain.
- DKIM adds a cryptographic signature to outgoing messages so receiving systems can check that the message was authorized and was not altered in transit.
- DMARC tells receiving systems what to do when authentication fails and provides reporting about messages using your domain.
These records do not guarantee that every message reaches the inbox. They do, however, give receiving providers useful evidence about legitimate mail and help domain owners detect unauthorized sending. A complete setup also requires alignment: the domain authenticated by SPF or DKIM should correspond to the visible From domain under your DMARC policy.
Before editing DNS, make an inventory of every legitimate sender. Include your primary mailbox provider, website contact forms, ecommerce platform, marketing system, customer-support tool, invoicing application, CRM, and any transactional email service. An incomplete inventory is one of the most common reasons a new DMARC policy disrupts legitimate mail.
Checklist by scenario
1. You are setting up a domain for the first time
- Confirm which company hosts your mailboxes and which other services send messages as your domain.
- Open the provider’s current authentication instructions. Record the exact SPF include or authorization value, DKIM selector, public-key record, and any required verification record.
- In your DNS manager, create one SPF TXT record at the root of the domain. A typical structure resembles
v=spf1 include:provider.example -all, but the provider-specific mechanism must come from the provider. - Add the DKIM record using the selector and public key supplied by the provider. It may be a TXT record or, depending on the service, a CNAME that points to a provider-managed key.
- Begin DMARC with monitoring rather than enforcement. A common starting format is
v=DMARC1; p=none; rua=mailto:[email protected]. Use a mailbox dedicated to reports, and confirm that your reporting destination is appropriate for your domain. - Send test messages to accounts on different receiving systems. Check the message headers for SPF, DKIM, and DMARC results.
2. You are adding a new sending service
- Document the service, purpose, From address, return-path or envelope domain, and expected sending volume.
- Follow the service’s domain-verification and DKIM instructions before sending production mail.
- Update the existing SPF record only if the service explicitly requires an SPF authorization mechanism. Do not create a second SPF record.
- Check whether the service supports DKIM alignment with your visible From domain. DKIM can pass while DMARC still fails if the signing domain does not align.
- Send controlled tests and inspect headers before enabling the service for all users or customers.
- Watch DMARC aggregate reports after launch for unexpected sources and authentication failures.
3. You are moving to a different email provider
- Keep the old provider authorized while both systems are sending legitimate mail.
- Publish the new provider’s DKIM record and verify it before changing mailbox routing.
- Update SPF in a single record, retaining only services that still send mail for the domain.
- Confirm that forwarding, aliases, website forms, and applications have not been overlooked.
- After the old provider is fully retired, remove its SPF authorization and unused DKIM records according to its documentation.
- Review reports for at least one normal operating cycle before tightening DMARC.
4. You want to enforce DMARC
Move gradually. Start with p=none to collect evidence, then consider a limited rollout using a percentage setting if your provider and operational process support it. After legitimate sources authenticate and align consistently, consider p=quarantine, followed by p=reject when you are confident that important mail is covered. Policy changes should be deliberate; a strict policy can affect legitimate messages from forgotten applications, forwarded mail, and third-party services.
What to double-check
DNS record details
- Record name: Your DNS host may ask for the root symbol, an empty host field, or your domain name for the root record. DKIM usually uses a name such as
selector._domainkey. - Record type: SPF and DMARC are TXT records. DKIM may be TXT or CNAME, depending on the provider.
- Value formatting: Do not add quotation marks unless your DNS interface requires them. Preserve semicolons, spaces, hyphens, and the complete public key.
- TTL and propagation: Allow time for DNS changes to become visible. Avoid repeatedly changing records before confirming what is actually published.
- SPF uniqueness: A domain should publish one SPF policy. Combine authorized mechanisms in that record rather than publishing separate SPF TXT records.
Authentication and alignment
Check the results separately. SPF passing does not prove DKIM is working, and DKIM passing does not automatically mean DMARC passes. For DMARC, compare the visible From domain with the authenticated SPF domain and DKIM signing domain. A message can be sent by an approved service yet fail DMARC if the domains do not align under the policy.
Reports and privacy
Aggregate DMARC reports can reveal sending services, source IP addresses, and pass or fail results. Decide who will review them and how long they should be retained. If you send reports to a mailbox on another domain, follow the receiving domain’s authorization requirements. Do not assume that a raw XML report is easy to interpret; use an appropriate analysis workflow or tool and protect report data as operational information.
Common mistakes
| Symptom | Likely cause | Practical response |
|---|---|---|
| SPF fails or behaves inconsistently | Multiple SPF records, a missing sender, or an incorrectly copied include | Publish one consolidated SPF policy and compare it with every legitimate sending service. |
| DKIM signature fails | Wrong selector, missing public key, altered record formatting, or a stale key | Copy the selector and value again from the provider, check the published DNS record, and confirm the service is signing with that selector. |
| DMARC fails while SPF or DKIM passes | The authenticated domain does not align with the visible From domain | Review the provider’s custom-domain or alignment settings and inspect the message headers. |
| Forwarded messages fail SPF | The forwarding server is not an authorized original sender | Rely on DKIM where possible, verify alignment, and assess forwarding behavior before enforcing a strict policy. |
| Legitimate mail is quarantined | An application or third-party sender was omitted from the inventory | Identify the source in DMARC reports, authenticate it, test again, and only then tighten policy. |
| No DMARC reports arrive | Incorrect reporting address, unsupported report handling, or a DNS value error | Validate the DMARC syntax and reporting mailbox, then confirm that your receiving workflow accepts the reports. |
Avoid copying a provider’s sample record without adapting it to your domain. Also avoid deleting old records immediately during a migration: first establish which systems still send mail, then remove authorization in a controlled change.
When to revisit
Keep this checklist with your domain and hosting change records. Revisit SPF, DKIM, and DMARC before seasonal planning cycles, product launches, or periods when message volume is expected to increase. Review it whenever you add or remove a marketing, support, billing, monitoring, or website-form platform; move mailbox providers; change DNS managers; introduce a new subdomain; or notice that messages are going to spam.
At least twice a year, verify provider-specific hostnames, selectors, required record formats, and current authentication guidance against the documentation for each service. Standards and provider workflows can change, and a record that worked for a retired platform may create unnecessary authorization later.
For a final review, use this short action list:
- List every legitimate sender for the domain.
- Confirm that one SPF policy includes the required services.
- Verify DKIM selectors and public keys for each active sender.
- Inspect real message headers from more than one sending workflow.
- Check DMARC reports for unknown sources and alignment failures.
- Keep DMARC at monitoring while investigating gaps, then raise enforcement deliberately.
- Record the date, DNS changes, provider documentation, and owner responsible for the next review.
Authentication is not a one-time DNS task. Treat it as part of domain and email operations, especially when your website, cloud hosting environment, or business applications begin sending on behalf of the same domain.