Reverse DNS Lookup
Enter an IPv4 or IPv6 address to instantly resolve its PTR record hostname via Cloudflare DNS-over-HTTPS.
Use the Reverse DNS Lookup
IP Address
Quick Examples
Recent
No lookups yet
Enter an IP address to resolve its hostname
Supports IPv4 and IPv6
Querying DNS-over-HTTPS...
Resolved Hostname
PTR Query Name
Equivalent Terminal Command
Copied!
Summary
The Reverse DNS Lookup tool resolves any IPv4 or IPv6 address to its associated hostname by querying a PTR record via Cloudflare's public DNS-over-HTTPS API. No software installation is needed — all lookups run directly in your browser. Results include the full PTR record name, returned hostname, and response time so you can diagnose mail server configuration, verify hosting providers, and investigate unfamiliar IP addresses in seconds.
How it works
- Enter an IPv4 address (e.g. 8.8.8.8) or IPv6 address in the input field.
- The tool formats the address as a PTR query name (reversed octets + .in-addr.arpa for IPv4).
- A DNS-over-HTTPS request is sent to Cloudflare's public resolver (no API key needed).
- The PTR record answer is parsed and the resolved hostname is displayed.
- Response time, raw PTR name, and TTL are shown alongside the hostname.
Use cases
- Verify that a mail server IP has a matching PTR record for email deliverability.
- Identify the hosting provider or ISP behind an IP address.
- Investigate unfamiliar IP addresses found in server logs.
- Confirm that forward and reverse DNS are consistent for a domain.
- Troubleshoot failed reverse DNS lookups in your own infrastructure.
- Check PTR records before sending bulk email from a new IP.
- Audit server IPs to ensure hostnames match expected values.
- Quickly perform rDNS checks without a terminal or dig installed.
Frequently Asked Questions
Last updated: 2026-06-11 · Reviewed by Nham Vu