{"uid":"cap_j4NKAROq0qdTs4G4msalL","slug":"foundry-dns-lookup-c8e571ab","name":"Foundry DNS Lookup","description":"DNS lookup: A, AAAA, MX, TXT, NS, CNAME, SOA or CAA records for a domain, via DNS-over-HTTPS. Input: 'example.com MX'.","url":"https://minty-sprout.onrender.com/v1/dns-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Domain, optionally followed by a record type, e.g. 'example.com TXT'"}}},"responseSchema":{"type":"json","example":{"name":"coinbase.com","type":"MX","records":[{"ttl":300,"data":"1 aspmx.l.google.com.","name":"coinbase.com","type":"MX"}],"resolver":"cloudflare-dns.com (DoH)"}},"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_l-0yzdYSaL-qKlfe3ci4i","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, MX, TXT, NS, CNAME, SOA, CAA) for a domain using DNS-over-HTTPS via Cloudflare","exampleAgentPrompt":"What are the MX records for coinbase.com? Use DNS-over-HTTPS to look them up.","exampleUseCases":[{"title":"Verify email routing configuration","prompt":"Look up the MX records for acme-corp.com so I can see which mail servers handle their email."},{"title":"Check domain ownership TXT record","prompt":"Can you fetch the TXT records for startup.io? I need to see if their SPF record is set up correctly."},{"title":"Find nameservers for a domain","prompt":"What NS records does shopify.com have? I want to know which DNS provider they're using."}],"resultDescription":"Returns a JSON object with the domain name, queried record type, the list of matching DNS records (each containing name, type, TTL, and data), and the resolver used (e.g. cloudflare-dns.com via DoH).","failureModes":["Domain does not exist (NXDOMAIN) — returns empty records or error","Unsupported record type specified — may return error or empty result","Malformed input string — missing domain or invalid format","Network timeout reaching the DoH resolver","Rate limiting or upstream resolver unavailability"],"whenToPreferThis":"Use this endpoint when you need to resolve any standard DNS record type for a domain using DNS-over-HTTPS for privacy and reliability. It's ideal for agents checking mail routing, validating domain ownership, verifying security records (SPF, DKIM, DMARC via TXT), or investigating infrastructure. Prefer this over raw DNS queries when you need a structured JSON response with TTL data and no local DNS resolver dependency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.055Z","isFirstParty":false,"canonicalSlug":"foundry-dns-lookup-c8e571ab"}