Configuration7 min read · Updated Jun 2026

Configuring ClearSPF

ClearSPF replaces your SPF record with a single managed TXT record. It keeps the record under the 10-lookup limit and tells you in the app if it ever goes over the limit.

How ClearSPF works

Instead of you maintaining a flat SPF TXT record that lists every sending IP, ClearSPF publishes a dynamically resolved record on your behalf. You publish one TXT record that includes your ClearSPF host. From that point on, adding or removing senders requires no DNS changes on your end.

Your DNS before ClearSPF
yourdomain.com TXT "v=spf1 include:_spf.google.com include:sendgrid.net include:spf.protection.outlook.com include:servers.mcsv.net include:mktomail.com ~all"
Your DNS after ClearSPF
yourdomain.com TXT "v=spf1 include:<your ClearSPF host> ~all"

Step 1: Connect your domain

In the ClearDMARC dashboard, go to Managed services → ClearSPF and click Add domain. Enter your root domain (for example xmpl.example) and confirm.

Step 2: Pick your senders

Turn on each service you send through from the provider list: Google, Microsoft 365, SendGrid, Salesforce and more. ClearSPF resolves and merges their SPF for you. For anything not on the list, add a custom entry: an include, ip4, ip6, a or mx value. Before you go on, compare the list with your current SPF record so no sender is left out.

Step 3: Replace your SPF record

Replace your existing SPF TXT record with the one shown in your ClearDMARC dashboard. A domain can have only one SPF record.

One record only

SPF only evaluates the first TXT record that starts with v=spf1. If a second exists, the result is PermError. Delete your old record before or immediately after adding the ClearSPF record.

Step 4: Verify propagation

The dashboard shows a live verification status. Once the record resolves correctly from multiple vantage points, ClearSPF marks the domain as Active. This typically takes 5–30 minutes depending on your DNS TTL.

Step 5: Add new senders going forward

Whenever you onboard a new sending service, add it to the ClearSPF sender list. No DNS change is required. The managed record updates as soon as you save, and receivers usually see the change within an hour, as their cached copy expires. ClearDMARC’s alignment report will reflect the new source at the next report cycle.

Advanced: per-subdomain SPF

ClearSPF manages SPF for each subdomain independently. Add subdomains (for example mail.xmpl.example, transactional.xmpl.example) from the same dashboard. Each gets its own record and its own sender list, so lookup counts are scoped correctly and policy enforcement maps cleanly to the ClearDMARC report.

Was this guide helpful?