network_reverse_dns
Resolve an IPv4 or IPv6 address to its hostname(s) using a reverse DNS (PTR) lookup.
Instructions
Reverse DNS Lookup (PTR / IP To Hostname). Run a live reverse-DNS (PTR) lookup that resolves an IPv4 or IPv6 address back to its hostname(s) via the in-addr.arpa / ip6.arpa zone. Use it to map an IP to a name; use network_dns_lookup for forward records (A/AAAA/MX/TXT from a hostname) and network_whois for registration/ownership data. Issues outbound DNS queries (preferably via a registered remote worker, with a local resolver fallback), so results vary as DNS changes. CAPTCHA-gated and rate-limited (anonymous 10/min, 60/hour, 200/day). Returns the resolved hostnames plus the PTR query that was issued.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to resolve to a hostname; validated, no scheme/port/CIDR, e.g. 8.8.8.8 or 2001:4860:4860::8888. | |
| dnsServer | No | Optional resolver IP to query; defaults to 8.8.8.8. | 8.8.8.8 |
| worker_id | No | Optional registered healthy worker peer ID. Omit to use the default master-server behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | True on the local resolver path when the lookup completed. | |
| ip | No | The IP address that was queried, echoed back. | |
| dnsServer | No | The resolver IP that was used. | |
| hostnames | No | Resolved hostnames; empty when the IP has no PTR record. | |
| ptrQuery | No | The reverse-zone query issued, e.g. 8.8.8.8.in-addr.arpa or an ip6.arpa name. | |
| ipType | No | IPv4 or IPv6, inferred from the input. | |
| timestamp | No | ISO 8601 timestamp of the response. |