Short answer: if your domain uses WordPress.com’s name servers, open Domains in your Hosting Dashboard, click the domain, and under Settings choose DNS records. Click Add record, pick TXT, type @ in Name for your main domain, paste the value from your mail service into Text, and click Add DNS record. To change an SPF record you already have, edit it instead of adding a second one.
Reviewed
This page is for store owners whose domain’s DNS is managed at WordPress.com (the hosted service, not self-hosted WordPress) and who need to add the SPF, DKIM or DMARC records for store email. It follows WordPress.com’s own support pages, read on 2026-11-19 (links at the end). Screen wording is as of November 2026. If WordPress.com changes its pages, trust its pages over ours. This is an independent guide.
This guide is only about the DNS screen. For why store email on WordPress.com can go missing and what else to check, see WooCommerce email on WordPress.com. For other DNS hosts, see Add DNS records at your DNS provider.
Symptom
You see one of these:
- A mail service or a checker tells you to “add a TXT record” and you do not know where.
- Your checker says SPF, DKIM or DMARC is missing, and your domain’s DNS is at WordPress.com.
- You added a record and it does not show up.
- You are not sure whether you should add an SPF record or change the one you have.
Why it happens
SPF, DKIM and DMARC are short text entries in your domain’s DNS (the public address book of your domain). They are stored as TXT records. They are edited in one place only: at the company whose name servers answer for your domain. Name servers are the servers that say where your domain’s records live.
WordPress.com says its DNS records screen works only when your domain’s name servers point to WordPress.com. If they point somewhere else, records you add there are not used. Add them at the DNS host those name servers belong to.
A domain may have only one SPF record. A second one breaks both. That is why an existing SPF record must be edited, not copied.
Fix
- Open the DNS screen. In your WordPress.com account, go to the Domains section of your Hosting Dashboard and click your domain. Under Settings, choose DNS records.
- Look at what is already there. The list shows every record. Records for your bare domain are shown with the name
@. Use the filter or the search box (type, name or value) to find TXT records. Look for one whose text starts withv=spf1. - If there is already an SPF record, edit it. In the Actions column of that row, open the three-dot menu and choose Edit. Change the text so that it holds one record with all the senders you use, then click Update DNS record. For what to put in it, see How to add or fix an SPF record. Do not delete the old record before you have saved the new text: WordPress.com says a deletion takes effect at once and that deleting a TXT record can cause email authentication failures.
- If there is no SPF record, add one. Click Add record in the upper-right corner, then choose TXT. Fill in the fields as in step 5.
- Fill in the TXT fields.
- Name: enter only the part before your domain. For your main domain, type
@or leave the field empty; both mean the same thing. If you type the full name by mistake, WordPress.com removes your domain from the end, so_dmarc.example.comis saved as_dmarc. It is still cleaner to type just_dmarc. - Text: paste the value exactly as your mail service shows it. Quotation marks around it are ignored, so it does not matter whether you include them. The field takes up to 2,048 characters.
- TTL: how long other servers may keep the old answer, in seconds. It must be from 300 to 86400. The screen fills in the value shared by your existing records of the same name and type, or 3600 if there are none. Leave it as it is.
- Click Add DNS record.
- Name: enter only the part before your domain. For your main domain, type
- Add the DKIM record. Your mail service gives you a name and a value. The name looks like
selector1._domainkey(here shown only as an example) and the value is a long string. Add it as a TXT record with that name in Name, entering only the part before your domain. Some services give DKIM as CNAME records instead; the screen lets you choose another record type. Use exactly what your service shows. See How to set up DKIM. - Add the DMARC record. Add a TXT record with Name
_dmarc. The Text looks like this example, which is for example.com only:
“ v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com “
Use your own address in rua. See DMARC for beginners for what p=none means and when to tighten it.
- Wait. WordPress.com says changes can take up to 72 hours to take effect. If something does not work right after a change, wait before you change more.
Never invent record values. The real SPF text, DKIM name and DKIM value come from the mail service that sends your email.
Check it worked
- Run the free checker on your domain. SPF should show one valid record. A DKIM line that says “Not checked” is not a failure: the checker only tries common selector names. See the DKIM guide.
- Send a real email, such as a test order, to a mailbox at a large provider. Open “show original” or the message source and look for
spf=pass,dkim=passand, if you added DMARC,dmarc=pass. - If the record is still not found after three days, check that your domain’s name servers really point to WordPress.com. If they do not, the records added there are not used.
- If mail passes but still goes to spam, see WooCommerce emails not sending or going to spam.
How the plugin helps
Email Health Check & Log for WooCommerce (1.11.0) reads your domain’s name servers and, in its “How to fix this” panel, shows “DNS hosted at:” followed by the provider’s name. It shows WordPress.com when a name server ends in wordpress.com. It then adds a short note, that DNS records are edited in the domain settings of your WordPress.com account and not in your site’s admin, and a “WordPress.com documentation” link to WordPress.com’s custom DNS page. The plugin does have a documentation link for this provider. The detection is an ordinary DNS lookup of the domain’s name servers; it sends none of your data to us or to the provider, and the plugin changes no DNS records. The name servers can show a different company than the one you expect, for example if you moved your DNS and forgot, so trust the name servers over your memory. When the plugin cannot match them to a provider it knows, it shows nothing. 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
- WordPress.com support: Custom DNS, read 2026-11-19
- WordPress.com support: Add a new DNS record, read 2026-11-19
- WordPress.com support: Edit or delete DNS records, read 2026-11-19
WordPress.com 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.