Defaults.Exposed

Defaults.Exposed › Setup › SPF

How to set up SPF on Porkbun

Add an SPF record in your Porkbun DNS so the world knows which servers may send email using your domain.

Why this matters to your business

SPF (Sender Policy Framework) is a short note in your domain’s DNS that lists which mail servers are allowed to send email “from” your domain. Without it, scammers can forge your address to send invoices, payment requests or fake quotes to your customers and suppliers — and your own legitimate email is more likely to land in spam. Setting SPF up is free, takes a few minutes, and is one of the strongest, cheapest things you can do to protect your name and keep your email getting delivered.

Before you start: is Porkbun actually running your DNS?

This is the single most common reason these changes “do nothing.” A DNS record only takes effect if Porkbun is where your domain’s nameservers point.

In your Porkbun account, open the domain and check the Authoritative Nameservers section. If it shows Porkbun’s own nameservers (such as the curitiba/fortaleza/maceio/salvador set), continue below. If it shows another company’s nameservers, go add SPF in that company’s DNS instead.

What you’ll add

A single TXT record that lists your senders. The exact value depends on who sends your email. A common example for a domain that sends only through Microsoft 365 is:

v=spf1 include:spf.protection.outlook.com -all

For Google Workspace it’s usually:

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

Use the SPF value your email provider tells you to use. You should have only one SPF (TXT starting with v=spf1) record per domain — if you already have one, edit that one rather than adding a second.

Steps in Porkbun

  1. Sign in to Porkbun and open Account → Domain Management.
  2. Find your domain and click the Details arrow, then choose DNS Records (the Edit / DNS editor).
  3. Review the existing records. If an SPF (TXT starting with v=spf1) record is already present, edit that one rather than adding a second.
  4. To add a record, set Type to TXT.
  5. Leave the Host field blank to apply the record to the domain itself. (Porkbun treats an empty Host as the root domain — you do not type @ here.)
  6. In the Answer (the value) field, paste your SPF string, e.g. v=spf1 include:spf.protection.outlook.com -all.
  7. Leave TTL at the default (600 is fine).
  8. Click Add (or Save).

Porkbun quirks people get wrong

Verify it worked

Once saved, confirm the record is live and correct with the free check on Defaults.Exposed. Enter your domain and it’ll tell you in plain language whether your SPF is set up properly. Your data is processed in the EU.

Done? Check your domain free to confirm it worked — and see your full grade across all 34 checks.