Skip to content
ToolsLeb ToolsLeb

Reverse DNS Lookup

Look up the PTR (reverse DNS) record for an IP address to find its associated hostname.

Enter an IP address

Share on Social Media:

Reverse DNS turns an IP address back into a hostname. Enter an IPv4 address (like 8.8.8.8) or an IPv6 address, and this tool queries the PTR record for it, returning the hostname the IP's owner has published, for example dns.google.

How reverse DNS works

Normal (forward) DNS maps names to addresses: you ask for example.com and get an IP. Reverse DNS uses a special zone to go the other way. For IPv4, the address is written backwards and placed under in-addr.arpa, so a lookup for 8.8.8.8 is really a query for the PTR record at 8.8.8.8.in-addr.arpa; for 203.0.113.25 it would be 25.113.0.203.in-addr.arpa. IPv6 uses ip6.arpa with each hex digit reversed. The result table shows the exact name that was queried, which helps when you're debugging a PTR record you've just set.

The key difference from forward DNS is who controls the record. You control forward DNS for your own domain, but the PTR record for an IP belongs to whoever owns that address block: your hosting provider, cloud platform or ISP. To change it, you normally use a "reverse DNS" setting in your server provider's control panel or ask their support.

Why it matters for email

Receiving mail servers look up the PTR record of the IP that connects to them, and many also check that the result points back to the same IP (forward-confirmed reverse DNS, or FCrDNS). A missing PTR, or a generic one like static-203-0-113-25.isp.example, is a classic spam signal. Gmail's sender guidelines explicitly require sending IPs to have valid forward and reverse DNS. If you run your own mail server or a transactional mail relay on a VPS:

  1. Look up your server's public IP here and note the PTR result.
  2. Set the PTR in your provider's panel to a hostname you control, such as mail.yourdomain.com.
  3. Make sure mail.yourdomain.com has an A record pointing back to the same IP.
  4. Use the same hostname in your mail server's HELO/EHLO greeting.

Other things reverse DNS tells you

  • Identifying traffic in logs. An unknown IP hitting your site often has a PTR that reveals the network: crawl-66-249-66-1.googlebot.com is Google's crawler, and *.compute.amazonaws.com is an AWS server.
  • Verifying real search-engine bots. Anyone can fake a Googlebot user-agent. Google's documented method is a reverse lookup (the hostname must end in googlebot.com or google.com) followed by a forward lookup of that hostname to confirm it returns the same IP.
  • Network troubleshooting. PTR names on routers often encode a location or provider, which makes traceroute output easier to read.

When there is no result

No PTR record is common and isn't an error in itself. Home broadband and mobile IPs frequently have none, and many cloud IPs only get one when the customer sets it. Private ranges (10.x, 192.168.x, 172.16–31.x) have no public reverse DNS at all. If the tool shows a hostname under "fallback", it came from the system resolver rather than a direct PTR query. Treat it as indicative.

Lookups are made live from our server against public DNS. A PTR record can say anything its owner chooses, so it identifies a network. It doesn't prove the identity of whoever uses the IP.

Frequently Asked Questions

A PTR (pointer) record is the reverse of a normal DNS lookup — instead of resolving a hostname to an IP address, it resolves an IP address back to a hostname.

A properly configured PTR record that matches the sending server's hostname is a common spam-filtering signal — mail from IPs with no PTR record, or one that doesn't match, is more likely to be flagged or rejected.

Unlike most DNS records, the PTR record for an IP is set by whoever controls that IP block (usually the hosting provider or ISP), not the domain owner — you often need to request it from your host directly.

Reverse DNS is set up by whoever controls the IP block, usually the hosting provider — many ranges, especially residential or smaller hosting blocks, simply don't have one configured.