IP to Hostname
Find the reverse DNS hostname for a public IPv4 or IPv6 address.
Last updated: May 29, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is IP to Hostname?
IP to Hostname performs a reverse DNS lookup. Instead of asking DNS for the address of a hostname, it converts an IP address into the matching reverse lookup name and queries PTR records. PTR records are commonly used by mail systems, hosting providers, and network operators to identify the hostname associated with an IP address.
How to Use IP to Hostname
Enter an IPv4 or IPv6 address.
Click Find PTR.
Review the PTR hostnames returned by reverse DNS.
Copy a hostname or download the lookup report.
Common Use Cases
- Checking the reverse DNS name for a mail server IP.
- Identifying the hostname configured by a hosting provider.
- Investigating IPs found in server logs.
- Validating PTR setup before sending mail from a server.
- Comparing forward DNS and reverse DNS during network troubleshooting.
Example Input and Output
Reverse DNS lookup for a public DNS resolver.
8.8.8.8PTR: dns.googleHow This Tool Works
IPv4 addresses are reversed into in-addr.arpa names. IPv6 addresses are expanded to nibbles and reversed into ip6.arpa names. The tool then queries PTR records through the DNS proxy.
Technical Stack
Privacy Note
The IP address is converted into a reverse DNS query and sent through the WebToolsPlanet DNS proxy to Cloudflare DNS-over-HTTPS.

