host (Unix)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

host
Developer(s)Internet Systems Consortium (ISC)
Operating systemUnix, Unix-like
TypeCommand
LicenseISC license

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

Origin[edit]

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

Modes[edit]

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[edit]

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[edit]

  • 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[edit]

  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.

External links[edit]