Find out the domain name associated with an IP number in Unix

To find the domain name associated with an IP number, use the nslookup command. At the Unix shell prompt, enter nslookup followed by the IP address, for example:


This command will return the following information:



You can also specify a hostname on the command line to find out its IP number.

You can use the nslookup command interactively. For more information, at the Unix shell prompt, enter:

man nslookup

At Indiana University, for personal or departmental Linux or Unix systems support, see Get help for Linux or Unix at IU.

Related documents

This is document ackg in the Knowledge Base.
Last modified on 2023-06-29 12:43:42.