# SPF, DKIM and DMARC at Namecheap: exact records

Add SPF, DKIM and DMARC records in Namecheap Advanced DNS: the values for Private Email and the Host field rules that trip people up.

Canonical URL: https://dmarcdone.com/guides/namecheap | Published: 2026-10-05

This guide covers domains managed in Namecheap's **Advanced DNS** panel, whether your email is Namecheap Private Email or another provider such as Microsoft 365 or Google Workspace.

Advanced DNS only controls your domain while the domain uses Namecheap's own name servers (BasicDNS or PremiumDNS). If you pointed the domain at custom name servers, Cloudflare for example, nothing you type in Advanced DNS takes effect. Add the records there instead.

## How Namecheap wants records entered

The path from Namecheap's knowledge base:

1. Sign in and open **Domain List**.
2. Click **Manage** next to your domain.
3. Open the **Advanced DNS** tab.
4. Click **Add new record** and choose **TXT Record** (or **CNAME Record** for CNAME-based DKIM).
5. Fill in **Host** and **Value**, then save with the check mark.

**Host field:** Namecheap's rule is that "The domain name itself should not be included in the Host field". Use `@` for the domain itself:

| Record | Type | What you type in Host | What it becomes |
|---|---|---|---|
| SPF | TXT | `@` | `example.com` |
| DMARC | TXT | `_dmarc` | `_dmarc.example.com` |
| DKIM (Private Email) | TXT | `privateemail._domainkey` (example) | `privateemail._domainkey.example.com` |

Namecheap says changes "Normally" take about 30 minutes to show up.

## If you use Namecheap Private Email

### SPF

Namecheap's Private Email setup article gives this record:

```text
Type:  TXT
Host:  @
Value: v=spf1 include:spf.privateemail.com ~all
```

For domains on BasicDNS, choosing **Private Email** in the domain's **Mail Settings** sets up the mail records automatically. Check the Advanced DNS list before adding anything by hand, because a domain may have only one SPF record.

### DKIM

Namecheap's DKIM article for Private Email describes these steps:

1. Create at least one mailbox first. Namecheap notes that "The DKIM can only be generated after a mailbox has been created."
2. In your Namecheap account, open your Private Email subscription with **Manage** and find the DKIM section.
3. Click **Generate**. Namecheap says it can take about 60 minutes.
4. Copy the host and value shown and make sure they appear as a TXT record in Advanced DNS.

The host name shown is typically `privateemail._domainkey`. Namecheap says older subscriptions use `default._domainkey`. Copy whatever your dashboard shows.

Namecheap's article contains two notes that disagree on whether BasicDNS adds the DKIM record automatically. Do not rely on it: after generating the key, check Advanced DNS and add the TXT record yourself if it is not there.

### DMARC

Namecheap's Private Email article suggests a starter DMARC record with `p=none` and reports sent to `postmaster@`. Our starter record does the same with a dedicated reporting address and failure reporting options:

```text
Type:  TXT
Host:  _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com; fo=1
```

Replace `example.com` with your domain, then create the `dmarc-reports@` mailbox or alias, or use `postmaster@` if that already exists.

## If your email is somewhere else

Use your provider's values and enter them in Advanced DNS as shown above:

- [Microsoft 365](https://dmarcdone.com/guides/microsoft-365): `v=spf1 include:spf.protection.outlook.com -all`, plus two DKIM CNAMEs (Host `selector1._domainkey` and `selector2._domainkey`) copied from the Microsoft Defender portal.
- [Google Workspace](https://dmarcdone.com/guides/google-workspace): `v=spf1 include:_spf.google.com ~all`, plus a DKIM TXT record with Host `google._domainkey`.
- [Zoho Mail](https://dmarcdone.com/guides/zoho-mail): the Zoho include from your Admin Console, plus a DKIM TXT record for your selector.

Add the same DMARC starter record.

If you moved from Private Email to another provider, remove the `spf.privateemail.com` include and the old Private Email DKIM record once nothing sends through Private Email any more.

> **Plain-English takeaway:** Advanced DNS only counts while the domain uses Namecheap's name servers, and its Host field wants the prefix alone (`@`, `_dmarc`, `privateemail._domainkey`). With Private Email, generating DKIM and seeing its TXT record in Advanced DNS are two different things; check for the record.

## Common mistakes at Namecheap

- **The domain in the Host field.** `_dmarc.example.com` in Host becomes `_dmarc.example.com.example.com`.
- **Editing Advanced DNS on a domain that uses custom name servers.** Those records are not used. Edit them where the name servers point.
- **Two SPF records.** Automatic Private Email setup plus a hand-added record. Merge into one.
- **DKIM generated but not published.** Check that the TXT record exists in Advanced DNS.
- **Namecheap's own DMARC example copied as-is.** The general TXT article uses `p=reject` and `pct=100` as its example. Start at `p=none` and work up to it.

## Check your setup

Run a [free email DNS check](https://dmarcdone.com/#check) on your domain once the records have had time to show. It tells you whether the DNS is at Namecheap, which mail provider you use, and whether SPF, DKIM and DMARC are in place.

## When to move to quarantine and reject

The starter record above is at `p=none`, the state scanners list under [DMARC policy not enabled warnings](https://dmarcdone.com/blog/dmarc-policy-not-enabled). Once the reports show all your legitimate mail passing, move to `p=quarantine`, then to `p=reject`. Our post on [the quarantine and reject rollout](https://dmarcdone.com/blog/dmarc-quarantine-vs-reject) explains the safe order.

You can also [hand the move to p=reject to us](https://dmarcdone.com/pricing). If the domain is not at `p=reject` within 60 days, you get a full refund under our [refund conditions](https://dmarcdone.com/legal/refunds).

## Sources

- Namecheap Knowledgebase, How do I add TXT/SPF/DKIM/DMARC records for my domain?: https://www.namecheap.com/support/knowledgebase/article.aspx/317/2237/how-do-i-add-txtspfdkimdmarc-records-for-my-domain/
- Namecheap Knowledgebase, How to set up Namecheap Private Email DNS records for domains on Namecheap Basic/Premium nameservers: https://www.namecheap.com/support/knowledgebase/article.aspx/1338/2176/how-to-set-up-namecheap-private-email-dns-records-for-domains-on-namecheap-basicpremium-nameservers/
- Namecheap Knowledgebase, How to set up a DKIM record for Private Email: https://www.namecheap.com/support/knowledgebase/article.aspx/10383/2176/how-to-set-up-a-dkim-record-for-private-email/
