Skip to main content

SPF records

What an SPF record does, how to set one up with your email host's value, how to check it, and what to remove if your record includes Dubsado.

Written by Trevor

An SPF (Sender Policy Framework) record tells your recipients' email providers which services are allowed to send email for your custom domain. Setting one up helps keep the emails you send through Dubsado out of spam.


How SPF works with Dubsado

When you send an email from Dubsado, it goes out through the email account you connected (Google, Microsoft, or your SMTP email host), not through Dubsado. That means your SPF record only needs your email host's value. Dubsado doesn't need its own entry in your SPF record.

Whether you need to do anything depends on the address you send from:

  • A free email address (like @gmail.com, @outlook.com, or @yahoo.com): there's nothing to set up. Your email provider manages SPF for its own domain.

  • A custom domain email address (like hello@yourbusiness.com): add an SPF record at your domain host, using the value your email host provides.

SPF and DKIM both play a role in email deliverability. See improve email deliverability with DKIM and SPF records for how they work together. If you use a custom domain, we also recommend adding a DMARC record.


Setting up your SPF record

Your email host provides the SPF value, and you add it as a TXT record in your domain host's DNS settings. Your email host and domain host might be the same company or two different ones.

Find your email host's SPF value

Each email host publishes its own SPF value and setup steps:

  • Google Workspace: follow Google's article to set up SPF. The value is v=spf1 include:_spf.google.com ~all.

  • Microsoft 365: follow Microsoft's article to set up SPF. The value is v=spf1 include:spf.protection.outlook.com ~all. If you bought Microsoft 365 through GoDaddy, use the SPF value in GoDaddy's help center instead.

  • Any other email host (common with SMTP connections): search your email host's help center for "SPF record," or ask its support team. Every host has its own value, so use the one your host gives you.

Add the record at your domain host

Every domain host's DNS settings look a little different, but the steps follow the same pattern:

  1. Sign in to your domain host and open your domain's DNS settings.

  2. Look for an existing TXT record whose value starts with v=spf1.

  3. If you find one, add your email host's value to that record instead of creating a second one. See merge multiple SPF records for how.

  4. If you don't find one, add a new record with the Type set to TXT, the Host (sometimes called Name) set to @, and the Value set to your email host's SPF value.

  5. Save your changes.

For exact steps, follow your domain host's own instructions:

If your domain host isn't listed, search its help center for "TXT record" or "SPF record."

Check your record

After you save, check your record with a free lookup tool, such as MX Toolbox's SPF record lookup or EasyDMARC's SPF record checker. Enter your domain (the part after the @ in your email address) to see your current SPF record and any errors in it.

DNS changes can take up to 48 hours to take effect. If a lookup tool doesn't show your change right away, wait and check again.


Fixing common SPF problems

If a lookup tool reports an error, it's usually one of these:

  • More than one SPF record. A domain can only have one. Combine them into a single record by merging multiple SPF records.

  • A typo. Every SPF record starts with v=spf1 and usually ends with ~all or -all. Compare your record against the value your email host gives you, including spelling and spacing.

  • A domain in your record doesn't publish an SPF record. Every include: in your record has to point to a domain with its own valid SPF record, or the whole record fails. If your record includes spf.dubsado.com, remove it, since Dubsado doesn't need an entry in your SPF record.

  • Too many lookups. An SPF record can trigger at most 10 DNS lookups. Each include, a, mx, ptr, exists, and redirect counts toward that limit. Remove entries for services you no longer send email through.

  • The wrong record type. Add your SPF record as a TXT record. Some domain hosts also offer a separate "SPF" record type, but TXT is the one email providers check.

If the error won't clear, contact your email host or domain host. They can tell you exactly what your record should contain.


FAQ

My SPF record includes spf.dubsado.com or Dubsado IP addresses. Should I keep them?

No, remove them. Emails you send from Dubsado go out through your email host, so your SPF record only needs the value your email host provides. Dubsado entries aren't needed, and some of them can cause your SPF check to fail, which makes your emails more likely to land in spam.

Check your domain host's DNS settings and delete any of these from your SPF record:

  • include:spf.dubsado.com

  • a:spf.dubsado.com

  • ip4:138.68.63.10

  • ip4:198.199.95.53

Keep everything else, including your email host's value. For example, v=spf1 include:_spf.google.com a:spf.dubsado.com ~all becomes v=spf1 include:_spf.google.com ~all. If Dubsado entries were the only thing in your record, replace the whole record with your email host's SPF value.

Can I have multiple SPF records?

No. You can only have one SPF record per domain. Having more than one can cause errors or prevent your emails from being delivered. If you already have an SPF record and need to add another email host's value, merge multiple SPF records into one instead of creating a second.

What's the difference between an email host and a domain host?

A custom domain, like yourdomain.com, needs a host. Your email host is the provider for your custom email address at that domain, such as hello@yourdomain.com. Your domain host and email host might be the same company, or they might be different. For example, your domain could be hosted through Cloudflare while your email runs through Google.

Your email host provides the SPF value you need, which you then add to the DNS settings at your domain host. If you need help, start by reaching out to your domain host's support team.

If I change domain hosts, do I need to update my SPF record?

Yes. If you move your domain to a new host, you'll need to repeat the SPF setup process with the new host.

If I change email hosts, do I need to update my SPF record?

Yes. Your SPF record needs your current email host's value, so replace the old host's value with the new one. If you still send some email through the old host, keep both values in a single record by merging multiple SPF records.

My emails are still going to spam.

Setting up SPF reduces the chance of your emails landing in spam, but it can't guarantee inbox placement, since spam filters change frequently. See prevent emails from going to spam for more tips on keeping your emails out of spam folders.

Can Dubsado make these DNS changes for me?

Dubsado isn't able to provide support for setup questions specific to your domain host. Contact your domain host directly for assistance.

Did this answer your question?