{"name":"dns-lookup","description":"DNS lookup / DNS resolver / dig replacement / nslookup API / DoH proxy / authoritative-record fetch / MX checker / SPF + DMARC TXT inspector / CAA + DNSSEC inspector / nameserver finder / CDN-routing detector. Queries Cloudflare 1.1.1.1 DNS-over-HTTPS for any subset of A, AAAA, MX, TXT, NS, CNAME, SOA, PTR, SRV, CAA, DNSKEY, DS, TLSA, HTTPS, SVCB records and returns both grouped (per type, with TTL) and flat shapes for easy consumption.","price":"$0.02","method":"POST","input_schema":{"properties":{"domain":{"type":"string","description":"Domain or hostname to resolve (e.g. 'example.com', 'mail.example.com'). Sent as-is, not stripped to apex."},"types":{"type":"array","items":{"type":"string"},"description":"Optional record types to query. Default: ['A', 'AAAA', 'MX', 'TXT', 'NS']. Any of A, AAAA, MX, TXT, NS, CNAME, SOA, PTR, SRV, CAA, DNSKEY, DS, TLSA, HTTPS, SVCB."}},"required":["domain"]},"input_example":{"domain":"example.com","types":["A","MX","TXT"]},"output_example":{"domain":"example.com","total_records":5,"records":{"A":[{"data":"93.184.216.34","ttl":3600}],"MX":[{"data":"0 .","ttl":3600}],"TXT":[{"data":"v=spf1 -all","ttl":3600}]},"flat":{"a":["93.184.216.34"],"mx":["0 ."],"txt":["v=spf1 -all"]},"source":"Cloudflare DNS-over-HTTPS (1.1.1.1)"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}