{"uid":"cap_3ODw_hDZhmsAIP7Yk_eFz","slug":"dns-lookup-b68f5717","name":"DNS Lookup","description":"DNS records of a domain: A, AAAA, MX, TXT, NS, CNAME, SOA and CAA, plus SPF and DNSSEC status, via Cloudflare/Google DNS-over-HTTPS. Use to check where a domain points, its mail servers, verification TXT records or why email or a website is failing.","url":"https://bess-x402.onrender.com/v1/web/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["domain"],"properties":{"types":{"type":"string","description":"Comma-separated record types (default all): A,AAAA,MX,TXT,NS,CNAME,SOA,CAA"},"domain":{"type":"string","description":"Domain name, e.g. stripe.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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_tJs_UGX1Kyf4WhG4aQcy2","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":"Fetches DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) plus SPF and DNSSEC status for any domain via Cloudflare/Google DNS-over-HTTPS","exampleAgentPrompt":"Can you look up all the DNS records for stripe.com — I want to see where it points, its mail servers, any TXT records, and whether DNSSEC is enabled?","exampleUseCases":[{"title":"Email deliverability troubleshooting","prompt":"Emails from our domain acme.com keep landing in spam — can you pull the MX and TXT records so I can check if our SPF record is set up correctly?"},{"title":"Domain migration verification","prompt":"We just migrated newsite.io to a new host — can you check the A and CNAME records to confirm they're pointing to the right IP addresses?"},{"title":"Third-party domain ownership verification","prompt":"I need to verify that example.com has the Google Search Console TXT record we added — can you fetch the TXT records for that domain?"}],"resultDescription":"Returns structured JSON containing all requested DNS record types (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) for the specified domain, along with SPF and DNSSEC status. Each record type includes the relevant values (e.g. IP addresses, hostnames, priority, TTL). Resolved via Cloudflare and Google DNS-over-HTTPS for reliable, up-to-date results.","failureModes":["Domain does not exist (NXDOMAIN) — empty or error response for that record type","Invalid domain format — validation error returned","DNS resolution timeout — upstream Cloudflare/Google query failure","No records of requested type exist — empty array for that record type","Rate limiting or upstream DNS-over-HTTPS unavailability"],"whenToPreferThis":"Choose this endpoint when you need programmatic, structured DNS record data for a specific domain — especially for troubleshooting email deliverability (SPF, MX), verifying domain ownership (TXT), checking where a domain resolves (A/CNAME), or confirming security configuration (DNSSEC, CAA). Prefer this over raw WHOIS/RDAP lookups when you need live DNS resolution rather than registration data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T18:36:33.379Z","isFirstParty":false,"canonicalSlug":"dns-lookup-b68f5717"}