

Here is how to get domain name associated with an IP address say 54.43.32.21 $ host 54.43.32.21 Host command is a Linux utility that can be used for DNS Lookup as well as Reverse DNS Lookup.

These commands are already pre-installed in every Linux distribution and do not require separate installation or configuration.

You can use nslookup, dig or host command to do reverse DNS lookup in Linux. It is also used to map IP addresses to domains in log files, so that there is a human readable value, instead of numeric IP addresses, making it easy to understand information. It need not work all the time because every IP address need not have a domain associated with it. It is mostly used by email servers to identify and block spam mails. Reverse DNS lookup is used to find out the domain name associated with an given IP address. In this case, we find out which domains point to a given IP address. Reverse DNS Lookup is the process of resolving an IP address to a domain name. It is also known as forward DNS and takes place every time you visit a website. You can use these steps in all Linux systems as they are universally available commands.ĭNS Lookup is basically the process of resolving domain to an IP address. In this article, we will look at how to reverse DNS lookup in Linux. Sometimes you may need to do reverse DNS lookup in Linux.
