Home › Knowledgebase › KB-1140

How to Configure an SPF Record to Stop Your Business Emails Going to Spam

Summary

This guide helps you troubleshoot and resolve: How to Configure an SPF Record to Stop Your Business Emails Going to Spam. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? đź’» Open a Ticket

Common Causes

Email authentication is essential for small businesses and home offices relying on digital communication. An SPF (Sender Policy Framework) record tells receiving mail servers which mail servers are authorised to send email on behalf of your domain. Without a correctly configured SPF record, your outgoing business emails are more likely to be rejected or flagged as spam by providers such as Microsoft 365, Google Workspace, and Apple Mail.

Important: SPF alone cannot guarantee that your emails will stop going to spam. SPF is only one part of email authentication. You should also configure DKIM and DMARC records for your domain. Additionally, ensure your mail server reputation is healthy and that your email content does not trigger spam filters.

Quick Fix Steps

  1. Identify where your domain’s DNS is hosted. This may be your domain registrar or a separate DNS hosting provider.
  2. Log in to your DNS management control panel.
  3. Navigate to the DNS management or Zone Editor section for your domain.
  4. Create a new TXT record with the host set to @ or your domain name.
  5. Enter your SPF value in the Value or Text field.
  6. Save the record and wait for DNS propagation.
  7. Verify the record using an SPF lookup tool.

Detailed Instructions

Step 1: Access Your DNS Management Panel

Log in to the control panel where your domain’s DNS records are hosted. This may be your domain registrar account or your web hosting control panel. Look for a menu item labelled DNS Management, Zone Editor, or Manage DNS.

Step 2: Locate Your Domain’s DNS Zone

Select the domain you want to configure from your list of registered domains. Ensure you are editing the correct DNS zone, as changes made to the wrong domain will not affect your email deliverability.

Step 3: Add a New TXT Record

Click Add Record, Create Record, or Add DNS Record. Choose TXT as the record type.

Click Save, Add Record, or Confirm to publish the entry.

Common Australian Registrar Menu Paths

cPanel

  1. Log in to cPanel.
  2. In the Domains section, click Zone Editor.
  3. Click Manage next to your domain.
  4. Click Add Record and select TXT Record.
  5. Enter the host and SPF value, then click Add Record.

Plesk

  1. Log in to Plesk.
  2. Click Websites & Domains.
  3. Click DNS Settings for your domain.
  4. Click Add Record.
  5. Select TXT as the record type.
  6. Enter the host and SPF value, then click OK.
  7. Click Update to apply the changes.

VentraIP

  1. Log in to your VentraIP client area.
  2. Navigate to Domains and select Manage Domain.
  3. Click Manage DNS or DNS Management.
  4. Click Add Record.
  5. Select TXT as the record type.
  6. Enter the host and SPF value, then save the record.

Crazy Domains

  1. Log in to your Crazy Domains account.
  2. Go to Domains and select Manage.
  3. Click DNS Management.
  4. Click Add Record.
  5. Select TXT as the record type.
  6. Enter the host and SPF value, then click Add.

GoDaddy AU

  1. Log in to your GoDaddy account.
  2. Go to My Products and select Domains.
  3. Click Manage DNS next to your domain.
  4. Click Add Record.
  5. Select TXT from the Type dropdown.
  6. Enter the host and SPF value, then click Save.

SPF Examples by Email Provider

Google Workspace

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

Microsoft 365

v=spf1 mx include:spf.protection.outlook.com ~all

Combined Google Workspace and Microsoft 365

v=spf1 mx include:_spf.google.com include:spf.protection.outlook.com ~all

Replace the include mechanism with the appropriate value for your email provider. If you use multiple mail services, combine them in a single SPF record rather than creating multiple TXT records. If an SPF record already exists, edit it to include all authorised senders rather than creating a second record.

Step 4: Allow Time for DNS Propagation

DNS changes are not instant. Depending on your TTL setting, it can take anywhere from a few minutes to 48 hours for the SPF record to propagate across Australian and global DNS servers.

Step 5: Verify the SPF Record

Use a free online SPF lookup tool to confirm your record is published correctly. Enter your domain name and check that:

DKIM and DMARC Basics

SPF verifies which servers can send email for your domain, but it does not protect against email spoofing on its own. DKIM (DomainKeys Identified Mail) adds a digital signature to your outgoing emails, while DMARC (Domain-based Message Authentication, Reporting & Conformance) tells receiving servers how to handle messages that fail SPF or DKIM checks.

For detailed instructions on configuring DKIM and DMARC, refer to our related knowledge base articles or open a support ticket for assistance.

Important SPF Limitations and Warnings

Caution: A single SPF string is limited to 255 characters. If your record exceeds this length, you must use SPF include mechanisms or redirect modifiers to stay within the limit.
Caution: SPF records are subject to a maximum of 10 DNS lookups. Excessive include, a, mx, ptr, or exists mechanisms can cause validation failures. Keep your record as simple as possible.
Caution: Email forwarding can break SPF. If you forward email to an external address, the forwarding server may not be included in your SPF record, causing SPF failures for forwarded messages.

Troubleshooting

I Do Not Know Where My DNS Is Hosted

If you are unsure which company hosts your DNS, check your domain registration records or use a WHOIS lookup tool to find your domain’s nameservers. If your nameservers point to your web hosting provider, log in to your hosting control panel. If they point to a registrar, log in to your registrar account. If you still cannot locate your DNS host, contact your previous IT provider or Open a Ticket with the 220 Internet Services support team.

I Do Not Have Access to My Registrar Account

If you do not have login credentials for your domain registrar or DNS host, you will need to recover access through the provider’s account recovery process. Alternatively, contact the person or agency that originally registered your domain. Without DNS access, you cannot add or edit SPF records yourself.

My Domain Registrar and DNS Host Are Different Companies

Some businesses register their domain with one provider but host DNS with another, such as a web host or a dedicated DNS service. You must make SPF changes wherever the DNS zone is hosted, not necessarily where the domain was purchased. Check your domain’s nameservers to confirm the correct provider.

Emails Still Going to Spam

SPF is only one part of email authentication. If messages continue to land in junk folders, also configure DKIM and DMARC records for your domain. Check that your SPF record does not exceed the 10 DNS lookup limit, as overly complex include statements can cause validation failures.

Multiple SPF Records Detected

Having more than one TXT record starting with v=spf1 for the same domain will cause SPF validation to fail. Merge all authorised senders into a single record. For example:

v=spf1 mx include:_spf.google.com include:spf.protection.outlook.com ~all

Propagation Delays

If your newly added record does not appear in lookup tools immediately, wait at least one hour and check again. Lowering the TTL before making changes can speed up future updates, but remember to raise it back to a standard value once propagation is complete.

Tip: If you are unsure which mail servers to include in your SPF record, check your email provider’s documentation or contact your IT administrator. Using ~all (soft fail) is safer during testing than -all (hard fail), which can reject legitimate emails if a server is missing.
Caution: Do not create multiple SPF TXT records for the same domain. Only one v=spf1 record should exist per domain, or receiving mail servers may ignore your SPF policy entirely.

If you need assistance editing your DNS records or verifying your email authentication setup, Open a Ticket with the 220 Internet Services support team.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

đź’» Open a Ticket