Skip to main content
spf PROTOCOLHost: DigitalOcean DNSStandard: RFC 7208

How to Configure Sender Policy Framework (SPF) on DigitalOcean DNS

Specifies which IP addresses and email service providers are authorized to send email on behalf of your domain. Follow this verified implementation guide to deploy standard compliant SPF DNS records in DigitalOcean DNS.

Default SPF Record Syntax

// Authoritative RFC Example
v=spf1 include:_spf.example.com ~all

Configuration Steps in DigitalOcean DNS

  1. 1Log into the DigitalOcean Control Panel.
  2. 2Go to "Networking" -> "Domains" and click your domain name.
  3. 3Locate the dangling record under "DNS Records".
  4. 4Click "More" (...) on the right side of the row.
  5. 5Select "Delete" and confirm.

Verification Checklist (RFC 7208)

Extract TXT records on the root domain looking for "v=spf1".
Verify that there is strictly ONE SPF record (multiple records cause PermError).
Count total DNS lookups (RFC 7208 strictly limits recursive DNS evaluations to 10).
Ensure the record ends with "~all" (SoftFail) or "-all" (HardFail).
Live Validation Engine

Validate Your DigitalOcean DNS SPF Record

Verify propagation, check syntax formatting, and audit recursive lookups in 60 seconds with SubDomainWatch.

Run Free DNS Validator