← Back to all APIs

Dns Lookup

$0.002

All DNS record types for a domain in one call — A, AAAA, MX, TXT, NS, SOA, CNAME, CAA, DS and DNSKEY — with DNSSEC validation status from Google Public DNS.

POST https://x402.freeq.one/tools/dns_lookup
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/dns_lookup \ -H "Content-Type: application/json" \ -d '{"name":"example.com","types":["A","MX"]}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.