{"uid":"cap_U8EQYs6OR68VOQMGe1y0c","slug":"agent-toolbox-dns-lookup-b322e058","name":"Agent Toolbox DNS Lookup","description":"DNS records of a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) over DNS-over-HTTPS (1.1.1.1), with DNSSEC validation status.","url":"https://agent-toolbox.zafermemon87.workers.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"},"type":{"enum":["A","NS","CNAME","SOA","PTR","MX","TXT","AAAA","SRV","CAA"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"example.com","type":"MX","plain":"1 MX record(s) for example.com.","status":"NOERROR","records":[{"ttl":300,"data":"0 .","name":"example.com","type":"MX"}],"dnssec_validated":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f6E6hR-9z_oCy__gtdJVH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Queries DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) for a domain via DNS-over-HTTPS (Cloudflare 1.1.1.1) with DNSSEC validation status.","exampleAgentPrompt":"What are the MX records for gmail.com? I want to see which mail servers handle their email, and also check if DNSSEC is valid for the domain.","exampleUseCases":[{"title":"Email deliverability troubleshooting","prompt":"Can you look up the TXT records for shopify.com? I need to check what SPF and DKIM entries they have configured for email authentication."},{"title":"Verify domain IP address","prompt":"What IP address does stripe.com resolve to? Look up its A records for me."},{"title":"Check nameserver delegation","prompt":"Who manages DNS for github.com? Pull the NS records so I can see which nameservers are authoritative for that domain."}],"resultDescription":"Returns DNS resource records of the requested type for the domain, including record values, TTLs, and DNSSEC validation status, sourced from Cloudflare's 1.1.1.1 DNS-over-HTTPS resolver.","failureModes":["Domain does not exist (NXDOMAIN) — returns empty or error response","Requested record type not present for domain — returns empty answer section","DNSSEC validation failure — may indicate misconfiguration or tampering","Network timeout reaching Cloudflare DoH resolver","Invalid domain name format in query parameter"],"whenToPreferThis":"Use this endpoint when you need authoritative DNS record data for any domain, especially when DNSSEC validation status is important. Prefer it over generic WHOIS/RDAP for operational DNS data (routing, mail, security records). It supports all major record types (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) and uses Cloudflare's privacy-respecting DNS-over-HTTPS infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:34:31.293Z","isFirstParty":false,"canonicalSlug":"agent-toolbox-dns-lookup-b322e058"}