trustyourinbox

Adding DMARC, SPF, and DKIM records in ClouDNS

ClouDNS keeps every record for a domain in one zone under DNS hosting. This guide covers where that zone is, which field takes the value, what ClouDNS does with a long DKIM key, and the nameserver check to do first.

Verified 2026-11-26 against the official ClouDNS documentation.

Before you start: check your nameservers

Records you add in ClouDNS only take effect if your domain uses ClouDNS nameservers. Look them up:

dig +short NS yourdomain.com

ClouDNS nameservers end in cloudns.net (for example dns51.cloudns.net, ns1.cloudns.net, or pns31.cloudns.net), and some end in cloudns.com or cloudns.uk. ClouDNS does not publish one fixed list: the right servers for your zone are the ones shown on your ClouDNS dashboard, and they depend on your plan (the free plan uses unicast servers, premium plans add Anycast). If your nameservers point to another provider, edit your records there instead.

Step 1: Open the zone in DNS hosting

  1. Log in to ClouDNS and go to the Dashboard (cloudns.net/dashboard).
  2. Open DNS hosting. The table lists every zone in your account.
  3. Click the zone for your domain.
  4. Click Add new record.

Step 2: Add the TXT record

Set Type to TXT. Put the host in the Host field and paste the value into the field labeled Points to. For a record on the root domain, leave Host empty, as ClouDNS's own TXT example does. For TTL, ClouDNS's example uses 1 Hour.

DMARC

Type: TXT
Host: _dmarc
Points to: v=DMARC1; p=none; rua=mailto:you@yourdomain.com
TTL: 1 Hour

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

SPF

Type: TXT
Host: (leave empty for the root domain)
Points to: v=spf1 include:_spf.yourprovider.com ~all
TTL: 1 Hour

Keep a single v=spf1 record. If the zone already has one, edit it to add your sender instead of adding a second record.

DKIM

Type: TXT
Host: selector._domainkey
Points to: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG... (your full public key)
TTL: 1 Hour

Paste the whole key into Points to as one value, even when it is long. A single TXT string is limited to 255 characters, so a 2048-bit DKIM key cannot be entered as one string. ClouDNS handles that for you: a value over the limit is broken into multiple strings inside the same record. Do not split the key yourself, and do not create a second record for the rest of it.

When you look the record up later, dig prints the key as several quoted pieces in one answer. That is normal. Mail servers join the pieces back together before they check a signature.

MTA-STS pointer

Type: TXT
Host: _mta-sts
Points to: v=STSv1; id=20261126000000
TTL: 1 Hour

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.

ClouDNS quirks that bite

  • The value goes in Points to. ClouDNS labels the value field Points to, and the name field Host. Paste the record text into Points to.
  • Long keys look split. A DKIM key over 255 characters is stored as several strings in one record. That is how DNS carries long text, not a broken record.
  • Use the nameservers on your dashboard. ClouDNS tells you to use the servers shown on your dashboard. If your domain lists other nameservers, your ClouDNS zone is not the one the internet reads.
  • Allow time. ClouDNS says to allow up to 24 hours for a change 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