DNS & authentication

DNS Setup for Cold Email: MX, SPF, DKIM & DMARC (Step by Step)

Set up MX, SPF, DKIM and DMARC for Google Workspace and Microsoft 365 cold email domains yourself, in Cloudflare or your registrar's DNS management.

12 min readUpdated November 2026

Frequently asked questions

How long do DNS changes take to work?

Most changes in Cloudflare apply within a few minutes. Changes at some registrars can take up to 24–48 hours to propagate worldwide, especially nameserver changes. Re-check with a DNS checker before you start warmup.

Can I have two SPF records on one domain?

No. A domain must have exactly one SPF (v=spf1) TXT record. Two SPF records make SPF fail for every email. If you use more than one sending service, merge them into a single record with multiple include: entries.

Should I use ~all or -all in my SPF record?

~all (soft fail) is the safe default for cold email domains. -all (hard fail) is stricter and fine once you are sure every legitimate sender is listed. Never use +all, which lets anyone send as your domain.

What DMARC policy should a new cold email domain use?

Start with p=none and a rua address so you receive reports. After two to four weeks of clean reports, move to p=quarantine. Going straight to p=reject on day one can block your own emails if something is misconfigured.

Do I need a custom tracking domain?

Only if you track opens or clicks. Shared tracking domains are used by thousands of senders and can hurt deliverability, so if you track, set up a custom tracking CNAME on each sending domain. Many cold emailers turn open tracking off entirely.

Do I need to add my sequencer to SPF?

Usually not. Instantly, Smartlead, Plusvibe and similar tools send through your Google Workspace or Microsoft 365 account, so the Google or Microsoft SPF include already covers them. Only add an include if a tool sends from its own servers.

Check your setup for free

Run these free tools against your domain to confirm everything in this guide is working.