SPF, DKIM and DMARC Checklist for a New Domain
A practical checklist for publishing SPF, DKIM and DMARC records on a new domain, with the order, tests and mistakes that matter most.
10 min readUpdated Nov 30, 2026By XPASS Editorial Team

A new domain starts with a clean reputation and no history. That is an advantage, but only if you set it up properly before the first message goes out. Large mail services decide quickly whether to trust a message, and they lean heavily on three DNS records that let a domain say which servers may send for it, how its mail is signed and what to do when a check fails. Those records are called SPF, DKIM and DMARC.
This checklist gives you the order to publish them, how to test each one and the mistakes that most often cause trouble on new domains. It assumes you can edit the DNS zone of the domain and that you already know which mail service you will use. If you are still choosing, the business email page lists what is available, and the email security page covers protecting the domain once it is running.
What each record does
The three records answer three different questions, and they work best together.
| Record | Question it answers | Where it lives | Defined in |
|---|---|---|---|
| SPF | Which servers may send mail for this domain? | A TXT record on the domain | RFC 7208 |
| DKIM | Was this message signed by the domain and left unchanged? | A TXT record at a selector name under _domainkey | RFC 6376 |
| DMARC | What should receivers do if SPF and DKIM do not line up with the From address, and where should reports go? | A TXT record at _dmarc | RFC 7489 |
SPF checks the server that delivered the message, using the domain in the hidden envelope sender. DKIM checks a cryptographic signature added by the sending system. DMARC ties them to the address people actually see in the From line, which is the point that matters for spoofing. A message passes DMARC when SPF or DKIM passes and the domain used in that check matches, or is aligned with, the From domain.
None of these records encrypts mail or stops every kind of fraud. They make it harder to forge your exact domain and give receivers better evidence about your genuine mail.

Step 1: List every sender
Before you write a single record, write down every system that will send mail using your domain. Missing one is the most common reason legitimate messages fail later.
- The main business mailbox service.
- A website or shop that sends order confirmations and contact-form replies.
- Invoicing or accounting software.
- A newsletter or marketing tool.
- Support desk, CRM or booking software.
- Monitoring tools, scanners and printers that email alerts.
For each, find out whether it sends from your domain, whether it supports DKIM signing with your domain and what SPF include or IP addresses it requires. If a tool cannot sign with your domain or be authorised in SPF, consider giving it a separate subdomain, such as news for a newsletter, so that its settings do not interfere with the main domain.
Step 2: Publish the SPF record
SPF is a single TXT record that lists who may send. A simple example for a domain that uses one mail provider looks like this:
v=spf1 include:mail.provider-example.net ~all
Here include pulls in the provider's authorised servers, and the final qualifier says how to treat everything else. Follow these rules:
- One record only. A domain must publish a single SPF record. Two separate SPF records cause a permanent error for many receivers. If you add another service, edit the existing record to include it.
- Watch the lookup limit. RFC 7208 limits SPF evaluation to ten DNS lookups, and each include, a, mx and similar mechanism counts. Too many services will make the record fail. Remove services you no longer use.
- Choose the ending deliberately. A tilde before all means soft fail and is a sensible start. A hyphen means hard fail and is appropriate once you are certain the list is complete. Avoid the plus form, which allows everyone.
- Use the provider's exact value. Copy the include text from the service's instructions, without extra quotes or spaces added by the DNS panel.
- Do not include services you do not use. Every extra include adds lookups and widens who may send as you.
After publishing, check that the record is found and parsed, using an online SPF checker or the dig command with the TXT type. Remember that DNS changes can take time to spread, depending on the TTL.
Step 3: Turn on DKIM signing
DKIM requires a key pair. The sending system keeps the private key and signs each outgoing message, and you publish the public key in DNS so receivers can verify the signature. Your mail provider usually generates the key and shows you what to publish.
- Find the DKIM settings in your mail service and generate or enable the key for your domain.
- Publish what it tells you. This is normally a TXT record, or a CNAME in some services, at a name made from a selector, then the label _domainkey, then your domain. The selector is a short name chosen by the provider.
- Check the key size. A 2048-bit key is the commonly recommended length for new setups, if your provider and DNS panel support it. Long keys may need to be split into several quoted strings, which most DNS panels handle.
- Activate signing. In many services publishing the record is not enough; you must also switch signing on.
- Repeat for each sender. Your website platform, invoicing tool and newsletter service each need their own signing configured, each with its own selector.
- Plan key rotation. Using more than one selector lets you replace keys periodically without breaking mail.
Send a test message to a mailbox that shows headers and look for a DKIM result of pass with your domain. A pass with the provider's own domain instead of yours means the signing is not yet aligned with your From address.
Step 4: Publish DMARC in monitoring mode
DMARC is a TXT record at the name _dmarc under your domain. Start with a policy of none, which asks receivers not to change delivery but to send you reports.
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com
The pieces mean:
- v is the version, always DMARC1.
- p is the policy: none, quarantine or reject.
- rua is where aggregate reports are sent. Use a mailbox or a reporting service you control and actually read, because reports are XML files that are easiest to read through a tool.
Start with none for the first few weeks. Reports will show every system that sends as your domain, including ones you forgot. Read them, fix SPF and DKIM for legitimate senders and note which sources are unknown. The details of moving from monitoring to enforcement are covered in the DMARC rollout plan for small businesses.
Step 5: Test before real mail flows
Before you announce the new domain to customers, test each path.
- Send from every mailbox and every system that will use the domain to accounts at several large public mail services.
- Open the message headers and check the authentication results for SPF, DKIM and DMARC. Look for pass on at least one aligned method.
- Send a message to a mailbox on a different provider and reply, to prove both directions work.
- Check where the message lands. A new domain may start in spam even with perfect records, because the domain has no history yet. Warm it up with normal, expected, low-volume mail from real people rather than a sudden burst.
- Look at how your name appears in the From line. A well formed display name helps; an odd one can look suspicious, as discussed in why a sender name can look fake even on a company domain.
Record the results in a note with the date. When something breaks later, you will be able to compare.

Step 6: Non-sending domains and upkeep
Domains that do not send mail
A new company often owns several domains that will never send mail: spelling variants, other extensions or domains parked for later. Criminals like these because nobody watches them. You can protect them with a few records:
- An SPF record that authorises nothing: v=spf1 -all
- A DMARC record with a strict policy and a reporting address.
- No MX record if the domain should not receive mail either, or an MX that points to your real mail service if it should.
This takes minutes per domain and removes an easy route for impersonation. It also fits the wider steps in how to prevent people from spoofing your company email.
Keep the records tidy over time
Authentication is not a one-off task. Services come and go, and every change in your tools can leave a stale entry behind. Put a short review in the calendar, for example every quarter.
- Remove SPF includes for services you have stopped using.
- Delete DKIM keys that belong to retired selectors, after confirming nothing still signs with them.
- Check that the DMARC reporting mailbox still exists and that someone reads the reports.
- Re-test one message from each sender after any change to DNS, hosting or mail service.
- Keep a dated copy of the full set of records, so a mistaken edit can be reversed quickly.
A few minutes of upkeep prevents the slow drift that leaves old services authorised long after they stopped being needed.
A worked example: a new online shop
Imagine a shop that registers its domain, uses a hosted business mailbox service and sends order emails from its shopping platform. The owner lists two senders: the mailbox service and the platform.
She publishes one SPF record that includes both, checks that the record has fewer than ten lookups and uses a soft fail ending. She enables DKIM in the mailbox service and publishes the TXT record it provides, then does the same on the shop platform with its own selector. She publishes DMARC with policy none and reports going to a dedicated mailbox. She sends test messages from both systems to three outside accounts and finds that the platform's messages pass SPF but show DKIM signed by the platform's own domain. After fixing the DKIM setup so it signs with her domain, all tests show aligned passes. Two weeks of reports show one more source she had forgotten, a booking widget, which she then authorises. Only after that does she plan to move the policy up from none.
What to watch for
- Two SPF records, or a record that grows beyond ten lookups.
- DKIM published but not switched on, so no messages are actually signed.
- Signing with the provider's domain, which can pass DKIM but still fail DMARC alignment.
- Jumping to reject on day one. Without data from reports you may block your own invoices or forms.
- Reports sent to a mailbox nobody reads. Monitoring only works if someone looks.
- Forgetting subdomains. Subdomains inherit the DMARC policy unless you set another, and each sender may need its own records.
- Copy and paste errors. Stray spaces, smart quotes and a duplicated domain name in the host field are common. Check the record after publishing.
- Believing the records prove the content is safe. They show who sent a message, not that the message is honest.
Summary
For a new domain, list every sender, publish a single SPF record, enable DKIM signing for each sender with your own domain, publish DMARC with a none policy and a reporting address, test every path and read the reports before tightening. Protect parked and non-sending domains with a strict record, keep notes of every change and review the setup whenever you add a new service.
When you are ready to protect your domain and see how the records fit together in practice, the email security page describes the options, and the business email page shows the mailbox side.
Frequently asked questions
In what order should I set up SPF, DKIM and DMARC?
List every sender first, then publish SPF, then enable DKIM signing, then publish DMARC with a monitoring policy. Tighten DMARC only after reports show that legitimate mail passes.
Can I have more than one SPF record?
No. A domain should publish a single SPF record. If you use several services, merge them into one record, and keep within the limit of ten DNS lookups.
What does a DMARC policy of none do?
It asks receivers to take no special action but to send you reports. It is the safe starting point because it shows who is sending as your domain without blocking anything.
Should I publish records for a domain that does not send mail?
Yes. A domain that never sends mail can publish an SPF record that allows nothing and a strict DMARC policy, which makes it harder for others to impersonate it.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Protect your email and stop spoofing
Spam filtering and DMARC monitoring for your domain.
See email securityKeep reading

Business Email Guides
A Step-by-Step DMARC Rollout Plan for Small Businesses
A practical, staged plan for small businesses to adopt DMARC without breaking legitimate email, from monitoring to quarantine and reject.
10 min read

Business Email Guides
Why Your Sender Name Looks Fake Even on a Company Domain
A company domain does not guarantee a trustworthy-looking sender. Display names, system defaults, alignment gaps and mail client behaviour all change what people see.
9 min read

Business Email Guides
How to Stop People Faking Email in Your Company's Name
Anyone can type your domain into a From line. SPF, DKIM and DMARC let receivers check, and a few practical habits close the remaining gaps.
10 min read