How to Set Up SPF DKIM and DMARC (2026 Guide)
Here is how to set up SPF, DKIM and DMARC in one afternoon: publish three TXT records at your DNS host, using values your email provider generates for you. SPF lists who may send for your domain, DKIM signs each email, and DMARC tells inboxes what to do when checks fail. On Google Workspace, DKIM needs a paid account.
The short answer
Copy the SPF and DKIM values from your email provider's admin console into your DNS host, then add a DMARC record that only monitors at first. Test all three with a free checker before you send any cold email.
These three records decide whether your emails look legitimate or land in spam, as Spaceship's Josh Horritt puts it in a guide updated May 27, 2026 (Spaceship). For a founder about to start outbound, that makes them the first job, before the list or the copy.
The one thing to skip: do not hand-type any record from a blog post, this one included. Use the exact values your provider gives you. A single wrong character breaks the record.
Copy, paste, test. Never type a DNS record from memory.
What teams that got it right actually did
Startups rarely publish their DNS setup, so the useful public record is vendor docs and forum threads. The setups that work share three habits: they start in the provider's admin console, they give every domain its own key, and they test after every change.
The first habit is starting from the provider. Instantly's help center has Workspace users open Google Admin, then Accounts, Domains, Manage Domains and Add a domain (Instantly Help Center). The domain lives in your provider before any record goes into DNS.
The second habit is one DKIM key per domain. Suped notes that Google Workspace supports per-domain DKIM, so each secondary domain needs its own unique key (Suped). If you send outbound from a second domain to protect your main one, that domain needs its own DKIM record too.
The third habit is testing. PowerDMARC's guide for one sender, Accenture Mortgage Cadence, says to validate the DKIM record with a free lookup tool, then enable DMARC (PowerDMARC). The same order applies to any sender: publish, check, then turn on DMARC.
Step by step: how to set up SPF, DKIM and DMARC
Follow these seven steps in order. Each step ends with something you can check, so you know it worked before you move on.
- List every service that sends email as your domain. Include your mailbox provider, your CRM, your billing tool, support desk and any cold email tool. Each one may need to be in SPF and may need its own DKIM key.
- Add the domain in your email provider. On Google Workspace, that is Google Admin, then Accounts, then Domains, then Manage Domains, then Add a domain. Verify ownership when asked.
- Copy the SPF value from your provider's help docs. Publish it as one TXT record at your DNS host. If you send through several services, combine them in that single record instead of adding a second SPF record.
- Generate a DKIM key in your provider. A free Gmail account cannot issue a DKIM key for your own domain. In Google's case, that is a Google Admin console feature available only with Workspace (Squarespace Forum). Publish the key your provider shows you as a TXT record.
- Build a DMARC record with a generator. DMARCly splits these tools into generators that create records and checkers that look up DNS records (DMARCly). Start with a monitoring-only policy so nothing gets blocked yet.
- Publish the DMARC record at your DNS host. dmarcian notes that a DMARC record is a TXT record in DNS, created and published through your domain's DNS hosting provider (dmarcian).
- Run a checker on all three records. Use a lookup tool to confirm SPF, DKIM and DMARC all resolve. Then send a test email to an inbox you control and check that it lands in the main inbox.
Once these pass, warm up the mailbox with real replies before you send volume. Then think about the email itself, starting with how to write a follow-up email that gets answered.
A worked example
Here is the setup for one founder starting outbound from a new secondary domain. The domain and services are an illustration, not a real company.
Illustration: a founder owns acme.com and buys acmehq.com for cold email. They use Google Workspace for both and a cold email tool for sending. Their billing tool only sends from acme.com.
For acme.com, they already have SPF and DKIM from Workspace. They add the billing tool to the same SPF record, publish its DKIM key and add a monitoring-only DMARC record.
On acmehq.com, they add the domain in Google Admin, publish Workspace's SPF value and generate a separate DKIM key. Suped's point applies here: the secondary domain needs its own unique key. They then add a DMARC record for acmehq.com as well.
Last, they run a checker on both domains. One record fails because the DNS host added the domain name twice to the record name. They fix the name, wait for DNS to update and recheck. Total time for both domains: one afternoon.
Common mistakes from Reddit and operators
The most common complaint is that setup is harder than it looks. In 15 of 21 recent Reddit threads we read, setup was harder than expected (Reddit). In 8 of the 21, people asked how to start or what works (Reddit).
The specific mistakes repeat. These are the ones that cost founders the most time.
- Adding a new SPF record for each tool. A domain should have one SPF record that lists every sender.
- Forgetting a sender. The billing tool or support desk sends as your domain and fails checks, so customer receipts land in spam.
- Expecting DKIM from free Gmail. A free account cannot sign mail for your domain. You need Workspace or another paid provider.
- Reusing one DKIM key across domains. Each secondary domain needs its own DKIM key on Google Workspace.
- Jumping to a blocking DMARC policy on day one. If one legitimate sender is missing, you block your own mail.
The honest limit: these records prove you are who you say you are. They do not make people want your email. Authentication gets you past the spam filter. A bad list or weak copy still gets ignored, so check your ideal customer profile before you blame deliverability.
When to stop and change approach
Stop and get help when a checker still fails after two careful attempts, or when you find a sending service you cannot authenticate. At that point, guessing at DNS costs more than an hour with someone who has done it.
Change approach if your provider cannot sign mail for your domain at all. Moving to a provider that can is easier than working around it. The free Gmail case is the common one: upgrade to Workspace rather than fight it.
Also stop and rethink if all three records pass and replies are still near zero. Deliverability is no longer your problem. The list, the offer or the follow-up is. Read how to follow up with leads, or run the MV GTM diagnostic prompt to find the real bottleneck.
If the checker is green and nobody replies, stop touching DNS.
Stuck on something in your GTM? Send me the problem.
Write one problem you're facing in go-to-market right now. I'll build a custom solution for it and send it to you, free.
๐ First 100 people: 1 year of Firecrawl, free, on me, plus free access to every GTM tool I build next.
Frequently asked questions
What is the first step to set up SPF, DKIM and DMARC?
The first step is listing every service that sends email as your domain, such as your mailbox provider, CRM, billing tool and cold email tool. Then add the domain in your email provider's admin console before you publish any DNS record.
What's the most common mistake?
The most common mistake is publishing two SPF records, one per tool, instead of combining every sender into a single record. A close second is forgetting a sender like a billing tool, which then fails checks and sends receipts to spam.
Can I set up DKIM with a free Gmail account?
No. A free Gmail account cannot issue a DKIM key for your own domain. Issuing one is a Google Admin console feature available only with Google Workspace, so you need a paid account to sign mail as your domain.
Do I need SPF, DKIM and DMARC for a secondary sending domain?
Yes. Every domain you send from needs all three records. On Google Workspace, each secondary domain also needs its own unique DKIM key, so you cannot reuse the key from your main domain.
How do I check that SPF, DKIM and DMARC are working?
Use a free DNS checker to look up each record and confirm it resolves. DMARCly groups its tools into generators that create records and checkers that look them up. Then send a test email to an inbox you control.
Drafted with an AI writing tool from researched, cited sources, then checked before publishing. Facts checked 2026-11-10.