{"uid":"cap_HnkXNe_maORyk3KrDc1zc","slug":"x402-web-tools-dns-lookup-f3879d13","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://q7w9tnp09rjt5ccj.68r.lambda-web.us-east-1.on.aws/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_Mh4SR5IwTgrvs-rX4h8hk","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":"Retrieves A, AAAA, CNAME, MX, TXT, NS, CAA, and SOA DNS records for a domain from Cloudflare and Google public resolvers, with domain existence check.","exampleAgentPrompt":"Can you pull all the DNS records for github.com — I want to see its A, MX, TXT, and NS records?","exampleUseCases":[{"title":"Verify email deliverability setup","prompt":"Check the MX and TXT DNS records for acme-corp.com — I want to confirm their SPF and DKIM records are set up correctly before we send them email campaigns."},{"title":"Debug domain resolution issue","prompt":"Can you look up the A and CNAME records for api.startup.io? I'm trying to figure out whether the domain is actually resolving to the right IP address."},{"title":"Audit nameservers before migration","prompt":"What nameservers and SOA records does oldsite.example.com have right now? I need this before we transfer the domain to a new registrar."}],"resultDescription":"A JSON object containing the domain name, a boolean indicating whether the domain exists in DNS, and a records object keyed by record type (e.g. A, MX, TXT) with the corresponding values — IP addresses for A/AAAA, objects with exchange and priority for MX, strings for TXT, etc. Only record types that have results are included.","failureModes":["Domain does not exist — exists field returns false and records may be empty","Invalid domain name format — likely returns an error or empty result","Requested record type not found — that type is simply omitted from the records object","DNS resolver timeout or upstream failure — may return a partial result or error","Comma-separated types string is malformed — may return all types or an error"],"whenToPreferThis":"Choose this endpoint when you need authoritative, real-time DNS record data from both Cloudflare and Google resolvers for any domain. It's ideal for verifying email configuration (SPF, DKIM, MX), debugging DNS propagation, auditing domain infrastructure, or confirming domain existence. Prefer it over manual DNS tools when automating DNS checks in an agent workflow, especially when you need multiple record types in a single call. It pays per-call via x402 microtransactions, so it suits low-volume, on-demand lookups rather than bulk domain scanning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:34:34.744Z","isFirstParty":false,"canonicalSlug":"x402-web-tools-dns-lookup-f3879d13"}