DNS lookup
dns_lookupResolve a hostname to IPv4/IPv6 addresses to verify whether it exists and where it points; IP addresses are returned unchanged.
Instructions
Resolve a hostname to its IPv4/IPv6 addresses using the server's DNS resolver. Use it to check whether a name exists and where it points; an IP address is returned unchanged. Only public Internet destinations are allowed by default: targets that resolve to private, loopback, link-local or other non-public addresses are refused unless the server operator sets NETDIAG_ALLOW_PRIVATE=1.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>"
},
"name": "dns_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname (e.g. 'example.com') or IPv4/IPv6 address (e.g. '8.8.8.8'). No URLs, ports, paths or spaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Normalized host that was resolved. | |
| addresses | Yes | Resolved IPv4/IPv6 addresses, resolver order. |