{"uid":"cap_aC9DLofOIb_AhNcF96TJH","slug":"fittings-dns-lookup-doh-5eb00d12","name":"fittings DNS Lookup (DoH)","description":"Resolve DNS records of any common type over DoH, returning answers with TTLs and the DNSSEC-authenticated flag.","url":"https://fittings.sh/v1/net/dns-lookup?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":["hostname"],"properties":{"type":{"type":"string","description":"A | AAAA | MX | TXT | NS | CNAME | SOA | CAA | SRV | PTR"},"hostname":{"type":"string"}}}},"additionalProperties":false}}},"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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UckejH7FA7E_cjdItP2mW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolve DNS records of any common type (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) over DNS-over-HTTPS, returning answers with TTLs and DNSSEC authentication status.","exampleAgentPrompt":"Can you look up the MX records for example.com using DNS-over-HTTPS and tell me the TTLs and whether the answers are DNSSEC-authenticated?","exampleUseCases":[{"title":"SPF/DKIM email deliverability check","prompt":"Fetch the TXT records for mailchimp.com so I can see its SPF and DKIM entries and check if they're DNSSEC-authenticated."},{"title":"Nameserver discovery for a domain","prompt":"What are the NS records for github.com? I want to know which nameservers are authoritative and what TTLs they have."},{"title":"Reverse DNS PTR lookup","prompt":"Do a PTR record lookup for 8.8.8.8 so I can see what hostname Google's public DNS server resolves to."}],"resultDescription":"A structured list of DNS answer records for the queried hostname and type, each with the record data (e.g. IP address, mail server, text value), its TTL in seconds, and a boolean flag indicating whether the response was DNSSEC-authenticated.","failureModes":["Hostname does not exist (NXDOMAIN) — returns an empty or error response","Unsupported or misspelled record type — validation error","DNS resolution timeout or upstream DoH server unavailable","DNSSEC validation failure for a domain with broken DNSSEC configuration","Rate limiting or payment failure for the x402 micropayment"],"whenToPreferThis":"Choose this endpoint when you need authoritative, DNSSEC-aware DNS resolution over HTTPS without running your own resolver — especially useful for agents verifying email deliverability (SPF/DKIM/DMARC TXT records), auditing domain security posture (CAA, DNSSEC), or programmatically discovering infrastructure (A, AAAA, NS, SRV records) in a serverless or restricted environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:41:48.819Z","isFirstParty":false,"canonicalSlug":"fittings-dns-lookup-doh-5eb00d12"}