How DNS Caching Works Across Resolvers Explained
Trace the 4 DNS cache layers to see why dig and Chrome sometimes show different answers.
Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.
1. Engineering Breakdown
Authoritative DNS updates right away. Your OS, browser cache, and ISP resolver still hold old answers until the record TTL reaches zero.
Common Pitfalls
- Flush the macOS DNS cache if your laptop shows an old IP while
dig @1.1.1.1is fresh.
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.
dig @1.1.1.1 myapp.makes.fyi A +noall +answer
curl -s "https://dns.google/resolve?name=myapp.makes.fyi&type=A"
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_domain",
"arguments": {
"label": "myapp"
}
}
}
Frequently asked questions
What is Recursive DNS Caching?
Trace the 4 DNS cache layers to see why dig and Chrome sometimes show different answers.
How do I automate How DNS Caching Works Across Resolvers with AgentDomains?
Use the Go CLI snippet above, send a REST curl call, or invoke get_domain 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.