fritz_dns
Diagnose why a host name does or does not resolve by comparing router DNS answers, local resolver results, search domains, and host table, then return a verdict and likely cause.
Instructions
Explains why a host name does or does not resolve. Gathers the local domain, the DNS servers and the host table the router hands out, the answers of the router's DNS server and of this machine's resolver, and this machine's resolvers and search domains, and returns them with a verdict and the likely cause. Sends DNS queries for this name only, which this machine's resolver may forward to the internet; changes nothing. Use it when a name fails or points to the wrong address; for whether a host is reachable use fritz_diagnose.
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": {
"name": "<name>"
},
"name": "fritz_dns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The host name to check, fully qualified or short, like `nas.fritz.box` or `nas`. | |
| router_dns | No | The DNS server asked as the router, like `192.168.178.1`. Default: the LAN address of the device. | |
| expected_ip | No | The address the answers should have, like `192.168.178.20`; the verdict then says whether they match. |