Reverse DNS Lookup | Reverse IP Lookup Tool
Use the reverse DNS lookup tool to check DNS PTR records and determine the hostname of an IP address.
What is reverse DNS lookup?
A reverse domain name system (DNS) lookup, or reverse IP lookup, is the opposite sequence of a DNS lookup. It's essentially a reverse IP tracker. With a standard DNS lookup online, you query the DNS server or hostname to get the IP address.
However, with the reverse DNS lookup command, you query the IPv4 address or IPv6 address to find the hostname. Therefore, entering the IP address into the reverse lookup tool tests PTR records. This allows users to locate the domain name associated with the corresponding IP.
For example, one IP address of Google.com is 74.125.142.147. Typing this IP address into the reverse DNS lookup tool returns the hostname of Google. You'll see it as listed in the database of the Address and Routing Parameter Area’s (ARPA) top-level domain of the Internet.
Note that some IP addresses will not return a domain name. PTR DNS records may indicate multiple domain names for a given IP address in these cases. Web hosting, where one IP address of the server is shared among one or more domains, is a common example. To see what your IP address links to, go to the homepage of What's My IP to find out your IP.

How does reverse DNS lookup work?
A reverse DNS lookup searches DNS queries for PTR records, or DNS pointer records. A PTR record maps an IP address to the hostname. If there is no PTR record for DNS on the server, a reverse DNS record lookup won’t work.
Because the tool works to verify PTR records, it can be thought of as a PTR lookup. All DNS records are important to the domain name system. However, pointer records are particularly essential for a reverse lookup.
How to do a reverse IP lookup
Reverse DNS Lookup (Linux)
For a reverse IP lookup in the Linux system, users can use three different commands to perform the reverse DNS process: the dig command, the host command, and the nslookup command. Each works in a slightly different way, focusing on observing different information.
The dig command, or domain information groper command, allows the rDNS lookup in Linux to run manually through the terminal. It returns name servers. Users primarily utilize it for examining and resolving DNS issues because of its flexible and clear output.
The host command converts the host names to IP addresses and vice versa.
The nslookup command also helps check and resolve DNS issues. It's the most used network administration tool with two modes to display output. The first mode is interactive, which gives information about hosts and domains against the query. The second mode is non-interactive, which shows only the name and requested, relevant details for a domain.
Reverse DNS Lookup (Windows)
For Windows users, the nslookup command via the command prompt is the best way to do a reverse domain lookup and check DNS records in a Windows server. Open the Windows start menu and search "command prompt" in the search bar. An access shortcut appears from which you can open the "Run" box with Windows+R. From there, run the nslookup commands and find A records, NS records, or SOA records of a domain.
Applications of reverse DNS lookups
Using the free reverse IP lookup tool above is very useful for a variety of purposes:
- Finding spam emails. It’s difficult to differentiate legitimate mail servers from spam servers from an IP address alone. However, certain generic rDNS names can indicate that the email server is spam. This is where the reverse DNS lookup comes in.
- Knowing who visits your website. Website visit logs usually contain IP addresses. These aren’t particularly useful for tracking exactly who is visiting your website. The reverse IP lookup process serves as a reverse website search tool. It finds the hostname of your visitors to give you a better picture of who visits your website. This is especially useful for those operating B2B businesses.
- Troubleshooting. The rDNS test helps run and troubleshoot basic Internet protocols like the ping command in the command line prompt. It also keeps you from encountering problems with enterprise management systems, r-commands, SMTP servers, and network backup systems.
- Security. Reverse IP lookups check DNS records to locate the address' A records and map a domain name to the physical IP address of the device. This helps determine the virtual hosts from web servers, thus identifying server weaknesses and improving security.
Benefits and limitations of a reverse DNS lookup
The reverse DNS lookup tool has, like any tool, both benefits and disadvantages. Improved network security provides one of the biggest advantages of using the tool. The tool helps verify the link between an IP and its domain name, allowing systems to check if traffic is legitimate or not. This allows network security systems to easily locate suspicious activity patterns.
It also improves email deliverability by allowing for spam prevention through PTR record checks. This improves the trustworthiness of legitimate domains and filters spam traffic from illegitimate ones.
Furthermore, the tool also allows network administrators to troubleshoot and debug their networks. Having domain names alongside IPs can make the data more accessible to admins, speeding the process along. The tool can also help pinpoint which domains are involved during network failures or connectivity issues.
If you want to find additional information about your own device or other IPs, use other tools on the site, like the user agent check, blacklist check, server headers check, hostname lookup, screen resolution tool, proxy check, or WHOIS lookup.
What is a DNS PTR record?
A DNS PTR record is the type of DNS record used to store the related hostname for an IP address. Reverse DNS lookups use these records. They return the associated hostname when a user performs a reverse DNS search. They are the opposite of A records and AAAA records for IPv4 and IPv6 addresses, respectively. These records return the associated IP for a hostname.
Pointer records are structured like all other DNS records. They include five pieces of information: the IP address, the entry's TTL, the DNS record class, the record type, and the resource data.
Frequently asked questions
What is reverse DNS lookup used for?
A reverse DNS lookup is used to find the domain name associated with an IP address. It helps with network troubleshooting and identifying where Internet traffic is coming from.
Why is reverse DNS lookup important for email deliverability?
Many email servers heck to see if the IP address of an incoming email message has a PTR record that matches its domain name. A PTR record is a reverse DNS entry. This check helps prevent spam and makes sure that the email is coming from a legitimate source. Therefore, the reverse DNS lookup is an essential part of the email deliverability process.
Can I use reverse DNS lookup to prevent DDoS attacks?
While you can't use the lookup tool to directly prevent DDoS attacks, you can use it to identify potentially malicious traffic. This, in turn, can help you prevent attacks.