🌊
DigitalOcean DNS Setup Guide
Configure MX and SPF records for domains managed through DigitalOcean.
Note: DigitalOcean provides free DNS hosting with all domains.
Screenshot: DigitalOcean control panel showing Networking section
Goal
Add MX records pointing to mx1.kachaw.com
(priority 10) and mx2.kachaw.com
(priority 20), plus an SPF TXT record.
Step 1: Access DNS Management
- Log in to your DigitalOcean account
- Navigate to "Networking" in the left sidebar
- Select "Domains" from the dropdown
- Click your domain name
Screenshot: DigitalOcean DNS management interface
Step 2: Add MX Records
Primary MX Record:
- Click "Create Record"
- Select "MX" from the type dropdown
- Enter these values:
- Hostname:
@
(for root domain) - Mail Server:
mx1.kachaw.com
- Priority:
10
- TTL: 3600 (default)
- Hostname:
- Click "Create Record"
Screenshot: DigitalOcean MX record creation form
Secondary MX Record:
- Click "Create Record" again
- Select "MX"
- Enter:
- Hostname:
@
- Mail Server:
mx2.kachaw.com
- Priority:
20
- Hostname:
- Click "Create Record"
Step 3: Add SPF TXT Record
- Click "Create Record"
- Select "TXT" from the type dropdown
- Enter:
- Hostname:
@
- Text:
v=spf1 a:spf.kachaw.com ~all
- TTL: 3600
- Hostname:
- Click "Create Record"
Important: DigitalOcean automatically adds quotes around TXT values - don't include them manually.
Screenshot: DigitalOcean TXT record form with SPF value
Step 4: Verify Changes
- Changes typically propagate within 5 minutes
- Verify using:
- DigitalOcean's DNS query tool
- MXToolbox
- Google Admin Toolbox
Screenshot: DigitalOcean DNS query results
DigitalOcean-Specific Features
- API Access: Full DNS management through DigitalOcean API
- Droplet Integration: Automatically create records for Droplets
- Load Balancers: DNS integration with DigitalOcean Load Balancers
Troubleshooting
- Records not saving? Check for duplicate records
- Propagation delays? Try DigitalOcean's DNS Checker
- API issues? Verify your API token permissions
← Back to Guides
Using DigitalOcean Load Balancers?
Load Balancer Guide