Email

Set up SPF, DKIM and DMARC at Namecheap (Private Email)

In short. At Namecheap with Private Email, SPF and DMARC are TXT records in the Advanced DNS tab, and the DKIM key is generated in Private Email and then published as a TXT record. On Namecheap's basic DNS, SPF is sometimes added automatically: check before creating a second one. Set SPF and DKIM first, then DMARC.

SPF lists the servers allowed to send for your domain, DKIM signs every message, and DMARC tells recipients what to do with messages that fail both. This page assumes Namecheap's Private Email; if your mail is elsewhere, ask that provider for its SPF and DKIM values.

Last verified: November 27, 2026, against Namecheap's official documentation, Google's DMARC rollout guide and RFC 7208.

SPF and DMARC in short

  • SPF: a single TXT record for the whole domain, v=spf1 include:spf.privateemail.com ~all. With Private Email selected in Advanced DNS, Namecheap sometimes adds it for you: check before creating a second one.
  • DKIM: specific to this page, see the next section.
  • DMARC: a _dmarc TXT record in Advanced DNS > Host Records, for example v=DMARC1; p=none; rua=mailto:[email protected]. Start with p=none, read the reports, then move to quarantine and then reject.

The full step-by-step guides: SPF at Namecheap and DMARC at Namecheap.

DKIM

Open Private Email, click Manage next to your domain, then Generate under DKIM. The record values are displayed (Show DKIM lets you view them again). Publish a TXT record with:

  • Host: privateemail._domainkey;
  • Value: the string beginning v=DKIM1;k=rsa;p=..., without brackets or quotes.

For Private Email subscriptions purchased before June 2, 2026, the DKIM hostname is default._domainkey. For a domain on BasicDNS, Namecheap says the TXT record is configured automatically. With web hosting DNS, add it in cPanel; with PremiumDNS, in your Namecheap account; with third-party DNS, at that provider. Do not split the value between the v=DKIM1; k=rsa; prefix and the rest. Namecheap says changes normally take about 60 minutes to take effect.

Check that it works

Wait until the change is visible (from a few minutes to a few hours, up to 48 hours depending on the provider), then:

nslookup -type=TXT your-domain.com
nslookup -type=TXT _dmarc.your-domain.com

You should see one line starting with v=spf1 and one line starting with v=DMARC1. Our free tools read both as well as the DKIM key. For a full test, send an email to a Gmail address, open it, choose Show original: SPF, DKIM and DMARC should show PASS.

Free tool. DMARC checker · SPF checker · DKIM checker

Check your domain for free. AttackScout reads your public SPF, DKIM and DMARC records and tells you what to change. Run the free check

Frequently asked questions

Do I have to create the SPF record myself at Namecheap?

Not always: with BasicDNS, FreeDNS or PremiumDNS and Private Email chosen in Advanced DNS, Namecheap sets it automatically. Check before creating one, so you do not end up with two.

Do I need all three?

DMARC only passes if SPF or DKIM passes with your own domain: set SPF and DKIM first, then DMARC.

Should I start with p=reject?

No. Start with p=none, read the reports, then tighten.

Sources

Accessed on 11/27/2026.

Get the free alerts