host (Unix)

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

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

Origin

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

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

gollark: They're on cooldown. I'll discuss it tomorrow when they'll be off cooldown.
gollark: I got some shadow walkers. Can they fetch a few reds on the Hub?
gollark: Though *they'll* probably make the biomes all empty, which isn't great.
gollark: _should probably grab loads of the new holidays_
gollark: Wow. A *chicken* asking for a pumpkin!

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.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.