{"uid":"cap_cXIurlCboRYKo9GHYLHkc","slug":"aayat-ai-dns-lookup-9d0be42f","name":"Aayat AI DNS Lookup","description":"Look up DNS records for any domain: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS, or ALL common types at once. Pass ?name=example.com&type=MX. An IP address with type=PTR does a reverse lookup. Uses DNS-over-HTTPS (Cloudflare 1.1.1.1) and reports DNSSEC validation and NXDOMAIN.","url":"https://aayatai.com/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","maxLength":253,"description":"Domain name (or IP address for PTR), e.g. example.com."},"type":{"enum":["A","AAAA","CNAME","MX","NS","TXT","SOA","CAA","SRV","PTR","DS","DNSKEY","HTTPS","SVCB","ALL"],"type":"string","default":"A","description":"Record type, or ALL for the common ones."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["name","type","status","dnssecValidated","records"],"properties":{"name":{"type":"string","description":"The name that was looked up."},"type":{"type":"string"},"status":{"type":"string","description":"NOERROR, NXDOMAIN (does not exist), SERVFAIL, ..."},"records":{"type":"array","items":{"type":"object","required":["name","type","ttl","data"],"properties":{"ttl":{"type":"integer"},"data":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}},"dnssecValidated":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"name":"example.com","type":"MX","status":"NOERROR","records":[{"ttl":86400,"data":"0 .","name":"example.com","type":"MX"}],"dnssecValidated":true}},"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_QMfRhcmt_DRizgm1cOcyX","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":"Performs DNS record lookups for a given domain name or IP address, returning records, status, and DNSSEC validation info","exampleAgentPrompt":"Look up all DNS records for github.com — I want to see the A, MX, and TXT records along with whether DNSSEC is validated.","exampleUseCases":[{"title":"Email deliverability MX record check","prompt":"What are the MX records for stripe.com? I need to know which mail servers handle their email and whether DNSSEC is enabled."},{"title":"Domain existence verification","prompt":"Does the domain newstartup-xyz123.com actually exist in DNS? Check if it resolves or returns NXDOMAIN."},{"title":"PTR reverse DNS lookup for IP","prompt":"Look up the PTR record for IP address 8.8.8.8 — I want to know the reverse DNS hostname for that address."}],"resultDescription":"Returns a JSON object with the queried domain name, record type, DNS status code (e.g. NOERROR, NXDOMAIN, SERVFAIL), an array of matching DNS records each containing name, type, TTL, and data fields, and a boolean indicating whether DNSSEC validation passed.","failureModes":["NXDOMAIN returned if the domain does not exist","SERVFAIL if the upstream DNS resolver encounters an error","Empty records array if the requested record type has no entries for that domain","Invalid domain name format may result in an error response","Network timeouts for slow or unreachable authoritative nameservers"],"whenToPreferThis":"Use this endpoint when you need a simple, pay-per-call DNS lookup without setting up accounts or API keys. Ideal for AI agents that occasionally need to resolve domain records, check DNSSEC status, or verify domain existence as part of a larger workflow, especially when paying via USDC on Base or Solana via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:49:48.561Z","isFirstParty":false,"canonicalSlug":"aayat-ai-dns-lookup-9d0be42f"}