DNS Provider API
free/v1/domain/dns-providerIdentifies the DNS hosting provider(s) for a domain — including multi-provider DNS setups (GitHub, Apple, AWS commonly run two providers in parallel) — and reports observed DNS features (DNSSEC, CAA, IPv6 dual-stack) from live queries rather than static signature metadata.
What It Does
Queries NS records and matches nameserver hostnames against known provider patterns. When NS records map to multiple providers, all are returned with role=primary/secondary. In parallel, queries DNSKEY (DNSSEC enabled + algorithm grading per RFC 8624), CAA (per RFC 8659), and AAAA (dual-stack) so the response reflects what is actually deployed instead of the provider's marketing-page feature list.
Why It's Useful
Understanding DNS provider choice reveals infrastructure decisions and potential capabilities. It's useful for competitive analysis, security assessments, and migration planning.
Use Cases
Competitive Analysis
Analyze which DNS providers competitors use for infrastructure insights.
Inform DNS provider selection based on market trends.
Security Assessment
Identify DNS provider to understand DDoS protection and DNS security capabilities.
Assess target's DNS-level security based on provider.
Sales Targeting
Identify companies using specific DNS providers for targeted outreach.
Focus sales efforts on companies using competitor products.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The domain to identify DNS provider forExample: example.com |
Response Fields
Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.
| Field | Type | Description |
|---|---|---|
domain | string | The queried domain |
detected | boolean | Whether a DNS provider was detected |
provider | string | Primary DNS provider name |
nameservers | array | Nameserver hostnames |
nameserverCount | number | Number of nameservers (camelCase; snake_case `nameserver_count` is also returned during the migration window) |
confidence | string | Detection confidence (high, medium, low) |
vendor | string | DNS provider vendor name |
isPremium | boolean | Whether the DNS service is a premium/enterprise tier (camelCase; snake_case `is_premium` is also returned during the migration window) |
features | array | Provider features (static, from the signature library) |
providers | array | All matched providers when multi-provider DNS is in use, each with { provider, vendor, isPremium, features, matchedNameservers, role: "primary" | "secondary" }. ≥2 entries indicates a parallel-DNS resilience setup (GitHub/Apple/AWS pattern). |
observedFeatures | object | Live-observed DNS features: { dnssec: boolean, dnssecAlgorithm: string | null, dnssecAlgorithmStrength: "strong" | "weak" | "unknown" | null (per RFC 8624), caa: boolean (RFC 8659), dualStack: boolean (AAAA present) }. |
recommendations | array | DNS improvement suggestions — includes weak-algorithm warnings when DNSSEC uses pre-RFC-8624 algorithms, and missing-CAA / missing-AAAA hardening notes |
is_premium | boolean | Provider classification flag; not a verification of the queried account subscription. |
nameserver_count | number | Observed nameserver count. |
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the free plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/domain/dns-provider?domain=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/domain/dns-provider?domain=example.com",
{
"method": "GET",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
);
if (!response.ok) {
throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);import requests
response = requests.request(
'GET',
"https://api.edgedns.dev/v1/domain/dns-provider?domain=example.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full DNS Provider guide
Learn the concepts, choose a practical workflow, and interpret the observations from DNS Provider before acting on them. Run supported checks via MCP or through REST.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.
Try This Endpoint
Test the DNS Provider endpoint live in the playground.