{"slug":"http-forest-gas-station-mainnet-lcjl27p8lmjs-code-run-dns-sn-927d09","title":"Fetch one bounded public DNS snapshot for A, AAAA, CNAME, MX, NS, SOA and TXT in","host":"http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run","method":"POST","resource":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/dns/snapshot","category":"code","description":"Fetch one bounded public DNS snapshot for A, AAAA, CNAME, MX, NS, SOA and TXT in a single call. Forest uses a fixed public DNS-over-HTTPS resolver, distinguishes answers, NODATA, NXDOMAIN and per-type resolver errors, and marks mixed trustworthy/error outcomes as partial instead of converting resolv","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1231,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"name":"example.com"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"name":{"description":"Public DNS hostname to resolve.","maxLength":253,"minLength":1,"pattern":"^[a-zA-Z0-9.-]+$","type":"string"}},"required":["name"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"capability":{"const":"dns.snapshot","description":"Public capability value used to scope this lookup."},"data":{"additionalProperties":false,"description":"Public data value used to scope this lookup.","properties":{"failed_types":{"description":"Public failed types value used to scope this lookup.","maximum":6,"minimum":0,"type":"integer"},"name":{"description":"Public DNS hostname to resolve.","maxLength":253,"minLength":1,"type":"string"},"partial":{"description":"Public partial value used to scope this lookup.","type":"boolean"},"record_types":{"description":"Public record types value used to scope this lookup.","items":{"enum":["A","AAAA","CNAME","MX","NS","SOA","TXT"]},"maxItems":7,"minItems":7,"type":"array"},"records":{"description":"Public records value used to scope this lookup.","items":{"additionalProperties":false,"properties":{"answers":{"description":"Public answers value used to scope this lookup.","items":{"maxLength":2048,"minLength":1,"type":"string"},"maxItems":16,"type":"array"},"error_code":{"description":"Public rcode value used to scope this lookup.","type":["string","null"]},"rcode":{"description":"Public rcode value used to scope this lookup.","type":["string","null"]},"record_type":{"description":"Public record type value used to scope this lookup.","enum":["A","AAAA","CNAME","MX","NS","SOA","TXT"]},"state":{"description":"Public state value used to scope this lookup.","enum":["answer","nodata","nxdomain","error"]},"ttl_max":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"description":"Public ttl min value used to scope this lookup."},"ttl_min":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"description":"Public ttl min value used to scope this lookup."}},"required":["record_type","state","rcode","answers","ttl_min","ttl_max","error_code"],"type":"object"},"maxItems":7,"minItems":7,"type":"array"},"source":{"const":"Cloudflare DNS over HTTPS","description":"Public source value used to scope this lookup."},"source_scope":{"const":"fixed_public_recursive_doh","description":"Public source scope value used to scope this lookup."},"state":{"description":"Public state value used to scope this lookup.","enum":["complete","partial","nxdomain"]},"successful_types":{"description":"Public successful types value used to scope this lookup.","maximum":7,"minimum":1,"type":"integer"}},"required":["name","state","partial","record_types","successful_types","failed_types","source","source_scope","records"],"type":"object"},"meta":{"additionalProperties":false,"description":"Public meta value used to scope this lookup.","properties":{"cache":{"description":"Public cache value used to scope this lookup.","enum":["hit","miss","bypass"]},"checked_at":{"description":"Public checked at value used to scope this lookup.","type":"string"},"duration_ms":{"description":"Public duration ms value used to scope this lookup.","minimum":0,"type":"integer"},"provider":{"description":"Public provider value used to scope this lookup.","type":["string","null"]}},"required":["provider","checked_at","cache","duration_ms"],"type":"object"},"ok":{"const":true,"description":"Public ok value used to scope this lookup."},"version":{"const":"1","description":"Package version whose public metadata should be checked."}},"required":["ok","capability","version","data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1231,"error":null}],"description_full":"Fetch one bounded public DNS snapshot for A, AAAA, CNAME, MX, NS, SOA and TXT in a single call. Forest uses a fixed public DNS-over-HTTPS resolver, distinguishes answers, NODATA, NXDOMAIN and per-type resolver errors, and marks mixed trustworthy/error outcomes as partial instead of converting resolver failure into an empty DNS result. Base mainnet USDC","last_updated":"2026-10-21T17:37:41.975Z","schemes":["exact"]}