{"uid":"cap_I6dSN4-ujcALnQP09Ie2U","slug":"dns-lookup-via-public-resolvers-a-aaaa-mx-txt-ns-cname-caa-soa-srv-3db94480","name":"DNS Lookup via Public Resolvers (A, AAAA, MX, TXT, NS, CNAME, CAA, SOA, SRV)","description":"DNS lookup: A, AAAA, MX, TXT, NS, CNAME, CAA, SOA, SRV via public resolvers — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/web/dns?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"types":{"type":"string","description":"optional comma list, e.g. MX,TXT"},"domain":{"type":"string","description":"required"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"dns-lookup","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"sources":[{"ok":true,"name":"<source>"}],"limitations":"<text>","generated_at":"<iso time>","evidence_hash":"sha256:<64hex>"}},"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_BpE32YsAh7hi3llE38blZ","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 across multiple record types (A, AAAA, MX, TXT, NS, CNAME, CAA, SOA, SRV) using public resolvers","exampleAgentPrompt":"Can you look up the MX and TXT records for example.com so I can check its mail server configuration and SPF policy?","exampleUseCases":[{"title":"Verify email deliverability records","prompt":"Check the MX and TXT DNS records for acme-corp.com — I want to see the mail servers and whether there's an SPF record set up correctly."},{"title":"Confirm DNS propagation after migration","prompt":"Look up the A and NS records for newsite.io — I just migrated the domain and want to verify the new IP and nameservers have propagated."},{"title":"Audit domain security records","prompt":"Pull the CAA and TXT records for mybusiness.com so I can check which certificate authorities are allowed to issue SSL certs for it."}],"resultDescription":"Returns DNS record data for the queried domain, organized by record type. Each record type (A, AAAA, MX, TXT, NS, CNAME, CAA, SOA, SRV) returns the relevant values such as IP addresses, hostnames, priorities, and raw text strings as returned by public resolvers.","failureModes":["Domain does not exist (NXDOMAIN) — returns empty or error response","Invalid domain name format — validation error","Unsupported or misspelled record type in types parameter — may be ignored or error","Resolver timeout if upstream public DNS is slow — request may fail","No records of the requested type exist — returns empty result set"],"whenToPreferThis":"Choose this endpoint when you need programmatic DNS record resolution without running your own resolver infrastructure, especially when you need multiple record types in a single call. Suitable for lightweight agents performing email deliverability checks, domain validation, infrastructure audits, or DNS propagation verification. At $0.001 per call it is cost-effective for occasional lookups. Prefer it over full DNS libraries when your runtime environment does not support raw DNS queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:53:38.648Z","isFirstParty":false,"canonicalSlug":"dns-lookup-via-public-resolvers-a-aaaa-mx-txt-ns-cname-caa-soa-srv-3db94480"}