dns_lookup
Query DNS records with TTLs, follow CNAME chains, and compare resolvers to distinguish NXDOMAIN from NODATA and diagnose domain resolution issues.
Instructions
Look up DNS records with TTLs, following the CNAME chain.
types is a comma-separated list from A, AAAA, CNAME, MX, TXT, NS, CAA, SOA, SRV, PTR.
resolver is 'system' (this machine's configured DNS), 'cloudflare' (1.1.1.1), 'google'
(8.8.8.8), 'quad9', or an IP address (optionally ip:port) to ask a specific server, which
is how you compare what different resolvers see. The result says NXDOMAIN (the name does
not exist) separately from NODATA (the name exists but has no record of that type).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| types | No | A,AAAA | |
| resolver | No | system |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |