{"uid":"cap_rN4p3TVmVk7jwMunxZQhy","slug":"how-is-dns-records-lookup-c95d397d","name":"how.is DNS Records Lookup","description":"A, AAAA, MX, NS, TXT and other records for a domain, with resolve timing.","url":"https://how.is/v1/domain/dns?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"domain":{"type":"string","maxLength":253,"description":"A bare domain name, e.g. example.com"}}},"responseSchema":{"type":"json","example":{"data":{"_shape":"data.data.records keyed by record type (A, AAAA, MX, NS, TXT, ...); data.data.responseTime."},"result":"DNS records for the requested subject","receipt":{"rail":"x402","tool":"dns","charge_usd":0.005,"settlement_tx":"0x…"}}},"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_ruKHpaqGH-L9hC7irvugB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches A, AAAA, MX, NS, TXT and other DNS records for a domain along with resolve timing.","exampleAgentPrompt":"What are all the DNS records for stripe.com — I want to see the A, MX, NS, and TXT entries and how fast they resolved.","exampleUseCases":[{"title":"Email deliverability debugging","prompt":"Pull up all the DNS records for mycompany.com — specifically the MX and TXT records — so I can check whether our SPF, DKIM, and DMARC are configured correctly."},{"title":"Domain infrastructure reconnaissance","prompt":"Look up all the DNS records for competitor.io — I want to know their nameservers, IP addresses, and any TXT records they have set up."},{"title":"Verifying new domain configuration","prompt":"Can you check the DNS records for newsite.example.com and confirm the A record is pointing to 203.0.113.42 and the nameservers are set up correctly?"}],"resultDescription":"A JSON object keyed by DNS record type (A, AAAA, MX, NS, TXT, and others if present), each containing the record values returned by authoritative DNS servers, plus a responseTime field indicating how long the DNS resolution took in milliseconds, and a receipt confirming the x402 micropayment charge of $0.005 USDC.","failureModes":["Domain does not exist (NXDOMAIN) — returns empty or error result","Domain exceeds 253-character limit — rejected at input validation","DNS timeout — resolver could not reach authoritative server within time limit","Malformed domain string (contains spaces or invalid characters) — validation error","SERVFAIL from authoritative DNS — upstream error reported in response"],"whenToPreferThis":"Use this endpoint when you need raw, structured DNS record data for a domain including timing information and all record types in a single call. Prefer it over generic DNS tools when you need the resolve latency metric alongside records, or when operating in an x402 micropayment-native agent context. If you only need to check domain registration status, prefer the domain age or RDAP endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:40.015Z","isFirstParty":false,"canonicalSlug":"how-is-dns-records-lookup-c95d397d"}