Samprix

SPF Record Generator

Pick the services that send your email and get a ready-to-paste SPF record, with the full DNS lookup count checked before you publish.

  • Live DNS lookup
  • Results in seconds
  • No sign-up
  • Free

Started from google.com’s current record. Change it below; publishing replaces the old one.

1. Services that send your email

Everything that sends mail from an address at your domain.

Business email

Newsletters and marketing

Sending APIs

Help desk, CRM and shop

2. Your own servers (optional)
3. Mail from anywhere else

Your SPF record

TXT value

v=spf1 include:_spf.google.com ~all

Type
TXT
Host / name
@ (google.com)
TTL
Auto, or 1 hour
DNS lookups Counting…
  • OK:Ready to publish

    One record, valid syntax, within the lookup limit.

Published it? Check it with the SPF checker

Advertisement

How to publish your SPF record

  1. Sign in wherever your domain’s DNS is managed: your registrar, Cloudflare or your web host.
  2. Look for an existing TXT record starting with v=spf1. If there is one, edit it and replace its value. Don’t add a second one: two SPF records make SPF fail.
  3. Otherwise add a new record: type TXT, host @ (some panels want your domain name, or leave it blank), and the generated text as the value.
  4. Save, wait a few minutes, then check it with the SPF checker.

What to include

List every service that sends email with your domain in the return path: your mailbox provider, newsletter and marketing tools, transactional email APIs, help desks, CRMs and shop platforms. Forgetting one means its mail fails SPF; listing services you no longer use wastes lookups and lets them keep sending as you.

Some services, including Mailchimp, HubSpot and Klaviyo, send with their own return-path domain, so they don’t need an include at all. They need DKIM set up instead.

After SPF: DKIM and DMARC

SPF is one of three records. DKIM signs your mail, and DMARC tells receivers what to do when SPF and DKIM fail. Gmail, Yahoo and Microsoft now require all three from bulk senders. See SPF, DKIM and DMARC explained, and if you’re near the lookup limit, how to get under 10 lookups.

Did this tool do what you needed?

All tools