DataHouse Tools

Tool

SPF: DNS record for email

A practical SPF record guide: allowed sending servers, include, ip4, mx, all mechanisms and email deliverability impact.

Glossary

SPF is a TXT record that tells receiving servers which IP addresses and external services may send mail for a domain.

SPF: DNS record for email

A domain should normally publish one SPF record. It can include IPv4 and IPv6 addresses, MX hosts, A records and policies from external mail platforms.

SPF record basics

Why it matters

This concept affects domain trust, mail delivery, troubleshooting and migration safety.

Where it is configured

The value is published in DNS and should be managed together with the domain operator or DNS platform.

What to check

Check syntax, TTL, old records after migration and consistency with mail or domain services.

Example

Example: v=spf1 ip4:192.0.2.10 include:_spf.google.com -all

Practical check order

  1. Read current DNS. Check what the public DNS currently returns for the relevant name.
  2. Compare with the intended policy. Confirm that the record matches the mail platform or domain design.
  3. Remove stale entries. Old records after migration are a common source of failures.
  4. Retest dependent services. Run mail, DNS, SSL or RDAP checks depending on the record type.

Common mistakes

  • Record added under the wrong DNS name.
  • Old values left after migration or provider change.
  • Long TTL during planned changes.
  • Policy copied from another domain without adapting host names or report addresses.
  • Record changed without checking the services that depend on it.

FAQ: SPF: DNS record for email

How should I use this DataHouse page?

Use it as a technical checklist and connect it with the relevant diagnostic tools before or after a production change.