Host

From LQWiki
Jump to navigation Jump to search

host is the command to find out the hostnames that are assigned to an IP address:

$ host 10.20.88.160
160.88.20.10.in-addr.arpa domain name pointer earth.test.

In this example, earth.test is the hostname that resolves to 10.20.88.160.