Reverse Dns
reverse_dnsFind the hostname for an IP address via reverse DNS lookup. Returns the PTR record if available.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "8.8.8.8"
},
"name": "reverse_dns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address to reverse-lookup (e.g., "8.8.8.8") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address that was queried | |
| status | Yes | DNS status code name (NOERROR, NXDOMAIN, etc.) | |
| hostnames | Yes | List of hostnames found via PTR record | |
| reverse_name | Yes | Reverse DNS name in .in-addr.arpa format | |
| primary_hostname | Yes | Primary hostname from first PTR record or null |