{"uid":"cap_8jqwtQA7vlQP2T3pB-Nc2","slug":"agent-data-tools-revmesh2074-workers-dev-dns-records-lookup-via-dns-5ba4ce24","name":"DNS Records Lookup via DNS-over-HTTPS","description":"Look up DNS records of a domain over DNS-over-HTTPS (Cloudflare 1.1.1.1): A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY or HTTPS, with each answer's TTL, the response code (NOERROR, NXDOMAIN…) and whether DNSSEC validated. Use to check email (MX, SPF in TXT), verify a domain, or debug a DNS change; for whether the change has spread use dns_propagation.","url":"https://agent-data-tools.revmesh2074.workers.dev/dns/lookup?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Domain name (or a URL; its host is used)"},"type":{"type":"string","description":"Record type: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS (default A)"}}},"responseSchema":{"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"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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_TJpW5N0UBBzwM6UMluNQQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 of any type (A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS) for a domain using Cloudflare 1.1.1.1, returning answers with TTL, response code, and DNSSEC validation status.","exampleAgentPrompt":"Can you look up the MX records for example.com so I can confirm where its email is being delivered, and also check whether DNSSEC is validated?","exampleUseCases":[{"title":"Email routing verification","prompt":"What are the MX records for acme-corp.com? I need to confirm which mail servers are handling their inbound email."},{"title":"SPF record check","prompt":"Can you pull the TXT records for mydomain.io? I want to verify that our SPF record is set up correctly to prevent email spoofing."},{"title":"Post-migration DNS debugging","prompt":"I just changed the A record for api.myapp.com — can you do a DNS lookup to see what IP address it's currently resolving to and what the TTL is?"}],"resultDescription":"Returns an object with the queried domain name, record type, the resolver used (Cloudflare 1.1.1.1), a status code (e.g. NOERROR or NXDOMAIN), a boolean indicating whether DNSSEC was validated, and an array of answer records each containing the record data and its TTL in seconds.","failureModes":["Domain does not exist — status returns NXDOMAIN with an empty answers array","Invalid record type string — may return an error or empty result","Malformed domain name input — resolver may return SERVFAIL","DNSSEC validation failure — dnssec field returns false","Network or resolver timeout — worker may return a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a quick, authoritative DNS lookup via Cloudflare's 1.1.1.1 resolver with DNSSEC validation status included. It supports a wide range of record types in a single call and is ideal for email verification (MX, TXT/SPF), domain existence checks, infrastructure debugging, and security audits. For checking whether a DNS change has propagated across multiple global resolvers, use a dns_propagation endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:21:42.857Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-dns-records-lookup-via-dns-5ba4ce24"}