Reverse DNS lookup
Last updated
Find the hostname behind any IPv4 or IPv6 address. FernTool looks up the PTR record, then checks that the hostname points back to the same IP (forward-confirmed reverse DNS).
Try: 1.1.1.1 · 8.8.8.8 · 2606:4700:4700::1111
How reverse DNS works
Forward DNS answers the question “what is the IP address of example.com?” Reverse DNS answers the opposite: “what name belongs to this IP address?” It works through special domains. For IPv4, the address is written backwards under in-addr.arpa, so 203.0.113.7 becomes 7.113.0.203.in-addr.arpa. For IPv6, every hex digit (nibble) of the full address is reversed under ip6.arpa, which gives a 72-character name. The record stored there is a PTR (pointer) record containing the hostname. FernTool builds that query for you and sends it to Cloudflare’s 1.1.1.1 resolver over DNS-over-HTTPS.
Forward-confirmed reverse DNS
Anyone who controls an IP block can put any name in its PTR record, even mail.google.com. So a PTR record on its own proves little. The check that matters is forward confirmation: look up the A or AAAA record of the hostname and see whether it includes the original IP. Only the real domain owner can make that match. Mail servers, logging tools and anti-abuse systems rely on this two-way check, and FernTool shows the result as “Forward-confirmed: yes/no”.
What reverse DNS reveals
PTR hostnames often contain useful clues. Residential lines frequently encode the IP and the ISP (for example 41-0-0-5.dsl.provider.net). Cloud servers show the provider and region, such as ec2-…compute.amazonaws.com. Corporate servers usually carry descriptive names like mail.company.com. Combine reverse DNS with the IP lookup, which flags VPNs, Tor exit nodes and datacenter ranges, and the WHOIS lookup, which shows the network owner and abuse contact, to quickly identify where traffic is coming from.
Reverse DNS and security tools
Logs from web servers, firewalls and SSH usually record only IP addresses. Running them through reverse DNS turns a wall of numbers into names you can recognise at a glance, such as search-engine crawlers, cloud servers or a partner’s mail gateway. Be careful, though: genuine crawlers like Googlebot and Bingbot are verified with exactly this forward-confirmed check, because attackers often fake the user agent but cannot fake a matching forward record. If the hostname doesn’t resolve back to the IP, treat the claimed identity as unproven.
Setting up reverse DNS for a server
- Find who owns the IP. It is your hosting or cloud provider, not your domain registrar. The WHOIS lookup tells you.
- In the provider’s control panel, set the PTR or “reverse DNS” value to your server’s hostname, e.g.
mail.example.com. - In your own DNS, create an A (and AAAA) record for that hostname pointing to the same IP.
- Check it here. You should see the hostname and “Forward-confirmed: yes”.
Reverse DNS zone for a whole block
Got a block of addresses (for example a /24 from your host or a /56 or /48 IPv6 prefix) and need to know which in-addr.arpa or ip6.arpa zone holds its PTR records? Type the block and press the button.
Try: 203.0.113.0/24 · a /26 (lives in the /24 zone) · 2001:db8:abcd:1200::/56
Real examples (checked 24 November 2026)
| IP address | Reverse DNS (PTR) name | Points back to the IP? |
|---|---|---|
| 8.8.8.8 | dns.google | ✓ Yes |
| 1.1.1.1 | one.one.one.one | ✓ Yes |
| 9.9.9.9 | dns9.quad9.net | ✓ Yes |
| 196.25.1.1 | igubu.saix.net (Telkom SAIX) | ✓ Yes |
All four are well-run servers, so the name and the address agree both ways. A home connection usually shows a long generated name containing the IP or words like “dynamic”, or no name at all. That is normal for browsing, but a mail server on such a line will be rejected. To see who owns the address, use IP lookup; to check a domain’s records, use DNS lookup; for a whole block, the subnet calculator shows the reverse zone.
Frequently asked questions
How do I do a reverse DNS lookup on Windows or Mac?
On Windows, open Command Prompt and type nslookup followed by the IP, for example nslookup 8.8.8.8. On Mac or Linux, type dig -x 8.8.8.8 in Terminal. The PTR answer is the hostname.
What is reverse DNS?
Reverse DNS turns an IP address back into a hostname using a PTR record. Normal (forward) DNS maps a name to an IP; reverse DNS maps an IP to a name, such as 1.1.1.1 to one.one.one.one.
Who controls the reverse DNS of an IP?
The owner of the IP address block, usually your ISP, hosting company or cloud provider, not the owner of the domain. To set a PTR record for a server, use your provider’s control panel or ask their support.
Why does reverse DNS matter for email?
Most mail servers check that a sending IP has a PTR record, and that the hostname resolves back to the same IP. Mail from IPs without valid reverse DNS is often rejected or marked as spam.
What does forward-confirmed reverse DNS mean?
Forward-confirmed reverse DNS (FCrDNS) means the PTR hostname’s own A or AAAA record points back to the original IP. It proves the hostname wasn’t simply invented by whoever controls the IP block.
What is the hostname of my IP address?
Press “What’s my IP’s name?” above. FernTool looks up the reverse DNS (PTR) name of the address you are browsing from. Home connections usually get a name made by the ISP that contains the IP number (for example 41-13-2-3.dsl.provider.net), a VPN shows its server’s name, and many mobile connections have no name at all.
Why does my IP have no reverse DNS?
Many home and mobile connections and some cloud servers have no PTR record set. That is harmless for browsing, but matters if you run a mail server.
Tracing an address? Read how to find who owns an IP address.
More network tools
- WHOIS lookup (domains, IPs, ASNs)
- DNS lookup (A, AAAA, MX, TXT, NS, CNAME, SOA)
- DNS propagation checker
- SPF, DKIM & DMARC checker (email spoofing)
- SPF record generator
- Is a website down for everyone or just me?
- Where does this link go? (redirect checker)
- Is this website legit? (scam website checker)
- Email header analyzer (is this email real?)
- Subnet calculator (IPv4 & IPv6 CIDR)
- IPv6 subnet calculator (split a /48 or /56 into /64s)
- IP lookup with VPN/Tor/datacenter check
- What is my IP address?
API: GET /api/reverse-dns/{ip} · MCP tool reverse_dns (both include a plain one-line answer).