Reverse IP Lookup Explained: How to Find a Hostname From an IP Address

Illustration of two arrows forming a cycle, representing forward and reverse DNS lookup

A standard DNS lookup takes a domain name and returns an IP address. A reverse IP lookup does the opposite: it takes an IP address and returns the hostname that address points to. This guide explains how reverse DNS works, why mail servers depend on it, and how to run a reverse IP lookup on any address in seconds.

What is a reverse IP lookup?

A reverse IP lookup queries a special DNS record called a PTR record. While a normal domain lookup resolves through the standard DNS tree, a PTR lookup travels through a mirrored zone called in-addr.arpa, which maps the internet's address space back to hostnames. The person or organisation that controls an IP address block, usually an internet service provider or a hosting company, configures that address's PTR record, not the domain owner.

You can run one instantly with our free Reverse IP Lookup tool. Enter an IP address, or a domain name to resolve first, and the tool returns the associated PTR hostname if one exists.

Why reverse DNS matters for email

Most receiving mail servers check that a sending IP address has a PTR record that roughly matches its sending domain before they accept a message. A missing or mismatched PTR record ranks among the most common reasons legitimate email lands in a spam folder or gets rejected outright. If you run your own mail server, ask your hosting provider to set a PTR record that matches your sending domain, then confirm it with a reverse IP lookup before you send real mail through it.

Reverse DNS is only one piece of email deliverability. Your domain also needs correctly configured MX records so incoming mail knows where to go. Our MX lookup guide explains that side of the setup, and our DNS health check guide shows how to verify SPF and DMARC records at the same time.

Other reasons to check reverse DNS

  • Network troubleshooting. Server logs and firewall rules often show raw IP addresses. A reverse lookup tells you what actually sits behind a connection.
  • Verifying server identity. You can confirm that traffic claiming to come from a known service, such as a search engine crawler, genuinely originates from that provider's network.
  • Auditing your own infrastructure. If you manage servers directly, a reverse lookup confirms your provider configured PTR records the way you expect.

Why some lookups return no result

Not every IP address has a PTR record. Because the party who controls the address block sets this record rather than the domain owner, many shared hosting environments and most residential internet connections simply do not have one configured. A missing PTR record does not always indicate a problem, but if you operate a mail server or a service where sender reputation matters, it is worth asking your provider to add one.

Try it yourself

Head to the Reverse IP Lookup tool and enter any IP address or domain to see its PTR hostname immediately. Pair it with our DNS Lookup tool to check A and AAAA records for the same domain, or run our DNS Health Checker for a complete picture of a domain's setup.

Back to all posts