DNS Lookup
Resolve DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, CAA, PTR) for any domain
api/v1/dns-lookup
Resolve DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, CAA, PTR) for any domain
Rate Limiting
Standard rate limits apply to this endpoint.
Authentication
This endpoint requires authentication via API key. You can use the sandbox mode for testing without registering. See the authentication guide for details.
Try It Yourself
Test this endpoint directly from your browser using our API sandbox. No authentication required for testing.
Try API Endpoint
This is a limited sandbox environment.
For higher limits (75 requests/day), register for a free account.
/
Your daily Sandbox API quota has been exhausted. Please try again tomorrow.
Need higher limits? Register for free and get 75 requests/day.
Response
Common Use Cases
Domain migration monitoring
Track DNS propagation after migrating domains or changing providers. Monitor A, MX, and CNAME records across multiple domains simultaneously.
Email deliverability auditing
Check MX records and verify DNS configuration for email domains. Combine with Email Auth Validator for complete email infrastructure audits.
Infrastructure monitoring
Continuously verify that your DNS records point to the correct servers. Detect unauthorized DNS changes or hijacking attempts.
Related API Endpoints
Explore related endpoints that work well with DNS Lookup.
Guides & Tutorials
DNS Lookup API: Query A, MX, TXT Records Programmatically
Query DNS records programmatically with a free REST API. Resolve A, AAAA, MX, TXT, CNAME, and NS records. JSON response,...
Use-caseCheck MX Records via API for Email Deliverability
Look up MX records for any domain using the DNS lookup API. Verify mail server configuration, priority, and TTL values w...
TutorialDNS Record Types Explained: A, AAAA, MX, TXT, CNAME, NS
Learn what A, AAAA, MX, TXT, CNAME, and NS DNS records do. Practical examples with a free API to query any record type i...