trustyourinbox

Adding DMARC, SPF, and DKIM records in WordPress.com

If your domain is registered or hosted with WordPress.com, its DNS records live under the domain's settings. This guide covers the path, the fields, the root-domain rule, and the nameserver check to do first.

Verified 2026-11-26 against the official WordPress.com documentation.

Before you start: check your nameservers

WordPress.com says its DNS records only work when your domain's nameservers point to WordPress.com. Look them up:

dig +short NS yourdomain.com

WordPress.com nameservers are ns1.wordpress.com through ns4.wordpress.com. If you see those, follow the steps below. If your nameservers point to another provider, edit your records there instead.

Step 1: Open DNS records

  1. Go to my.wordpress.com/domains and click the domain.
  2. Open Settings, then DNS records.
  3. Click Add record at the top right.

Step 2: Add the TXT record

Under What kind of record?, choose TXT. Put the host in the Name field, paste the value into the Text field, and click Add DNS record. TTL accepts 300 to 86400 seconds and defaults to 3600; the default is fine.

For the root domain, type @ or leave Name empty. Both do the same thing.

DMARC

Type: TXT
Name: _dmarc
Text: v=DMARC1; p=none; rua=mailto:you@yourdomain.com

Start at p=none, then move past p=none once your reports are clean.

SPF

Type: TXT
Name: @
Text: v=spf1 include:_spf.yourprovider.com ~all

Keep a single v=spf1 record. If DNS records already lists one, edit it to add your sender instead of adding a second record.

DKIM

Type: TXT
Name: selector._domainkey
Text: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG... (your full public key)

Paste the whole key as one value. The Text field takes up to 2048 characters.

MTA-STS pointer

Type: TXT
Name: _mta-sts
Text: v=STSv1; id=20261126000000

Pointer only. The policy file is served over HTTPS at mta-sts.yourdomain.com; you publish that file yourself, and the MTA-STS tab in trustyourinbox shows the exact file. TLS-RPT (_smtp._tls) is the same shape.

WordPress.com quirks that bite

  • The domain is added for you. If you type the full name, such as _dmarc.yourdomain.com, WordPress.com removes your domain from the end. So type only _dmarc.
  • Quotation marks make no difference. You can paste a value with or without surrounding quotes.
  • Only on WordPress.com nameservers. If the domain uses another provider's nameservers, records added here are not the ones the internet reads.
  • Allow time. WordPress.com says changes can take up to 72 hours to spread.

Step 3: Verify it published

dig +short TXT _dmarc.yourdomain.com
dig +short TXT yourdomain.com | grep spf1
dig +short TXT selector._domainkey.yourdomain.com

Or paste the hostname into dns.google with type TXT. The record is live the moment the lookup returns it.

trustyourinbox picks it up by itself

If you copied the record from a trustyourinbox page, leave that page open. It watches public DNS and updates itself once the record is live. Otherwise, each protocol tab (DMARC, SPF, DKIM, MTA-STS) has a Scan now button. Click it once the lookup returns your record.

Fix DNS issues with one click. See the exact change before it goes live.

Click the fix. We email you the exact record, wait five minutes, write it to Cloudflare or AWS Route 53, and read it back from public DNS. On any other DNS host, you get the record and a link to the right page. Included on every plan.

Was this page helpful?

Keep reading.

Start with one domain. See it with your own data.

Free for one domain, no card. Add one DNS record and the first reports usually arrive within a day.

  1. Monitoring
  2. Quarantine
  3. Reject