{"id":"t/dns_lookup","kind":"forged","name":"dns_lookup","description":"Performs a DNS-over-HTTPS lookup for a domain and record type (A, AAAA, MX, TXT, NS, CNAME) via https://dns.google/resolve?name=<domain>&type=<type>. Returns the resolved status and list of answer records.","tags":["dns","network","domain","lookup"],"method":"POST","path":"/v1/t/dns_lookup","url":"https://toll402.dev/v1/t/dns_lookup","specUrl":"https://toll402.dev/v1/spec/t/dns_lookup","price":"$0.002","priceUsd":0.002,"available":true,"inputSchema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name to query, e.g. example.com"},"type":{"type":"string","enum":["A","AAAA","MX","TXT","NS","CNAME"],"description":"DNS record type"}},"required":["domain","type"],"additionalProperties":false},"example":{"domain":"google.com","type":"NS"},"meta":{"creator":null,"createdAt":"2026-09-09T07:30:28.726Z","calls":7,"failures":6,"network":true,"notes":"Uses Google's public DNS-over-HTTPS JSON API (https://dns.google/resolve) via a single GET fetch, validates domain format and record type client-side, and maps the Answer array (if present) into {name,type,data} objects; throws clear errors on invalid input, network failure, non-OK HTTP status, or malformed JSON."}}