{{Short description|Unix program for DNS lookups}} {{Lowercase title}} {{Infobox Software | name = host | logo = | screenshot = | screenshot size = | caption = | developer = Internet Systems Consortium (ISC) | released = | latest release version = | latest release date = | operating system = Unix, Unix-like | genre = Command | license = Mozilla Public License 2.0 | website = }} '''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 Mozilla Public License 2.0.<ref>{{Cite web|title=BIND 9 Adopts the MPL 2.0 License with BIND 9.11.0 - Internet Systems Consortium|url=https://www.isc.org/blogs/bind9-adopts-the-mpl-2-0-license-with-bind-9-11-0/|access-date=2020-07-18|website=www.isc.org|date=27 June 2016 }}</ref>

==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.<ref name="Jang-USA"/> The host command is also able to perform reverse IP lookups to find the FQDN associated with an IP address.<ref name="Herrmann"/>

==Example== {{sxhl| $ host example.com example.com has address 93.184.216.34 example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946 example.com mail is handled by 0 . |console}}

==See also== {{Portal|Free and open-source software}} * BIND name server * dig, a utility interrogates DNS servers directly for troubleshooting and system administration purposes. * nslookup, another utility that can be used to obtain similar information * Root name server - top-level name servers providing top level domain name resolution * List of DNS record types - possible types of records stored and queried within DNS * whois

==References== {{Reflist|refs= <ref name="Jang-USA">{{cite book|title=Ubuntu Server Administration|first=Michael|last=Jang|date=2009|isbn=978-0-07-159892-7|publisher=McGraw Hill|page=372}}</ref> <ref name="Herrmann">{{cite book|title=LPIC–2 Sicher zur erfolgreichen Linux-Zertifizierung|first=Harald|last=Maaẞen|isbn=978-3-8362-2694-3|publisher=Galileo Computing|pages=304–305|date=2014|lang=de}}</ref> }}

==External links== * {{cite web|url=https://bind9.readthedocs.io/en/latest/manpages.html#host-dns-lookup-utility|title=host - DNS lookup utility|date=2021|publisher=Internet Systems Consortium}}

{{Unix commands}}

Category:Free network-related software Category:DNS software Category:Software using the ISC license

{{network-software-stub}}