{"uid":"cap_XalS6oNNJVZ2ZGegc9eV5","slug":"mat-web-data-toolkit-dns-lookup-c59d074f","name":"Mat Web & Data Toolkit – DNS Lookup","description":"Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.","url":"https://automatom.matt-d59.workers.dev/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":["host"],"properties":{"host":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"A":["104.20.23.154","172.66.147.243"],"MX":[{"exchange":"","priority":0}],"NS":["hera.ns.cloudflare.com","elliott.ns.cloudflare.com"],"TXT":[["v=spf1 -all"],["_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"]],"AAAA":["2606:4700:10::ac42:93f3","2606:4700:10::6814:179a"],"host":"example.com","CNAME":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rfanoi9bgAxxAZcWFfw94","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a DNS lookup for a given hostname and returns A, AAAA, MX, NS, TXT, and CNAME records as structured JSON.","exampleAgentPrompt":"Can you look up the DNS records for example.com — I want to see the A, MX, NS, and TXT records?","exampleUseCases":[{"title":"Email domain deliverability check","prompt":"Can you pull the DNS records for acme-corp.com? I specifically need the MX and TXT records to verify their SPF and mail server setup."},{"title":"Website IP address resolution","prompt":"What IP addresses does shopify.com resolve to? Fetch the A and AAAA records so I can see their IPv4 and IPv6 addresses."},{"title":"Nameserver configuration audit","prompt":"Look up the nameservers and CNAME records for mybrand.io — I need to confirm the DNS is pointed at the right provider."}],"resultDescription":"Returns a JSON object keyed by record type (A, AAAA, MX, NS, TXT, CNAME) plus the queried host. A records are arrays of IPv4 strings, AAAA arrays of IPv6 strings, MX arrays of objects with exchange and priority fields, NS arrays of nameserver strings, TXT arrays of string arrays, and CNAME an array of canonical names.","failureModes":["Invalid or non-existent hostname returns empty arrays or an error object","Missing required 'host' query parameter results in a 400-level error","Private/internal hostnames that don't resolve publicly return empty record sets","Rate limiting or payment failure (x402) returns a 402 Payment Required response","Transient DNS resolution timeouts may return incomplete or empty results"],"whenToPreferThis":"Choose this endpoint when you need structured, multi-record-type DNS data for a single hostname in one call, especially when you require A, AAAA, MX, NS, TXT, and CNAME records together. It is well-suited for lightweight automation tasks (email validation, infrastructure audits, domain verification) where a full DNS library is overkill and a simple pay-per-call JSON API is preferable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:33:38.155Z","isFirstParty":false,"canonicalSlug":"mat-web-data-toolkit-dns-lookup-c59d074f"}