Host (Unix)

{{Short description|Unix program for DNS lookups}}

{{lowercase|title=host}}

{{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.{{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 }}

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. The host command is also able to perform reverse IP lookups to find the FQDN associated with an IP address.

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=

{{cite book|title=Ubuntu Server Administration|first=Michael|last=Jang|date=2009|isbn=978-0-07-159892-7|publisher=McGraw Hill|page=372}}

{{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}}

}}