Reverse IP lookup

Find the domain name that is connected to an IP address. Check if any websites are hosted on an IP by doing a reverse DNS lookup.
For example, try 91.198.174.192 or 1.1.1.1 to view their domain names.

How to lookup reverse DNS records

Every IP address can have a reverse DNS record (PTR record) that maps the IP address back to a domain name. This is the opposite of a regular DNS lookup, where you look up an IP address for a domain name.

Reverse DNS lookups are commonly used for email server verification, network troubleshooting, and security purposes. When you perform a reverse DNS lookup, you query the PTR record for an IP address to find its canonical hostname.

These reverse DNS records are configured in the Domain Name System (DNS) as PTR records. But how can you look up those reverse DNS records? That depends on the operating system you are using. Windows, Linux and Mac all have a different way of finding the reverse DNS record. The sections below list the instructions for each operating system.

Example output of a reverse DNS lookup

How to lookup reverse DNS records on Windows

To check the reverse DNS record for an IP address on Windows, follow these steps:

  1. Open a command prompt by navigating to Start → 'Type here to search' → 'cmd' → Open. Open a command prompt in Windows
  2. Type nslookup -q=PTR 1.1.1.1 and hit [enter] to get the reverse DNS record for 1.1.1.1. Reverse DNS lookup in Windows
  3. The reverse DNS record (canonical hostname) is listed below the Non-authoritative answer heading.

How to lookup reverse DNS records on Mac OS

To check the reverse DNS record for an IP address on a Mac, follow these steps:

  1. Open a terminal by entering [command] + [space] → 'terminal.app' → [enter]. Open a terminal on a Mac
  2. Type dig -x 1.1.1.1 and hit [enter] to get the reverse DNS record for 1.1.1.1. Reverse DNS lookup on a Mac
  3. The reverse DNS record is listed below the ANSWER SECTION heading.

How to lookup reverse DNS records on Linux

To check the reverse DNS record for an IP address on Linux, follow these steps:

  1. Open a terminal by entering [Super] → 'terminal' → [enter]. Open a terminal in Linux
  2. Type dig -x 1.1.1.1 and hit [enter] to get the reverse DNS record for 1.1.1.1. Reverse DNS lookup in Linux
  3. The reverse DNS record is listed below the ANSWER SECTION heading.