DNS propagation API
Check whether a DNS change has spread across public resolvers worldwide or if stale caches are still serving old records. Queries execute simultaneously from global Tier-1 data-centre probes across six continents with automatic failover across 16 selectable resolvers, distinguish intentional CDN geo-routing from lag, and can auto-watch until propagation reaches 100%.
api.middle.network/v1/tools/dns-propagationRequest body
Send JSON: { "input": { … } } with these fields. Fields not listed are ignored.
domainstringrequiredA domain name, such as example.com. A URL is accepted and its host name is used.Up to 253 characterstypestringoptionalThe record type.One of:A,AAAA,CNAME,MX,NS,TXT,CAA,SOA,SRV,DS,DNSKEY,HTTPS,PTR· Default"A"resolverslist of stringsoptionalPublic resolvers each location asks. Public resolver keys, or ["all"]. Leave out for the popular four.One of:all,cloudflare,google,quad9,opendns,adguard,controld,nextdns,cleanbrowsing,dnssb,dns4eu,he,comodo,yandex… · Up to 64 itemsregionslist of stringsoptionalProbe locations to test from: ids or cities from GET /api/probes, or ["all"]. Leave out for the default set.Up to 64 items
Response
The same result shape every tool uses. status is the worst finding, summary and each finding come in plain and tech, and data holds the raw DNS propagation detail. Send Accept: text/event-stream to get each location’s answer as it arrives.
200The test ran. RateLimit headers show what’s left today.400The input broke the schema, or the target is not valid (with suggestions when it looks like a typo).401No API key, or the key is not valid or was revoked.403The tool sends traffic at the target and isn’t open to API keys yet (activeTool), or the target’s owner has asked not to be tested (optedOut).429Too many checks: per minute, per day, or at the same target.
curl -X POST https://api.middle.network/v1/tools/dns-propagation \
-H "Authorization: Bearer $MN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"domain":"github.com"}}'const res = await fetch("https://api.middle.network/v1/tools/dns-propagation", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"input":{"domain":"github.com"}}),
});
const result = await res.json();
console.log(result.status, result.summary.plain);import os, requests
res = requests.post("https://api.middle.network/v1/tools/dns-propagation",
headers={"Authorization": f"Bearer {os.environ['MN_API_KEY']}"},
json={"input":{"domain":"github.com"}})
result = res.json()
print(result["status"], result["summary"]["plain"]){
"tool": "dns-propagation",
"target": "github.com",
"status": "pass",
"summary": {
"tech": "…",
"plain": "…"
},
"findings": [
{
"level": "pass",
"tech": "…",
"plain": "…"
}
],
"data": {},
"ms": 420,
"at": "2026-01-01T00:00:00.000Z"
}Put your key in MN_API_KEY. No key yet? Here’s how to get one. More in this group: DNSSEC validation, DNS health report, Authoritative vs cached, DNS resolver speed test.
Try it without code
The same test runs free in your browser, no key needed.