Technical data

SHOW HOST
SHOW HOST
Displays information from the hosts database.
If the BIND resolver is enabled, information from the BIND database is also
displayed.
Related commands: SET HOST
Format
SHOW HOST [ host ]
[ /ADDRESS=IP_address ]
[ /DOMAIN=domain ]
[ /LOCAL ]
[ /OUTPUT=file ]
[ /SERVER=server ]
Restrictions
Requires read access to the hosts database.
Parameters
host
Optional. Default: All hosts.
All alias names for the specified host are displayed.
If a host has more than one IP address and you specify the name, all its
addresses and aliases are displayed.
If a host has multiple IP addresses and you specify an alias that is defined on
multiple IP addresses, only the first IP address and aliases are displayed.
If you do not specifiy the host parameter or if you use a wildcard, all hosts
from the local and BIND databases are displayed.
If you use a wildcard to complete a host name, no BIND information is
displayed.
If you specify a host, entries are displayed first from the local hosts database,
if they exist; otherwise, entries from the BIND database are displayed, if they
exist.
Qualifiers
/ADDRESS=IP_address
Optional. Default: None.
Allows you to select a host by IP address.
If a host has more than one IP address and you specify the name, all IP
addresses and aliases for the host are displayed.
If a host has multiple IP addresses and you specify an alias that is defined on
multiple IP addresses, only the first IP address and aliases are displayed.
Recommended: Use the host parameter instead of this qualifier.
2–164 Command Descriptions