Host (Unix)


host is a simple utility for performing Domain Name System lookups.

Origin

It was developed by the Internet Systems Consortium, and is released under the ISC license, a permissive free software license.

Modes

When applied to a fully qualified domain name the host command will return information associated with that name such as its IP address and mail handling host. It can also be used to list all members of a domain. The host command is also able to perform reverse IP lookups to find the FQDN associated with an IP address.

Example

host example.com

example.com has address 93.184.216.34

example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946