{"uid":"cap_6INp2CbjTcuh6s_mdIFX4","slug":"zeroclick-x402-service-registry-dns-lookup-31704dfd","name":"DNS Lookup via Cloudflare DoH","description":"Look up DNS records for any domain using Cloudflare DNS-over-HTTPS. Supports A, AAAA, CNAME, MX, TXT, NS, and SOA record types. Free, no API key required, unlimited usage.","url":"https://dns.withzero.ai/run?utm_source=zero.xyz","method":"POST","headers":{"X-ZAM-Access-Key":"zeroclick"},"bodySchema":{"type":"object","required":["domain"],"properties":{"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA"],"type":"string","default":"A","description":"DNS record type to query (default: A)"},"domain":{"type":"string","description":"Domain name to look up (e.g. \"example.com\")"}},"additionalProperties":false},"responseSchema":{"type":"object","required":["domain","queryType","records"],"properties":{"domain":{"type":"string","description":"The queried domain name"},"records":{"type":"array","items":{"type":"object","required":["type","value","ttl"],"properties":{"ttl":{"type":"number","description":"Time-to-live in seconds"},"type":{"type":"string","description":"DNS record type (e.g. A, AAAA, CNAME, MX, TXT, NS, SOA)"},"value":{"type":"string","description":"Record value (e.g. IP address, hostname, text content)"}},"additionalProperties":false},"description":"Array of DNS records returned"},"queryType":{"type":"string","description":"The DNS record type that was queried"}},"additionalProperties":false},"example":{"request":{"type":"A","domain":"cloudflare.com"},"response":{"domain":"cloudflare.com","records":[{"ttl":300,"type":"A","value":"104.16.132.229"},{"ttl":300,"type":"A","value":"104.16.133.229"}],"queryType":"A"}},"exampleRequest":{"type":"A","domain":"cloudflare.com"},"tags":["data","dns","domain","lookup","network","records","nameserver"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"mpp","network":"tempo","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lcKu0w1laU0tX3k1S-ciw","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"dns-lookup:1"}],"brandName":"ZeroClick x402 Service Registry","brandSlug":"zeroclick-x402-service-registry","brandBaseUrl":"https://withzero.ai","brandDocsUrl":null,"whatItDoes":"Look up DNS records (A, AAAA, CNAME, MX, TXT, NS, SOA) for any domain using Cloudflare DNS-over-HTTPS","exampleAgentPrompt":"What are the MX records for gmail.com? I want to see which mail servers handle its email.","exampleUseCases":null,"resultDescription":"Returns an object containing the queried domain name, the record type queried, and an array of DNS records each with type, value (e.g. IP address, hostname, or text string), and TTL in seconds.","failureModes":["Domain does not exist — returns empty records array or NXDOMAIN","Invalid domain format — returns error or empty result","Unsupported record type passed — rejected by input validation","Cloudflare DNS upstream timeout — service may return error","No records of the requested type exist — returns empty records array"],"whenToPreferThis":"Use this endpoint when you need fast, reliable DNS resolution without managing API keys or rate limits. Ideal for agents that need to resolve domain infrastructure, verify email configurations, check nameservers, or enrich domain data. Prefer over raw DNS lookups when you need a structured JSON response with typed records and TTLs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T04:29:48.491Z","isFirstParty":true,"canonicalSlug":"zeroclick-x402-service-registry-dns-lookup-31704dfd"}