Reverse DNS (PTR)
reverse_dnsResolve reverse DNS (PTR) records for an IP address to discover the hostname(s) mapped to it.
Instructions
Resolve the PTR (reverse DNS) records for an IP address — the hostname(s) the IP maps back to.
Args:
ip (string): IPv4 or IPv6 address.
response_format ('markdown' | 'json'): output format (default 'markdown').
Returns: { ip, hostnames: string[] }.
Example: "What hostname does 8.8.8.8 reverse to?" -> reverse_dns(ip="8.8.8.8"). Errors: returns an error if the IP is invalid or has no PTR record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address, e.g. '1.1.1.1'. | |
| response_format | No | Output format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| hostnames | Yes |