Add DNS records at Namecheap

Short answer: At Namecheap you add SPF, DKIM and DMARC as TXT records. Sign in, open Domain List, click Manage next to your domain, then open the Advanced DNS tab and click Add new record. Use @ in the Host field for the root domain, and only the part before your domain for anything else, such as _dmarc. This works only if the domain uses Namecheap’s own DNS. Edit your existing SPF record instead of adding a second one.

Reviewed

This page is for store owners whose domain is registered or managed at Namecheap and who were told to “add a TXT record” for email. It follows Namecheap’s own help pages, read on 2026-11-19 (links at the end). Screen names are as of November 2026. If Namecheap changes its screens, trust its pages over ours. This is an independent guide.

Symptom

You see one of these:

  • A mail service, or the plugin’s health report, tells you to add an SPF, DKIM or DMARC record, and you do not know where.
  • You opened Namecheap and cannot find a place to add records.
  • You added a record, but a checker still says it is missing or wrong.
  • A checker says you have two SPF records.

Why it happens

Records live where your name servers point. Name servers are the computers that answer questions about your domain. Records are edited at the company that runs them, which is not always the company you bought the domain from. Namecheap says the Advanced DNS tab is available only when the domain uses Namecheap BasicDNS, PremiumDNS or FreeDNS. If you do not see it, the domain uses another company’s name servers, or Namecheap’s hosting name servers.

Namecheap’s Host field is short on purpose. Namecheap says to enter only the part in front of your domain, never the domain itself, even when your mail service shows the full name. Typing the full name is the most common slip; it can end up as _dmarc.example.com.example.com.

One SPF record only. SPF is a TXT record that lists who may send mail for your domain. A domain should have just one. If a second one is added, checkers report an error. You change the existing record instead.

Fix

Real record values come from your mail service. The values below use example.com and are only for shape.

  1. Check that your domain uses Namecheap’s DNS. Sign in, choose Domain List, click Manage next to the domain and look at the Nameservers drop-down. Namecheap lists these options: Namecheap BasicDNS, Namecheap Web Hosting DNS, CustomDNS and Namecheap PremiumDNS. The BasicDNS name servers are dns1.registrar-servers.com and dns2.registrar-servers.com.
    • BasicDNS or PremiumDNS: continue with step 2.
    • Namecheap Web Hosting DNS: Namecheap says to add the records in cPanel instead. Do not switch the option just to get Advanced DNS; Namecheap warns that switching to Web Hosting DNS overwrites your custom records.
    • CustomDNS: your records are at the company whose name servers are listed. Add them there, or use the hub page to find that company.
  2. Open the DNS screen. On the domain’s page, open the Advanced DNS tab. Records are in the Host Records section.
  3. Start a new record. Click Add new record and set Type to TXT Record. Namecheap says SPF, DKIM and DMARC are all added as TXT records.
  4. Fill in Host and Value.
    • Host: @ for the root domain (example.com). For a record on a name in front of the domain, type only that part. Examples: _dmarc for DMARC, or a DKIM host such as selector1._domainkey (your service gives the real selector).
    • Value: paste the text from your mail service exactly. Namecheap’s pages do not say whether to type quotation marks. Paste the value as your service shows it, and if the check later fails, compare it character by character.
    • TTL: Namecheap’s default is 30 minutes; its DMARC page says to set Automatic. Either is fine. TTL is how long other servers may keep the old answer.
  5. Save. Click Save all changes or the green checkmark, whichever your screen shows for the row. Namecheap says new host records normally take about 30 minutes, and its DMARC page says up to 60 minutes.

Edit the SPF record you already have

  1. In Host Records, look for a TXT record with Host @ whose value starts with v=spf1.
  2. If there is one, change that record. Do not add another. Add your mail service’s include: part before the final ~all or -all. For example, v=spf1 include:_spf.example.net ~all becomes v=spf1 include:_spf.example.net include:_spf.example.org ~all. Both include: values here are made up; use the one your service gives you.
  3. Save. Our SPF guide explains the parts and the 10-lookup limit.

Namecheap’s pages we read do not describe the edit and delete buttons for an existing row. Look at the row; if you cannot find a way to change it, ask Namecheap support.

Add the DKIM record

Your mail service shows a host and a value. If it shows a name like selector1._domainkey.example.com, enter only selector1._domainkey as the Host. Namecheap’s page says the same: for 3434._domainkey you enter 3434._domainkey, never the domain after it. Some services give DKIM as a CNAME record instead of TXT; then choose the type your service shows. See How to set up DKIM.

Add the DMARC record

DMARC tells mailbox providers what to do with mail that fails the checks. Add it when SPF and DKIM pass. Type TXT Record, Host _dmarc, and a value like this:

“ v=DMARC1; p=none; rua=mailto:dmarc@example.com “

Replace the address with a mailbox you can read. Namecheap says only one DMARC record is allowed per domain: if one exists, edit it. See DMARC for beginners.

Check it worked

  1. Wait at least an hour. Name server changes can take up to 24 hours, according to Namecheap.
  2. Run the free checker on your domain. SPF should show one valid record. The DKIM line may say “Not checked” because the checker only tries common selector names; see the DKIM guide.
  3. Send a real order email to a large mailbox provider. Open “show original” and look for spf=pass and dkim=pass, and dmarc=pass if you added DMARC.
  4. Still failing? Check for a doubled domain in Host, a second SPF record, or a pasted value with a space or line break. Then see WooCommerce emails not sending or going to spam.

How the plugin helps

In its “How to fix this” panel, Email Health Check & Log for WooCommerce reads the name servers of the domain your mail is sent from and shows a “DNS hosted at:” line with the provider’s name. For Namecheap it matches name servers that end in registrar-servers.com, then shows a short note (edit your records in your Namecheap account under Advanced DNS, not in WordPress) and a “Namecheap documentation” link; the plugin has a documentation link for Namecheap. Name servers can show a different company than the one you assume, for example when the domain is registered at Namecheap but uses other name servers. If the plugin cannot match them, it shows no DNS line at all. For a subdomain it looks at the parent domain, and for a free mailbox domain such as gmail.com it does not look anything up. The detection sends none of your data to us or to Namecheap: it is an ordinary DNS lookup of the domain’s name servers made by your server. The plugin changes no DNS records. The line appears in a check’s “How to fix this” panel, and it reads “Hosting and DNS:” instead when your web host is detected with high confidence as the same company as your DNS. Get the plugin on WordPress.org.

Sources

Namecheap and other product names belong to their owners. They are used here only to say what a company’s documentation says. This page is not affiliated with or endorsed by any of them.

Check your own domain

Type your domain into the free checker to see whether your SPF, DKIM and DMARC records are in place. Or install the free plugin, which checks the basics from inside your dashboard.