Domain Setup Guide
This guide walks you through setting up your sending domain in PostBeagle to start sending authenticated emails.
Overview
To send emails from your domain (e.g., yourdomain.com), you need to:
- Add your domain to PostBeagle
- Add DNS records to your domain
- Verify your domain
- Start sending emails
The entire process typically takes 5-10 minutes, plus DNS propagation time (up to 24 hours).
PostBeagle sends and DKIM-signs your mail on its own infrastructure (a self-hosted Postfix/Rspamd stack). The records below live directly on your domain — there is no proxy or "white-label" DNS layer to configure.
Step 1: Add Your Domain
-
Navigate to Domain Settings
- Log in to PostBeagle
- Go to Settings → Domains
- Click "Add Domain"
-
Enter Your Domain
- Enter your domain name (e.g.,
yourdomain.com) - Do not include
http://orwww - Click "Add Domain"
- Enter your domain name (e.g.,
-
View DNS Instructions
- PostBeagle will display the DNS records you need to add
- Keep this page open - you'll need these records in the next step
Step 2: Add DNS Records
You need to add DNS records to your domain to verify ownership and enable email authentication.
DKIM Record (Required)
DKIM (DomainKeys Identified Mail) cryptographically signs your emails, proving they are
authentic and unmodified. PostBeagle generates a key pair for your domain; you publish the
public key as a single TXT record (selector s1).
Name: s1._domainkey.yourdomain.com
Type: TXT
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0... (copy the exact value from PostBeagle)
TTL: Auto (or 3600)
Note: The public key (p=...) is unique to your domain. Always copy the exact value
shown in your PostBeagle dashboard — it's long, so use the copy button to avoid truncation.
SPF Record (Recommended)
SPF (Sender Policy Framework) authorizes PostBeagle's servers to send email from your domain.
Name: yourdomain.com (or @)
Type: TXT
Value: v=spf1 include:spf.postbeagle.com ~all
TTL: Auto (or 3600)
If you already have an SPF record: Add include:spf.postbeagle.com to your existing
record. You can only have one SPF record per domain.
# Existing record
v=spf1 include:_spf.google.com ~all
# Updated record (add PostBeagle)
v=spf1 include:_spf.google.com include:spf.postbeagle.com ~all
DMARC Record (Recommended)
DMARC (Domain-based Message Authentication) tells receiving servers what to do with emails that fail authentication.
Name: _dmarc.yourdomain.com
Type: TXT
Value: v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1
TTL: Auto (or 3600)
Start with p=none (monitor only) and tighten to p=quarantine or p=reject once you've
confirmed your mail authenticates correctly.
How to Add DNS Records
The process varies by DNS provider. Here are instructions for common providers:
Cloudflare
- Log in to Cloudflare
- Select your domain
- Go to DNS → Records
- Click "Add record"
- Select type TXT, enter the record name and value
- Click "Save"
TXTrecords are never proxied, so the orange-cloud/proxy setting doesn't apply here.
GoDaddy
- Log in to GoDaddy
- Go to My Products → DNS
- Click "Add" under Records
- Select record type TXT
- Enter the record details
- Click "Save"
Namecheap
- Log in to Namecheap
- Go to Domain List → Manage
- Click "Advanced DNS"
- Click "Add New Record" → TXT Record
- Enter the record details
- Click "Save"
Other Providers
Most DNS providers have similar interfaces. Look for "DNS Management", "DNS Records", "Advanced DNS", or "Zone File Editor".
DNS Record Tips
- Use exact values: Copy and paste the values from PostBeagle to avoid typos (the DKIM key is long)
- TTL: Use "Auto" or 3600 (1 hour) for faster propagation
- Subdomains in the name: Include the full host (e.g.,
s1._domainkey.yourdomain.com) - Root domain: Use
@or leave blank for root-domain records (SPF)
Step 3: Verify Your Domain
After adding DNS records, verify your domain.
Verification Process
-
Wait for DNS Propagation
- DNS changes can take up to 24 hours to propagate (usually 1-2 hours)
- You can check propagation status using online tools or
dig
-
Check Verification Status
- Return to PostBeagle → Settings → Domains
- Click "Check Verification" next to your domain
-
Verification Results
- ✅ Verified: DKIM and SPF records are correct - you can start sending!
- ⏳ Pending: DNS records not found yet - wait and try again
- ❌ Failed: DNS records incorrect - see troubleshooting below
PostBeagle verifies by DNS lookup: it confirms the DKIM TXT record at
s1._domainkey.yourdomain.com matches your domain's public key, and that your SPF record
contains include:spf.postbeagle.com. Both must pass. Once verified, your DKIM key is
automatically deployed to PostBeagle's signing infrastructure.
Step 4: Start Sending Emails
Once your domain is verified:
-
Set as Default (optional)
- Click "Set as Default" to use this domain for all campaigns, or select it per campaign
-
Create Your First Campaign
- Go to Campaigns → Create Campaign
- Select your verified domain as the sender
- Design and send your email
-
Monitor Deliverability
- Check campaign reports for delivery rates
- Monitor bounce and complaint rates (see Reputation Monitoring)
Troubleshooting
DNS Records Not Found
Problem: Verification fails with "DNS records not found"
Solutions:
- Wait longer: DNS propagation can take up to 24 hours
- Check the record type: the DKIM, SPF, and DMARC records must all be
TXT - Check the record name: it must be exactly
s1._domainkey.yourdomain.com - Check TTL: lower TTL values propagate faster
- Use a DNS checker:
digor an online tool
Check DNS manually:
# Check DKIM record
dig s1._domainkey.yourdomain.com TXT
# Check SPF record
dig yourdomain.com TXT
Wrong or Incomplete DKIM Value
Problem: The record is found but verification still fails
Solutions:
- Copy the exact value: use PostBeagle's copy button; don't type the key manually
- Check for truncation: the public key is long — make sure the whole
p=...was saved - Remove extra characters: watch for stray spaces or quotes added by your DNS provider
- Delete and re-create the record if needed, then re-verify after propagation
Multiple SPF Records
Problem: You already have an SPF record
Solution: Merge the records - you can only have one SPF record per domain.
# Existing record
v=spf1 include:_spf.google.com ~all
# Updated record (add PostBeagle)
v=spf1 include:_spf.google.com include:spf.postbeagle.com ~all
Subdomain Setup
Problem: You want to send from a subdomain (e.g., mail.yourdomain.com)
Solution: Add the subdomain as a separate domain in PostBeagle, then add the DNS records for the subdomain. Each domain/subdomain has its own DKIM key.
Domain Already Exists
Problem: "Domain already exists" error
Solutions:
- Check if you already added this domain
- Contact support if you need to transfer domain ownership
- Use a subdomain instead (e.g.,
mail.yourdomain.com)
FAQ
Why do I need to add DNS records?
DNS records prove you own the domain and enable email authentication (DKIM, SPF, DMARC). This improves deliverability and prevents your emails from being marked as spam.
How long does DNS propagation take?
Typically 1-2 hours, but it can take up to 24 hours depending on your DNS provider and TTL.
Can I use a subdomain?
Yes! Add the subdomain as a separate domain in PostBeagle (e.g., mail.yourdomain.com),
then add DNS records for the subdomain.
How many DKIM records do I need?
One — a single TXT record at s1._domainkey.yourdomain.com.
Do my DKIM records expire or need refreshing?
No. The records don't expire and there's no periodic refresh. Once verified, leave them in place. See the DKIM & Authentication FAQ.
How do I verify my DNS records are correct?
# DKIM
dig s1._domainkey.yourdomain.com TXT
# SPF
dig yourdomain.com TXT | grep spf1
# DMARC
dig _dmarc.yourdomain.com TXT
Can I use multiple domains?
Yes! Add as many domains as you need. Each domain requires its own DNS records.
What happens if verification fails?
You can't send emails from unverified domains. Fix the DNS records and try verification again. Contact support if you need help.
Best Practices
Email Authentication
- ✅ Add the DKIM record
- ✅ Configure SPF (
include:spf.postbeagle.com) - ✅ Set up DMARC, starting with
p=nonefor monitoring - ✅ Verify your domain before sending
- ✅ Monitor authentication status
Sending Practices
- ✅ Warm up new domains gradually
- ✅ Monitor bounce and complaint rates
- ✅ Send only from verified domains
- ✅ Keep email lists clean
- ✅ Follow email best practices
Need Help?
If you're stuck or have questions:
- Check this guide: Most issues are covered in the troubleshooting section
- Use DNS checker tools: Verify your DNS records are correct
- Contact support: Email [email protected] with:
- Your domain name
- Screenshots of DNS records
- Error messages from PostBeagle
- DNS provider name
Our support team typically responds within 24 hours.