HOSTINFO(1)

NAME
hostinfo - ask internet nameserver for a host information

SYNOPSIS

hostinfo [options] [ -ns <name server> ] < hostnames >
 < addresses >

DESCRIPTION
By default, this command displays the internet name, all network addresses, host info and MX records for each host specified by hostname or address. The command accepts the following options:

-h  The command displays only the hostname.

-a  The command displays only the address.

-i  The command displays only the host info record.

-m  The command displays only the MX records.

-q  The command suppresses hostinfo and MX record lookup which require separate queries.

Options are parsed left to right, with new options overriding previous ones and taking effect only for hostnames which appear afterward.

You may also query a specific name server by specifying the server name or address after the -ns option.

SEE ALSO
hesinfo(1), named(8), resolver(3), resolver(5)