dns_lookup
Resolve DNS records for a hostname, supporting A, AAAA, MX, TXT, NS, CNAME, and ALL record types with a configurable timeout.
Instructions
[Diagnostics] Perform DNS lookup for hostname
Example usage:
{
"hostname": "google.com",
"record_type": "A",
"timeout": 5000
}Supported record types: A, AAAA, MX, TXT, NS, CNAME, ALL
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": {
"hostname": "<hostname>"
},
"name": "dns_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout in milliseconds (default: 5000, max: 10000) | |
| hostname | Yes | Hostname to lookup (e.g., "google.com") | |
| record_type | No | DNS record type to query (default: A) | A |