{"uid":"cap_SCSB927awyUf2xQrnk4pi","slug":"toolvend-dev-dns-lookup-doh-93def1a2","name":"toolvend.dev DNS Lookup (DoH)","description":"DNS lookup over DoH. Common record types (A, AAAA, MX, TXT, NS, CAA, ...) as clean JSON.","url":"https://toolvend.dev/dns","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","maxLength":253,"minLength":1,"description":"DNS name to resolve"},"type":{"enum":["A","AAAA","CNAME","MX","NS","TXT","SOA","SRV","CAA","DS","DNSKEY","TLSA","HTTPS"],"type":"string","description":"Record type, default A"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xUKUFJLO0-UMDZ5b4jt6b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves DNS records for any domain name via DNS-over-HTTPS, returning structured JSON for common record types (A, AAAA, MX, TXT, NS, CAA, and more).","exampleAgentPrompt":"Can you look up the MX records for gmail.com so I can see which mail servers handle their email?","exampleUseCases":[{"title":"Email deliverability troubleshooting","prompt":"Look up the MX and TXT records for example.com — I need to check if their SPF and DKIM are set up correctly."},{"title":"DNSSEC validation check","prompt":"Fetch the DS and DNSKEY records for cloudflare.com so I can verify their DNSSEC chain of trust."},{"title":"IPv6 connectivity check","prompt":"Resolve the AAAA record for api.stripe.com — I want to confirm they have an IPv6 address before I update my firewall rules."}],"resultDescription":"A clean JSON object containing the resolved DNS records for the queried domain and record type, including record values (e.g. IP addresses, hostnames, priority values, TTLs) structured by record type.","failureModes":["Domain does not exist (NXDOMAIN) — returns empty or error response","Invalid domain name format — rejected by schema validation (minLength/maxLength)","Unsupported record type — only the enumerated types (A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, CAA, DS, DNSKEY, TLSA, HTTPS) are accepted","DNS resolution timeout — upstream resolver may be slow or unreachable","Payment failure — x402 payment of $0.005 USDC not processed correctly"],"whenToPreferThis":"Use this endpoint when you need a fast, structured JSON response for DNS lookups without parsing raw DNS wire format or dealing with plain-text WHOIS/dig output. Prefer it over RDAP (which gives registrar/registration data) when you need live DNS resolution. Ideal for agents that need to programmatically check mail servers, IP addresses, SPF/DKIM records, DNSSEC chains, or nameservers as part of an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:56.944Z","isFirstParty":false}