SPF, DKIM and DMARC are three DNS records that prove your emails really come from your business. SPF lists the servers allowed to send mail for your domain, DKIM adds a digital signature that receivers check against a key in your DNS, and DMARC tells receivers what to do when a message fails those checks and sends you reports about it. Without them, your emails are more likely to land in spam, and anyone can send messages that look as if they came from you.

Why this matters for every business
Email was designed without any proof of who the sender is. The address in the From line can be typed by anyone. These three standards close that gap, and the large mailbox providers now rely on them.
According to Google's email sender guidelines, as of November 2026, everyone who sends to personal Gmail accounts must set up at least SPF or DKIM. Senders of more than 5,000 messages a day to Gmail must set up SPF, DKIM and DMARC, the domain in the From address must match the SPF or DKIM domain, and their marketing mail must offer one-click unsubscribe. Yahoo's sender requirements for bulk senders are very similar. Both providers ask every sender to keep the spam rate below 0.3 percent.
SPF: who may send for your domain
SPF (Sender Policy Framework, RFC 7208) is a TXT record on your domain that lists the servers allowed to send mail for it. A simple record looks like this:
v=spf1 include:_spf.yourmailprovider.example ~all
v=spf1marks it as an SPF record.include:adds the servers of a provider, such as your mailbox provider or newsletter tool.~allat the end says that other servers are probably not allowed.-allis stricter.
Three rules from the standard cause most problems:
- One SPF record per domain. The standard does not allow multiple SPF records for the same name. When you add a new tool, add it to the existing record.
- At most 10 lookups. Each
include,a,mxand similar term triggers DNS lookups, and the standard limits them to 10. Too many tools in one record make SPF fail for everyone. - SPF checks the technical sender, the address used between mail servers, not the From line your customer sees. That is why SPF alone does not stop spoofing.
Domain Hub
Your domains, DNS and business e-mail in one place
DKIM: a signature on every message
DKIM (DomainKeys Identified Mail, RFC 6376) lets your mail server sign each outgoing message. The receiver looks up the matching public key in your DNS, under a name like selector._domainkey.yourdomain.com, and checks the signature. If the message was changed on the way or did not come from a server holding your private key, the check fails.
Your email provider creates the key pair and tells you which TXT record to add. Google's guidelines require a DKIM key of at least 1024 bits for mail to personal Gmail accounts and recommend 2048 bits. A 2048-bit key is long; some DNS providers cannot store it in a single TXT record, so check what yours supports.
DMARC: the policy and the reports
DMARC (Domain-based Message Authentication, Reporting and Conformance) ties SPF and DKIM to the From address your customers see. It is a TXT record at _dmarc.yourdomain.com. The current specification is RFC 9989, published in May 2026, which replaces the original RFC 7489. A starting record looks like this:
v=DMARC1; p=none; rua=mailto:[email protected]
The p value is your policy:
| Policy | What receivers do with failing mail |
|---|---|
p=none |
Deliver as usual and only report. Use this to start. |
p=quarantine |
Treat it as suspicious, usually the spam folder |
p=reject |
Refuse it |
A message passes DMARC when SPF or DKIM passes and the domain they checked matches the From domain. The reports at the rua address show which servers send mail in your name, including the ones you forgot about.
Setting up all three in the right order
- List every service that sends email for your domain: mailboxes, newsletter tool, booking system, invoicing, website forms.
- Set up SPF with all of them in one record.
- Turn on DKIM in each service that offers it and add the records it gives you.
- Publish DMARC with
p=noneand a report address. - Read the reports for a few weeks. Fix any legitimate sender that fails.
- Move to
p=quarantine, thenp=rejectonce all legitimate mail passes.
Yahoo's requirements for bulk senders accept p=none as the minimum, so step 4 already meets them. Moving further protects your name against people who send fake invoices in it.
These records are one part of the work. Our guide to business email with your own domain covers the rest of the setup, from planning addresses to moving old messages.
Where Domain Hub fits
When you create mailboxes in Domain Hub for a domain registered there, the app sets the MX, SPF, DKIM and DMARC records for you. For a domain at another provider, it shows the four records to copy and checks each one live as "Correct" or "Missing or different". The DNS editor also has quick setup buttons that add MX and SPF for Google Workspace or Microsoft 365. One limit to know: KIMISUITE DNS stores TXT values of up to 254 characters, so a DKIM key from another provider has to be 1024-bit; a 2048-bit key does not fit. Every DNS change is saved in a history you can restore. Set up your records in Domain Hub and see what is included in team email accounts.


