host (Unix)

Origin

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

Modes

When applied to a fully qualified domain name (FQDN) 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.[1] The host command is also able to perform reverse IP lookups to find the FQDN associated with an IP address.[2]

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

See also

  • BIND
  • dig, a utility interrogates DNS servers directly for troubleshooting and system administration purposes.
  • nslookup, another utility that can be used to obtain similar information

References

  1. Jang, Michael (2009). Ubuntu Server Administration. McGraw Hill. p. 372. ISBN 978-0-07-159892-7.
  2. Maaẞen, Harald (2014). LPIC–2 Sicher zur erfolgreichen Linux-Zertifizierung. Galileo Computing. pp. 304–305. ISBN 978-3-8362-2694-3.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.