Jump to content

host (Unix)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Ghettoblaster (talk | contribs) at 14:11, 8 June 2019. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

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

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.