DNS lookup
dns_lookupResolve one DNS record type (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA or SRV) for a name and return the raw answers. Use for a quick, targeted lookup, including on subdomains and names such as _dmarc.example.com; prefer dossier_dns for a domain's main records in one call. Queries Cloudflare DNS-over-HTTPS. Returns a JSON array of {name, type, TTL, data}; an empty array means the name exists but has no record of that type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name to resolve, e.g. example.com or mail.example.com. | |
| type | Yes | Record type to query. |