DNS lookup
dns_lookupTroubleshoot DNS resolution by querying A, AAAA, MX, TXT, NS, CNAME, or SOA records. Supports optional custom DNS server.
Instructions
Resolve DNS records for a name. Supports A/AAAA/MX/TXT/NS/CNAME/SOA and an optional custom resolver. Use this when you ONLY need to check DNS resolution. For a full 'why can't I reach X' verdict that also checks ping/TCP/TLS/HTTP, use net_diagnose instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | hostname to resolve | |
| type | No | record type (default A) | |
| server | No | custom DNS resolver IP |