> Reverse IP lookup, both kinds: the PTR name with nslookup or dig, and the domains seen on an IP through passive DNS, with the shared hosting trap and how to read the dates.

Blog · [Domain and IP recon](https://pandorasearch.com/blog/topic/domain-ip-recon/)

# Reverse IP lookup: find the domains on an IP, and its PTR name

By [Hugo Leal](https://pandorasearch.com/blog/authors/hugo-leal/), Digital Infrastructure & Company Records 27 November 2026 · 6 min read

"Reverse IP lookup" means two different things, and the tools mix them. **Reverse DNS** asks for the PTR record of an IP: one name, set by whoever holds the address. **Reverse IP domain lookup** lists the domains that have been seen pointing to that IP, reconstructed from passive DNS. The first is one command in a terminal. The second needs collected data, and reading it well depends on the dates and on who holds the network.

This guide covers both, passively: everything here asks DNS or a database, never the machine behind the IP.

## Reverse DNS: the PTR record, in cmd, PowerShell or a terminal

An IP can have a PTR record that maps it back to a name. It lives in a special DNS zone (in-addr.arpa for IPv4, ip6.arpa for IPv6), and it is controlled by the holder of the address block, usually the hosting provider or the network operator, not by the owner of the websites on it.

To read it:

- **Windows, command prompt:** `nslookup 8.8.8.8`. The answer is `dns.google`.
- **Windows, PowerShell:** `Resolve-DnsName 8.8.8.8`.
- **Linux and macOS:** `dig -x 8.8.8.8 +short` or `host 8.8.8.8`.

What the answer tells you depends on who set it:

- **A specific name**, like `mail.example.com`, suggests that someone configured the IP for a purpose. Mail servers in particular are expected to have a PTR that matches, because many receiving servers check it.
- **A generic name** built from the IP and the provider's domain tells you which network it belongs to, and little more.
- **No answer** is common, and means nothing by itself.

A PTR is one name, not a list. It will not tell you which other domains share the IP. For that you need the second kind of lookup.

## Reverse IP domain lookup: which domains point to this IP?

DNS works one way. A domain says which IP it uses; an IP has no record listing the domains that use it. So every tool that answers "which websites are on this IP" builds the answer from resolutions it has collected: passive DNS sensors that record the answers they observe over time, or large lists of domains resolved again and again.

That has three consequences:

1. **The list is never complete.** A domain nobody resolved in front of a sensor does not appear.
2. **The list mixes the past and the present.** A domain that moved away last year can still be listed, so look for the first seen and last seen dates of each resolution.
3. **Two tools rarely agree.** Each sees different traffic. Comparing two sources is normal, not a sign that one is wrong.

*A domain's infrastructure in Pandora: subdomains from certificates and passive DNS, its IP, its autonomous system and the reputation flags. Example data. [Try it with your own data](https://pandorasearch.com/login/)*

## Free places to run it

We checked these on 27 November 2026, in their own documentation:

- **VirusTotal.** An IP report includes the resolutions VirusTotal has seen for it. Its API documentation lists the `resolutions` relationship of an IP as available to everyone, not only Enterprise users, and the same goes for `historical_ssl_certificates` and `historical_whois`. Its API needs a key from a free account. How to use that WHOIS history alongside other sources is in [WHOIS history lookup](https://pandorasearch.com/blog/whois-history-lookup/).
- **Shodan InternetDB.** For an IP it returns open ports, vulnerabilities, CPEs, tags and hostnames, the names Shodan associated with the address. It needs no account or key, it is updated once a week, and it is free for non-commercial use only. More on what Shodan gives for free in [is Shodan free?](https://pandorasearch.com/blog/is-shodan-free/).
- **Passive DNS services** such as mnemonic and Robtex, which publish resolutions with the first and last time each one was seen. We go through passive DNS step by step in [domain and IP reconnaissance](https://pandorasearch.com/blog/domain-and-ip-reconnaissance/).

Many websites offer a reverse IP domain lookup, often with daily limits. Whatever you use, write down the source and the date next to each domain: a list without them cannot be checked.

## The shared hosting trap

Before reading a single domain on the list, find out who holds the IP. RIPEstat, free and without an account, gives the network prefix, the autonomous system and its holder; the full lookup, with RDAP and WHOIS, is in [how to find the owner of an IP address](https://pandorasearch.com/blog/how-to-find-the-owner-of-an-ip-address/).

- **If it is a content delivery network or a large shared host**, the IP fronts thousands of unrelated sites. A reverse IP lookup will return a long list, and sharing the address means nothing: it does not connect the sites to each other or to one owner.
- **If it is a small dedicated server or a virtual private server**, the list is short and the overlap starts to matter. Several domains on the same address at the same time is a lead worth checking, never proof on its own.

A good habit is to count. A list of four domains with overlapping dates is worth reading; a list of forty thousand is a description of a hosting provider.

## Better pivots than a shared IP

When the IP is shared, look for what the operator chose and the host did not:

- **Certificates.** A TLS certificate can carry several names. Certificate Transparency logs show them, and the same certificate on two domains is a far stronger link than a shared IP. When crt.sh is down, our [crt.sh alternatives](https://pandorasearch.com/blog/crt-sh-alternatives/) list other ways to read them, and [how to find subdomains](https://pandorasearch.com/blog/how-to-find-subdomains/) adds the sources beyond certificates.
- **Analytics and advertising IDs.** The same tracking ID in the source of two websites suggests the same account set them up.
- **Registration data.** For who stands behind a domain, the method is in [how to find who owns a domain](https://pandorasearch.com/blog/how-to-find-who-owns-a-domain/).

## Pandora: the IP and everything around it

Enter an IP or a domain in Pandora and it runs the passive sweep: DNS over HTTPS, RDAP and WHOIS, certificates, reverse DNS and passive DNS, other sites that share an IP or an analytics ID, open ports and known vulnerabilities from Shodan InternetDB, and the network and its owner from RIPEstat. It also flags Tor, VPN and hosting addresses, which is the first thing to know before trusting a shared IP. Everything lands on one graph, each finding with its source, next to the accounts and people of the same case.

Pandora does not scan anything. Open ports come from what Shodan already publishes in InternetDB, and the history of resolutions from what passive DNS sources have already observed.

*A case in Pandora: from the seed email come the username, the accounts, a shared SSH key, a breach and the domain's infrastructure, each link with its source. Example data. [Try it with your own data](https://pandorasearch.com/login/)*

A new account gets one trial search with the findings masked: you see what kind of findings there are and how many, not which ones. Prices are on the [pricing page](https://pandorasearch.com/pricing/).

## Keep it passive and lawful

A reverse IP lookup reads public records, and that is where it should stay. Do not follow it with a port scan or a login attempt on a system that is not yours: that is no longer open source research, and in many countries it is an offence. And remember that an IP address can be personal data under the GDPR, especially when it belongs to a home connection rather than a server. Processing it needs a legal basis and a legitimate purpose, such as security research or due diligence. The details are in [OSINT and the GDPR](https://pandorasearch.com/blog/osint-and-gdpr-investigating-within-the-law/).

## Where to go next

- [Domain and IP reconnaissance with open sources](https://pandorasearch.com/blog/domain-and-ip-reconnaissance/), for the full passive method.
- [How to find who owns a domain](https://pandorasearch.com/blog/how-to-find-who-owns-a-domain/), once you have the domains.
- [Shodan alternatives](https://pandorasearch.com/blog/shodan-alternatives/), for the search engines that index what each IP exposes.

## Frequently asked questions

**What is a reverse IP lookup?**

The phrase covers two different things. A reverse DNS lookup asks for the PTR record of an IP, the single name its holder assigned to it. A reverse IP domain lookup lists the domains that have been seen pointing to that IP, built from passive DNS and other collected resolutions.

**How do I do a reverse IP lookup in cmd?**

In the Windows command prompt, nslookup followed by the IP returns its PTR name, if it has one: nslookup 8.8.8.8 returns dns.google. In PowerShell, Resolve-DnsName does the same. On Linux and macOS, use dig -x followed by the IP, or host. None of these lists the other domains on the IP.

**Can I find every website on an IP address?**

Not with certainty. DNS has no record that lists the domains pointing to an IP, so every reverse IP tool reconstructs the list from resolutions it collected. The list can miss domains and include ones that moved away, which is why the first and last seen dates matter.

**Why does a reverse IP lookup return thousands of unrelated sites?**

Because the IP belongs to shared hosting or a content delivery network, where many unrelated websites share the same addresses. Check who holds the network first: if it is a large host or a CDN, sharing the IP says nothing about who runs the sites.

Written by

[Hugo Leal](https://pandorasearch.com/blog/authors/hugo-leal/)

Digital Infrastructure & Company Records

Domains, IPs, certificates and DNS, and who is behind a company according to the official registers.

[Articles by Hugo Leal](https://pandorasearch.com/blog/authors/hugo-leal/)

**Enter an IP or a domain in Pandora and see its reverse DNS, the domains passive DNS has seen on it and the network that holds it, on one graph, each finding with its source.**

Every new account gets one trial search, with no card.

[See plans and pricing](https://pandorasearch.com/pricing/)

Tags: reverse IP reverse DNS passive DNS infrastructure

## Keep reading

- [Domain and IP reconnaissance with open sources](https://pandorasearch.com/blog/domain-and-ip-reconnaissance/): DNS, RDAP, Certificate Transparency, passive DNS, exposed services and reputation feeds: a passive method for analysing a domain or IP.
- [How to find who owns a domain name, even when WHOIS is private](https://pandorasearch.com/blog/how-to-find-who-owns-a-domain/): How to find who owns a domain name: what RDAP and WHOIS still show, how to reach a hidden owner, and the legal notice, certificates and records that name them.
- [Shodan alternatives: free, open-source and paid options](https://pandorasearch.com/blog/shodan-alternatives/): What to use instead of Shodan: free accounts and their limits (Censys, FOFA, ZoomEye, Netlas, LeakIX), open-source tools (IVRE, uncover) and what Shodan gives without an account.

[All articles on Domain and IP recon](https://pandorasearch.com/blog/topic/domain-ip-recon/)

---
Page: https://pandorasearch.com/blog/reverse-ip-lookup/
