DNS Lookup API
Query 14+ record types, monitor propagation across global resolvers, validate DNSSEC, and detect misconfigurations — all from Cloudflare's global edge network with consistent JSON responses.
What you can do
Real outcomes teams achieve with DNS Lookup
Multi-Record Type Queries
Query 14+ DNS record types including A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, CAA, PTR, DNSKEY, DS, TLSA, and NAPTR with structured JSON responses.
DNS Propagation Monitoring
Check DNS consistency across 8+ global resolvers to verify record changes have propagated worldwide before announcing deployments.
DNSSEC Validation
Validate DNSSEC configuration including DS records, DNSKEY records, and the complete chain of trust to ensure DNS security.
Nameserver Analysis
Identify DNS providers, analyze nameserver configuration, and detect DNS hosting for competitive intelligence and migration planning.
Simple Integration
Get started in minutes with our RESTful API, or connect via MCP and let your AI call these endpoints directly. Clean documentation, predictable responses, and comprehensive error handling.
- RESTful JSON API
- Global edge-delivered responses
- Comprehensive documentation
- 99.9% uptime target
- MCP-compatible — use with Claude, ChatGPT, or Gemini
const response = await fetch(
'https://api.edgedns.dev/v1/dns/lookup?domain=example.com&type=MX',
{ headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
);
const { data } = await response.json();
console.log(data.records);
// [{ value: "mail.example.com", priority: 10, ttl: 3600 }]Related Endpoints
12 endpoints available for dns lookup
Real-World Use Cases
See how teams are using DNS Lookup in production
Email Deliverability Monitoring
Validate MX records and mail server configuration before sending campaigns.
Read more
Infrastructure Change Monitoring
Track DNS changes and propagation across your domains.
Read more
Multi-Cloud DNS Management
Monitor DNS consistency across hybrid cloud environments.
Read more
Put DNS Lookup to work — via API or AI
Start free with 200 requests/month. Call the API directly or connect your AI through MCP. Upgrade to Pro when you need private monitoring and higher limits.
No credit card required
Already have an account? Sign in