Skip to main content
Enter TitanOS

Free tool for Australian small business

SPF record builder and DNS lookup counter

Pick the services that send email as your business and get one correct SPF record to paste into your DNS. The counter flags anything past the 10 lookup limit, the two-records mistake and a record that lets everyone send as you. It runs in your browser and nothing you type is sent or saved.

1. Pick what sends your email

  • Google's own example record is v=spf1 include:_spf.google.com ~all. Google Workspace Admin Help, Set up SPF

  • Government and 21Vianet tenants use different values, listed on the Microsoft page. This is the standard commercial one. Microsoft Learn, Set up SPF in Microsoft 365

  • Mailchimp's own help page asks for DKIM and DMARC records and does not mention SPF. The include servers.mcsv.net comes from third-party setup guides, not from Mailchimp's documentation. Most senders do not need it, and it costs a lookup. Mailchimp, set up email domain authentication

  • We found no SPF include published by Xero. Xero sends invoices from its own domain (post.xero.com), so your domain's SPF record does not need a Xero entry. Check Xero's current help before changing DNS. Xero Product Ideas, sending from your own domain

  • We found no SPF include published by ServiceM8. If you use its Custom SMTP add-on, mail leaves through your own mail host, so the SPF entry is your mail host's (Google Workspace or Microsoft 365 above). Ask ServiceM8 support to confirm for your setup. ServiceM8 help, set up a Custom SMTP server

Any other service that sends as you. Use the exact domain from that service's own SPF instructions. Separate several with spaces.

An office server, scanner or website host that sends mail. IP addresses cost no lookups.

Only if your own mail servers also send. It costs one lookup.

2. Your record and lookup count

1 of 10 lookups written directly

  • OK~all (soft fail) is a sensible start while you check DMARC reports. Move to -all once every sender is listed.
  • OK1 of 10 lookups written directly. Nested includes add more, so treat this as a minimum.

Publish it as one TXT record on the exact domain you send from, at your domain host. A domain may have only one SPF record. Nothing you type here leaves your browser.

Where each include came from

We checked these on 29 November 2026. Where a provider does not publish an SPF include, the tool says so and adds nothing.

  • Google Workspace: include:_spf.google.com. Google's own example record is v=spf1 include:_spf.google.com ~all. Google Workspace Admin Help, Set up SPF.
  • Microsoft 365: include:spf.protection.outlook.com. Government and 21Vianet tenants use different values, listed on the Microsoft page. This is the standard commercial one. Microsoft Learn, Set up SPF in Microsoft 365.
  • Mailchimp: include:servers.mcsv.net. Mailchimp's own help page asks for DKIM and DMARC records and does not mention SPF. The include servers.mcsv.net comes from third-party setup guides, not from Mailchimp's documentation. Most senders do not need it, and it costs a lookup. Mailchimp, set up email domain authentication.
  • Xero: no include published that we could find. We found no SPF include published by Xero. Xero sends invoices from its own domain (post.xero.com), so your domain's SPF record does not need a Xero entry. Check Xero's current help before changing DNS. Xero Product Ideas, sending from your own domain.
  • ServiceM8: no include published that we could find. We found no SPF include published by ServiceM8. If you use its Custom SMTP add-on, mail leaves through your own mail host, so the SPF entry is your mail host's (Google Workspace or Microsoft 365 above). Ask ServiceM8 support to confirm for your setup. ServiceM8 help, set up a Custom SMTP server.

How to publish the record

  1. Find where your domain's DNS is managed. That is usually your domain registrar or web host.
  2. Look for an existing TXT record that starts with v=spf1. If there is one, replace it with the new record. Never add a second.
  3. Create or edit one TXT record on your domain (host field @ or blank) and paste the record as the value.
  4. Wait for DNS to update, then send a test email to a free mailbox and read its headers for spf=pass.

SPF is one of three checks. DKIM signs the message and DMARC says what to do when checks fail. To see all three for your domain, use the email spoofing check, and for the plain-English steps read the email security guide.

If you are over 10 lookups

  • Drop services you no longer use. Old newsletter and CRM includes are the usual cause.
  • Move bulk senders to a subdomain. Each subdomain has its own record and its own 10 lookups. Microsoft suggests this for services you do not control.
  • Use IP ranges for stable senders. ip4 and ip6 cost no lookups, but you must keep them current. Do not flatten Google or Microsoft: their addresses change.

Source for the counting rules: Microsoft Learn, Set up SPF and RFC 7208 section 4.6.4.

Questions owners ask

What is an SPF record?

An SPF record is one line of text in your domain's DNS that lists the services allowed to send email as your domain. Receiving mail systems check it and treat mail from anywhere else with suspicion. It is defined in RFC 7208.

What is the 10 lookup limit?

RFC 7208 lets a receiver make at most 10 DNS-querying terms while checking one SPF record. The terms include, a, mx, ptr, exists and redirect each count one. ip4, ip6 and all cost nothing. Past 10, the check returns a permanent error and your mail can fail SPF.

Why does the counter say a minimum?

An include points at another domain's SPF record, and that record can include more. The tool runs in your browser and does not query DNS, so it counts only the terms you wrote. The true total can be higher. If you are at 8 or more, check the nested records with your DNS host or IT provider.

Can I have two SPF records?

No. A domain with two SPF records gets a permanent error. Merge every sender into one record. This is the most common mistake when a second service is added months after the first.

Should I use ~all or -all?

Start with ~all (soft fail) while you check DMARC reports and find every sender. Move to -all (hard fail) once the list is complete. Microsoft recommends -all for Microsoft 365 domains that also run DKIM and DMARC.

Why do Xero and ServiceM8 have no include?

We could not find an SPF include published by either, and we will not guess one: a wrong include can authorise strangers or break the record. Xero sends invoices from its own domain. ServiceM8 sends through your mail host if you use its Custom SMTP add-on. Check each provider's current help or ask their support.

Does this tool store or send my record?

No. It runs in your browser. Nothing is sent to a server or saved.

Book a free call