Software:host (Unix)

From HandWiki
Revision as of 16:17, 14 February 2024 by Gametune (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Unix program for DNS lookups

host
Developer(s)Internet Systems Consortium (ISC)
Operating systemUnix, Unix-like
TypeCommand
LicenseMozilla Public License 2.0

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.[1]

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

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
example.com mail is handled by 0 .

See also

  • 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

  1. "BIND 9 Adopts the MPL 2.0 License with BIND 9.11.0 - Internet Systems Consortium". 27 June 2016. https://www.isc.org/blogs/bind9-adopts-the-mpl-2-0-license-with-bind-9-11-0/. 
  2. Jang, Michael (2009). Ubuntu Server Administration. McGraw Hill. p. 372. ISBN 978-0-07-159892-7. 
  3. Maaẞen, Harald (2014). LPIC–2 Sicher zur erfolgreichen Linux-Zertifizierung. Galileo Computing. pp. 304–305. ISBN 978-3-8362-2694-3. 

External links