DNS Lookup (cluster view)
dns_lookupResolve a hostname inside a Kubernetes cluster and compare internal DNS results with external DNS to detect split-horizon issues.
Instructions
Resolve a hostname from inside the cluster by execing nslookup/getent/python in a running pod. Compares cluster-DNS view to external DNS to detect split-horizon issues.
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 |
|---|---|---|---|
| hostname | Yes | Hostname to resolve | |
| record_type | No | DNS record type (default A) |