Send your ICP and offer and get a personalized outreach plan within 24 hours. Get my plan

Home / Blog / Email Deliverability

How to Set Up SPF, DKIM and DMARC for Cold Email Domains

By Abdullah · Published November 22, 2026 · 3 min read

Quick answerSPF, DKIM and DMARC are three DNS records that prove an email really comes from your domain. Setting them up before you send cold email is the first step towards reaching the inbox.

What each record does

  • SPF lists the servers that are allowed to send email for your domain.
  • DKIM adds a digital signature to each message so receivers can check it was not altered.
  • DMARC tells receivers what to do when SPF or DKIM checks fail, and where to send reports.

Before you start

You need access to your DNS settings (at your registrar, Cloudflare or hosting) and to the admin area of your email provider, such as Google Workspace or Microsoft 365. Repeat the steps for every domain you send from.

Step 1: Add the SPF record

Add one TXT record at the root of the domain (host @). Typical examples:

Google Workspace:  v=spf1 include:_spf.google.com ~all
Microsoft 365:     v=spf1 include:spf.protection.outlook.com -all

A domain should have only one SPF record. If you use several senders, combine them into a single record. SPF is also limited to 10 DNS lookups, so avoid adding unnecessary includes.

Step 2: Turn on DKIM

Generate the key inside your email provider, then publish it in DNS.

  • Google Workspace: in the Admin console, open Gmail, then Authenticate email, generate the key and add the TXT record it shows (the host usually starts with google._domainkey). Then click Start authentication.
  • Microsoft 365: in the Microsoft Defender portal, open the email authentication settings for DKIM and add the two CNAME records it gives you (selector1._domainkey and selector2._domainkey), then enable signing.

Menus change over time, so follow your provider's current documentation.

Step 3: Add the DMARC record

Add a TXT record with the host _dmarc:

v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com

Start with p=none to monitor reports without affecting delivery. When you are confident that all legitimate mail passes, you can move to quarantine and later reject.

Step 4: Test the setup

Send a test email to a Gmail address, open the message, choose Show original and look for SPF, DKIM and DMARC showing PASS. DNS changes are often live within minutes but can take longer to spread.

Common mistakes

  • Creating two SPF records instead of one
  • Typing the wrong host name for the DKIM or DMARC record
  • Using a strict SPF policy before adding every sender
  • Forgetting to repeat the setup on each sending domain
  • Assuming authentication alone guarantees inbox placement

Beyond authentication

Correct DNS records are necessary but not sufficient. List quality, warmup, sending volume and message content also affect where emails land. Read why cold emails land in spam for the full picture, or see my email deliverability service if you want this configured for you.

Frequently asked questions

Do I need all three records for cold email?

In practice, yes. Providers expect SPF and DKIM, Google and Yahoo require DMARC for bulk senders, and having all three is good practice for any domain used for cold email.

What DMARC policy should I start with?

Start with p=none and a reporting address. This lets you see who is sending mail as your domain without affecting delivery. Tighten the policy only after legitimate mail passes consistently.

How do I check that my records work?

Send a test message to Gmail and use Show original to confirm SPF, DKIM and DMARC pass. Free DNS lookup tools, such as Google Admin Toolbox, can also confirm the records are published.

Can I use the same SPF record for several domains?

Each domain needs its own SPF record, even if the contents are similar. The same applies to DKIM and DMARC.

Sources and further reading

Written by Abdullah

B2B lead generation specialist working on LinkedIn outreach, cold email, email deliverability and CRM management for agencies, SaaS companies and B2B service businesses. About me · Visit My Upwork Profile · Instagram

Related articles

Chat on WhatsApp