{"uid":"cap_q3shF6dsGeH2LEEjwxwEW","slug":"agent-data-tools-revmesh2074-workers-dev-dns-lookup-records-of-a-domain-77ebfddd","name":"DNS Lookup: Records of a Domain","description":"DNS lookup of a domain: A, AAAA, MX, TXT, CNAME, NS, CAA, SOA and other records through Cloudflare DNS over HTTPS, with TTLs, the response code and DNSSEC validation. Use to check where a domain points, its mail servers or a TXT verification record.","url":"https://agent-data-tools.revmesh2074.workers.dev/dns/records?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","examples":["example.com"],"description":"Domain name (or a URL; its host is used)"},"type":{"type":"string","examples":["MX"],"description":"Record type: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS (default A)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"dnssec":{"type":"boolean"},"status":{"type":"string"},"answers":{"type":"array","items":{"type":"object","properties":{"ttl":{"type":"number"},"data":{"type":"string"}}}},"resolver":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"name":"example.com","type":"MX","dnssec":true,"status":"NOERROR","answers":[{"ttl":86400,"data":"0 ."}],"resolver":"Cloudflare"}},"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_N64u8x4Hg6Xt-xuhCDBBV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Looks up DNS records (A, AAAA, MX, TXT, CNAME, NS, CAA, SOA, and more) for a domain via Cloudflare DNS over HTTPS, returning answers with TTLs, DNSSEC status, and response code.","exampleAgentPrompt":"What are the MX records for stripe.com — I need to know which mail servers handle its email?","exampleUseCases":[{"title":"Verify domain email configuration","prompt":"Look up the TXT records for acme-corp.com — I need to check if they have an SPF record set up correctly for email deliverability."},{"title":"Check where a domain resolves","prompt":"What IP address does shop.example.com point to? Give me the A record and tell me if DNSSEC is validated."},{"title":"Find nameservers for a domain","prompt":"Can you look up the NS records for mybusiness.io so I can confirm it's using the right nameservers after I transferred it?"}],"resultDescription":"Returns an object with the queried domain name, the record type requested, DNSSEC validation boolean, DNS response status code (e.g. NOERROR, NXDOMAIN), an array of answer records each containing the record data and TTL in seconds, and the resolver used (Cloudflare DNS over HTTPS).","failureModes":["Domain does not exist — returns NXDOMAIN status with empty answers array","Record type not found for domain — returns NOERROR with empty answers","Invalid domain name format — may return error or empty result","SERVFAIL status if the authoritative nameserver is unreachable or misconfigured","DNSSEC validation failure indicated in dnssec field being false"],"whenToPreferThis":"Use this endpoint when you need authoritative, real-time DNS record lookups for any standard record type, especially when DNSSEC validation status matters. Prefer this over whois-style lookups for IP/mail/TXT resolution tasks. It is ideal for verifying email infrastructure (SPF, DKIM, DMARC TXT records), confirming domain propagation, checking nameserver delegation, or inspecting CAA certificate authority policies — all via Cloudflare's reliable DNS over HTTPS infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-09T18:36:23.962Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-dns-lookup-records-of-a-domain-77ebfddd"}