Multi-Cloud DNS Management
Review DNS answers across resolvers during infrastructure changes
Review DNS answers across resolvers during infrastructure changes. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
Resolver caches, geo-DNS, and authoritative configurations can return different answers during a migration or incident.
The Solution
Compare propagation results, nameservers, provider detection, and direct DNS lookups. Resolver disagreement can reflect intentional geographic routing as well as propagation or configuration problems. This workflow observes DNS; it does not edit cloud-provider zones.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/dns/propagationAPI referenceDNS Propagation: Check DNS consistency across resolvers
/v1/dns/nsAPI referenceNameservers: List nameservers and detect DNS provider
/v1/domain/dns-providerAPI referenceDNS Provider: Identify DNS hosting provider
/v1/dns/lookupAPI referenceDNS Lookup: Query any of 22 DNS record types or ALL at once with DNSSEC validation
/v1/domain/response-timeAPI referenceResponse Time: Measure server response latency
What this workflow helps you do
Compare resolver observations
Inspect which resolvers returned each record set.
Review authoritative configuration
Cross-check nameserver and provider findings with your DNS control plane.
Investigate divergence
Use returned classifications as context and confirm with your expected routing design.
Code Example
Review DNS answers across resolvers during infrastructure changes
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/dns/propagation",
"params": {
"domain": "example.com"
}
},
{
"path": "/v1/dns/ns",
"params": {
"domain": "example.com"
}
},
{
"path": "/v1/domain/dns-provider",
"params": {
"domain": "example.com"
}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
Ready to build Multi-Cloud DNS Management?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
Global Network Performance Testing
Compare reachability and routing from available measurement locations
Cloud Security Engineer / Platform EngineerSubdomain Takeover Checks for Service Offboarding
Review dangling DNS before retiring a cloud resource or SaaS service
Brand Protection / LegalDomain Portfolio Protection
Investigate lookalike domains and changes to domains you own