{"uid":"cap_PQ7pDNv7zDYVqXK2nTlwA","slug":"x402-web-tools-dns-lookup-7c6d4eef","name":"x402 Web Tools – DNS Lookup","description":"A, AAAA, CNAME, MX, TXT, NS, CAA and SOA records of a domain from public resolvers (Cloudflare and Google), or just the types you ask for, and whether the domain exists.","url":"https://web.kagurazaka.dev/v1/dns?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"domain name, such as example.com"},"types":{"type":"string","description":"comma separated record types (default all of A, AAAA, CNAME, MX, TXT, NS, CAA, SOA)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"name":{},"exists":{},"records":{}}}}}}},"responseSchema":{"type":"json","example":{"name":"x402.org","exists":true,"records":{"A":["104.21.0.1"],"MX":[{"exchange":"mx.example","priority":10}],"TXT":["v=spf1 -all"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4XTat1JNZkxzMSBcUKIdi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves DNS records (A, AAAA, CNAME, MX, TXT, NS, CAA, SOA) for a domain using Cloudflare and Google public resolvers, and reports whether the domain exists.","exampleAgentPrompt":"What are all the DNS records for stripe.com? I want to see A, MX, and TXT records in particular.","exampleUseCases":[{"title":"Verify email deliverability setup","prompt":"Can you pull the MX and TXT DNS records for mycompany.com so I can check that the SPF and DKIM records are configured correctly?"},{"title":"Confirm new domain is live","prompt":"I just pointed my domain newstartup.io to our server — can you check if the A records are resolving correctly and whether the domain exists in DNS yet?"},{"title":"Audit nameserver delegation","prompt":"Look up the NS and SOA records for example.org — I need to confirm which nameservers are authoritative for it."}],"resultDescription":"A JSON object containing the domain name, a boolean 'exists' field indicating whether the domain has DNS records, and a 'records' object whose keys are DNS record types (A, AAAA, CNAME, MX, TXT, NS, CAA, SOA) with their resolved values. MX records include exchange hostname and priority. Only requested record types are included if specific types are requested.","failureModes":["Domain does not exist — returns exists: false with empty records","Invalid domain name format — likely returns an error or empty response","Requested record type not found — that key is absent from the records object","Transient DNS resolver failure (Cloudflare/Google outage) — may return partial or empty results","Rate limiting or payment failure — 402 response if payment is not attached"],"whenToPreferThis":"Choose this endpoint when you need authoritative, real-time DNS record data from both Cloudflare and Google public resolvers simultaneously. It's ideal for infrastructure verification, email configuration auditing, domain existence checks, and security research. Prefer it over WHOIS tools when you need resolved DNS values rather than registration metadata, and over manual dig/nslookup when you need structured JSON output in an agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:32:53.882Z","isFirstParty":false,"canonicalSlug":"x402-web-tools-dns-lookup-7c6d4eef"}