SPF, DKIM and DMARC

The three DNS records that prove your emails are really from you, and how to get them passing.

SPF, DKIM and DMARC are three DNS records that prove an email really comes from your domain. Gmail, Outlook and Yahoo expect all three from anyone sending in volume; without them, cold email goes to spam or is rejected. You add them once per sending domain, at the company where you manage your DNS (GoDaddy, Namecheap, Cloudflare, Hostinger and so on).

Sending from @gmail.com or @outlook.com?

Skip this guide. Google and Microsoft handle these records for their own addresses.

SPF: who may send for your domain

One TXT record on the domain itself (host @) that lists your mail provider.

Your mail providerTXT record on @
Google Workspacev=spf1 include:_spf.google.com ~all
Microsoft 365v=spf1 include:spf.protection.outlook.com -all
Zoho Mailv=spf1 include:zohomail.com ~all (India: include:zohomail.in)
Other providersCopy the value from your provider’s setup page

Only one SPF record per domain

Two records starting with v=spf1 break SPF completely. If one already exists, add the new include: to it instead, e.g. v=spf1 include:_spf.google.com include:zohomail.com ~all.

DKIM: a signature on every email

Your mail provider creates a key; you publish it in DNS. You cannot make the value up, so generate it in your provider’s admin console:

  • Google Workspace: Admin console → Apps → Google Workspace → Gmail → Authenticate email. Generate the record (selector google), add it as a TXT record, then click Start authentication.
  • Microsoft 365: Microsoft Defender portal → Email & collaboration → Policies & rules → Threat policies → Email authentication settings → DKIM. Add the two CNAME records it shows (selector1 and selector2), then enable signing.
  • Zoho Mail: Admin console → Domains → your domain → Email configuration → DKIM. Add a selector, publish the TXT record, then verify.

So Go4Lead can find your DKIM key

Go4Lead looks for DKIM under these common selector names: google, selector1, selector2, k1, default, mail, s1 and s2. If your provider lets you choose the name (Zoho does), pick one of them. With any other name your DKIM still works, but the Domains page cannot confirm it.

DMARC: what to do with fakes

One TXT record on the host _dmarc. Add it once SPF and DKIM pass. Replace the address with a mailbox you read:

TXT record on _dmarc

v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com; adkim=r; aspf=r
  • p=quarantine asks receivers to send fakes to spam. Move to p=reject later if you like.
  • p=none only watches. Mailbox providers accept it, but Go4Lead flags it on the Domains page because it does not protect your domain.
  • rua= is where receivers send daily reports. Optional, but useful.

Check it in Go4Lead

  1. Open Domains and add your sending domain

    Go to Domains and add the part after the @ in your sending address, e.g. getacme.com.

  2. Read the checks

    Each record shows as passing, missing or invalid, along with blacklist status and an overall health score.

  3. Use Set up mail for exact records

    For Google Workspace and Microsoft 365, it lists every record to add, ready to copy.

  4. Check again after a few minutes

    DNS changes usually show within minutes, sometimes a few hours.

One more tip: use a separate domain for cold email

Send outreach from a lookalike domain (for example getacme.com or tryacme.com instead of acme.com) and point its website to your main one. If outreach ever hurts its reputation, your company’s everyday email is unaffected.

Still stuck?

Click Feedback at the top of any page in the app, choose Question, and tell us what you tried. We reply by email.