Skip to content
Free planPink Post has a Free plan that stays free forever. No card needed.See plans: Free $0, Starter $39, Growth $99, Agency $249
Pink Post

Guide · 12 min read · Updated November 2026

SPF, DKIM and DMARC setup for cold email: Google Workspace, Microsoft 365 and more

By , EditorPublished Last updated

Short answer: A cold email domain needs three DNS records: one SPF TXT record listing every service allowed to send for the domain, a DKIM record (TXT or CNAME) from each sending service, and a DMARC TXT record at _dmarc that starts with v=DMARC1. Start DMARC with p=none and tighten it once reports look clean.

Steps

  1. List your senders. Write down every service that sends mail for the domain: your mailbox provider, any sending service, and other tools.
  2. Create one SPF record. Add a single TXT record on the root starting with v=spf1 that includes each sender, ending with ~all or -all.
  3. Add DKIM for each sender. Copy the DKIM TXT or CNAME records each provider shows you, using their selector names.
  4. Add DMARC. Add a TXT record at _dmarc with v=DMARC1; p=none; and an address for reports.
  5. Verify. Run the DNS check in Pink Post Settings and send a test email to confirm SPF, DKIM and DMARC pass.

SPF

SPF (Sender Policy Framework) lists the servers allowed to send for your domain. You must have exactly one SPF record. A typical shape, with placeholders:

v=spf1 include:<your-mail-provider> include:<any-other-sending-service> ~all

DKIM

DKIM signs each email with a key published in DNS under a selector, such as <selector>._domainkey.yourdomain.com. Every sending service has its own selector; Google Workspace defaults to google. Enter your selector in Pink Post's DNS checker to verify it.

DMARC

DMARC tells receivers what to do when SPF or DKIM fail and where to send reports.

Name:  _dmarc
Type:  TXT
Value: v=DMARC1; p=none; rua=mailto:<reports@yourdomain.com>

After a few weeks of clean reports, move to p=quarantine.

Also check

  • MX records, so replies reach you.
  • A custom tracking domain only if you turn on open or click tracking (off by default in Pink Post).

SPF, DKIM and DMARC for Google Workspace

If you send from Google Workspace and nothing else, these are the three records you need. Your DNS host (Cloudflare, GoDaddy, Namecheap and so on) is where you add them, not Google.

Google Workspace SPF record

Name:  @  (the root of your domain)
Type:  TXT
Value: v=spf1 include:_spf.google.com ~all

If another service also sends for the domain, add its include to the same record, like this: v=spf1 include:_spf.google.com include:<other-service> ~all. Never create a second SPF record; two records make SPF fail.

Google Workspace DKIM

In the Google Admin console, go to Apps → Google Workspace → Gmail → Authenticate email and choose the domain. Generate a 2048-bit key with the default selector google. Add the TXT record it shows at google._domainkey and wait for DNS to update. Then click Start authentication. This last step is the one people miss: until you click it, Google doesn't sign your mail.

Set up DMARC for Google Workspace

Name:  _dmarc
Type:  TXT
Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

Start with p=none to collect reports without affecting delivery. Once reports show your mail passing SPF or DKIM in alignment, move to p=quarantine, and later p=reject if you want the strictest protection.

SPF includes by provider

Each provider publishes its own include. Always copy the exact value from your provider's help or admin pages, as they can change.

ProviderSPF includeDKIM
Google Workspaceinclude:_spf.google.comTXT at google._domainkey, from the Admin console
Microsoft 365include:spf.protection.outlook.comTwo CNAME records shown in the Microsoft Defender portal
Zoho MailShown in the Zoho admin console for your data centreTXT record with the selector you choose in Zoho
HostingerShown in hPanel under Emails → DNS settingsTXT record shown in hPanel
Other hostsLook for "SPF" in your email host's DNS helpLook for "DKIM" in the same place

Why cold email needs all three

Since February 2024, Gmail and Yahoo require every sender to authenticate with SPF or DKIM. Senders of 5,000 or more messages a day to Gmail must also have SPF, DKIM and a DMARC record, with the From domain aligned. Microsoft added similar rules for high-volume senders to Outlook.com in 2025. Cold outreach rarely gets near 5,000 a day. But mailbox providers judge unknown senders strictly, so set all three up from day one.

Common DNS mistakes

MistakeWhat happensFix
Two SPF recordsSPF returns an error and failsMerge them into one record
More than 10 DNS lookups in SPFSPF fails with "too many lookups"Remove services you no longer use
Using +allAnyone can send as your domainUse ~all or -all
DKIM record added but not activatedMail goes out unsignedClick Start authentication (Google) or enable signing
DMARC at p=reject on day oneLegitimate mail from a forgotten tool is rejectedStart at p=none and read reports
No MX recordReplies never arriveAdd your provider's MX records

How to verify your records

Use the free SPF checker, DKIM checker and DMARC checker, or the email deliverability test to check all three at once. In Pink Post, the DNS check in Settings runs the same checks for every connected mailbox's domain before you launch a campaign. DNS changes can take from a few minutes to 48 hours to show up everywhere.

Keep exploring: SPF, DKIM and DMARC checker, SPF checker, DKIM checker and DMARC checker.

FAQ

Questions, answered

What is the SPF record for Google Workspace?

A TXT record on your root domain with the value v=spf1 include:_spf.google.com ~all, plus an include for any other service that sends for the domain.

How do I set up DMARC for Google Workspace?

Add a TXT record named _dmarc with v=DMARC1; p=none; rua=mailto: and a reports address. Tighten to p=quarantine once reports look clean.

Can I have two SPF records?

No. Two SPF records make SPF fail. Merge every sender into one record.

Do I need DMARC for cold email?

Yes. Gmail and Yahoo require DMARC for bulk senders. For a new sender at any volume, a DMARC record helps you look legitimate.

How long do DNS changes take?

Usually minutes, but up to 48 hours to reach every resolver.