Indiana University
University Information Technology Services
  
What are archived documents?

In Unix, how can I find out the domain name associated with an IP number?

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:

nslookup 129.79.5.100

This command will return the following information:

Server: ns.indiana.edu Address: 129.79.1.1 Name: ns2.indiana.edu Address: 129.79.5.100

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, to get support for personal or departmental Linux or Unix systems, see At IU, how do I get support for Linux or Unix?

Also see:

This is document ackg in domain all.
Last modified on August 22, 2008.
Please tell us, did you find the answer to your question?