SPF & TXT Record 10-Lookup Limits Explained
Add v=spf1 -all to block spoofing on non-mail subdomains, and stay under the 10-lookup SPF cap.
Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.
1. Engineering Breakdown
Add a v=spf1 -all TXT record to show that a demo subdomain sends no email. For real email with MX and DKIM, delegate NS or buy a root domain.
Common Pitfalls
- Never add two
v=spf1TXT records on one hostname. Mail servers reject duplicate SPF records.
2. Interactive DNS Record Syntax Validator
Edit the record type, host label, or value below to validate syntax and build your CLI command.
3. Exact CLI, curl & MCP JSON-RPC Payloads
Pick your preferred interface below and copy the working payload.
agentdomains record myapp --type TXT --content "v=spf1 -all"
curl -X POST https://api.agentdomains.co/v1/subdomains/myapp/records \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"TXT","content":"v=spf1 -all"}'
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_dns_record",
"arguments": {
"label": "myapp",
"type": "TXT",
"content": "v=spf1 -all"
}
}
}
Frequently asked questions
What is SPF TXT Limits (RFC 7208)?
Add v=spf1 -all to block spoofing on non-mail subdomains, and stay under the 10-lookup SPF cap.
How do I automate SPF & TXT Record 10-Lookup Limits with AgentDomains?
Use the Go CLI snippet above, send a REST curl call, or invoke add_dns_record on https://mcp.agentdomains.co.
Related DNS & SSL Guides
CNAME vs A Record
Use an A record for static IPv4 servers. Use a CNAME or edge proxy for rotating PaaS hostnames.
DNS FundamentalsTXT Record Domain Verification
Publish TXT records on your subdomain to verify ownership with Google, Bluesky, GitHub, and SaaS tools.
DNS FundamentalsTTL and DNS Propagation
Learn why new DNS records go live in seconds and how resolver TTL caches cause stale answers.
DNS FundamentalsZone Apex vs Subdomain DNS
See why myapp.makes.fyi accepts standard CNAME records while root domains need CNAME flattening.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.