DNS ($0.001)
dnsLook up DNS records for any domain: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS, or ALL common types at once. An IP address with type=PTR does a reverse lookup. Uses DNS-over-HTTPS (Cloudflare 1.1.1.1) and reports DNSSEC validation and NXDOMAIN. Price: $0.001 in USDC per call (x402 or prepaid credits). In the free trial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Domain name (or IP address for PTR), e.g. example.com. | |
| type | No | Record type, or ALL for the common ones. | A |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name that was looked up. | |
| type | Yes | ||
| status | Yes | NOERROR, NXDOMAIN (does not exist), SERVFAIL, ... | |
| records | Yes | ||
| dnssecValidated | Yes |