host - look up host names using domain server

Host looks for information about Internet hosts. It gets this information
from a set of interconnected servers that are spread across the country.
By default, it simply converts between host names and Internet addresses.
However, with the ``-t'' or ``-a'' options, it can be used to find all of
the information about this host that is maintained by the domain server.

Unless the host name ends in a dot, the local domain is automatically tacked
on the end.

Usage: host [-adlrwv] [-t querytype] [-c class] host [server]

  -a is equivalent to '-v -t *'
  -c class to look for non-Internet data
  -d to turn on debugging output
  -l to turn on 'list mode'
  -r to disable recursive processing
  -s recursively chase signature found in answers
  -t querytype to look for a specific type of information
  -v for verbose output
  -w to wait forever until reply

Zone transfer:

  host -l -v -t any isp.net

Extract IP addresses from zone:

  host -l isp.net | cut '-d ' -f 4

Find domain name server

  host -t ns foo.edu