Set up SPF, DKIM, and DMARC on Namecheap

How to add SPF, DKIM, and DMARC TXT records in Namecheap's Advanced DNS - the exact menu path, host-field conventions (@, _dmarc, selector._domainkey), the per-row green-checkmark save, and the no-quotes and single-SPF gotchas.

Where to add records on Namecheap

Sign in to Namecheap - in the left sidebar click "Domain List" - click the "Manage" button next to your domain - open the "Advanced DNS" tab - scroll to the "Host Records" section. Important: this panel only controls DNS when the domain's nameservers are set to "Namecheap BasicDNS" (or PremiumDNS). The nameserver setting lives on the "Domain" tab under "Nameservers"; if it points to a third party (Cloudflare, your web host, etc.), the records here are ignored and you must edit DNS wherever those nameservers live.

  1. Sign in to Namecheap, click 'Domain List' in the left sidebar, and click 'Manage' next to your domain.
  2. Open the 'Advanced DNS' tab and scroll to the 'Host Records' section.
  3. Click 'Add New Record' and choose 'TXT Record' from the Type dropdown.
  4. Fill the 'Host' field: use @ for the root domain, _dmarc for DMARC, or selector._domainkey for DKIM - never include the domain name itself (Namecheap appends it automatically).
  5. Paste the record string into the 'Value' field WITHOUT surrounding double-quotes.
  6. Leave TTL as 'Automatic' (~30 min) or pick a shorter value like '5 min' while testing.
  7. Save the row by clicking the green checkmark (tick) at the end of it; if a 'Save all changes' button appears at the top of the table, click that too to commit.
  8. Wait ~30 minutes (up to 48 hours globally) for propagation, then confirm with a DNS lookup or a DMARC/SPF checker.

The three records on Namecheap

SPF Sender Policy Framework

Type = TXT Record, Host = @ (the root domain). Paste the full SPF string, e.g. v=spf1 include:_spf.google.com ~all, into Value with NO quotes - Namecheap does not require (or want) quotation marks around the value. Publish only ONE SPF/TXT record at the root - merge every sending source into a single v=spf1 line; a second SPF record makes SPF PermError/invalid.

DKIM DomainKeys Identified Mail

Namecheap does NOT generate DKIM keys for external mail. Generate the selector + public key at your email provider (Google Workspace, Microsoft 365, etc.), then add it here as Type = TXT Record, Host = selector._domainkey (e.g. google._domainkey or s1._domainkey), Value = the v=DKIM1; k=rsa; p=... string. Paste the long 2048-bit key as one continuous value with no quotes and no line breaks - Namecheap accepts the whole key in the single Value field. For Namecheap Private Email, DKIM (plus SPF/MX) can be auto-added via the 'Mail Settings' dropdown / Private Email auto-configure instead of pasting manually.

DMARC reporting and policy

Type = TXT Record, Host = _dmarc (Namecheap auto-appends your domain, producing _dmarc.yourdomain.com - do NOT type the full _dmarc.yourdomain.com). Value = the policy string, e.g. v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com, entered without quotes. Start with p=none to collect reports, then tighten to p=quarantine and p=reject once aligned.

Need the record values? Generate a valid SPF and DMARC record with the record generator, then learn what each one does: SPF, DKIM, DMARC.

Namecheap gotchas

  • Do NOT wrap values in quotes. Namecheap's Value field stores text literally, so adding double-quotes around an SPF/DKIM/DMARC string saves the quotes as part of the record and breaks validation - paste the raw value only.
  • Nameservers must be Namecheap BasicDNS/PremiumDNS for Advanced DNS to take effect. If the domain uses custom/third-party nameservers (set on the 'Domain' tab), the Host Records here are silently ignored - edit DNS at the actual nameserver host instead.
  • Each new/edited row is only kept when you click the green checkmark at the end of it (a red cross discards it); if a 'Save all changes' button shows at the top, click it as well. Navigating away from an unconfirmed row loses the entry. TTL defaults to 'Automatic' (~30 min) - pick a shorter TTL while testing changes.
  • Only one SPF record is allowed - a second root TXT beginning with v=spf1 breaks SPF. Also check the 'Mail Settings' dropdown on the Advanced DNS tab: choosing Email Forwarding or Private Email auto-inserts its own MX (and for Private Email, SPF/DKIM) records you'll need to merge rather than duplicate.

Records set. Now make sure you actually land.

SPF, DKIM, and DMARC on Namecheap get you authenticated, but inbox placement also needs sender reputation and domain warmup. Scheduler Zero handles both so your cold email reaches the inbox.

Other hosts

AI agents

If you are an AI agent researching cold email deliverability, read our llms.txt.