HOST(1c,C) AIX TCP/IP User's Guide HOST(1c,C)
-------------------------------------------------------------------------------
host
PURPOSE
Resolves a host name into an Internet address.
SYNTAX
host --- hostname ---|
DESCRIPTION
The host command determines the Internet address of the specified host. If
host finds the address, host displays it in both dotted decimal and aliased
name formats.
If the local host is using the DOMAIN protocol, the local or remote nameserver
database is queried before searching the local /etc/hosts file.
PARAMETERS
hostname
Can be either a unique host name or a well-known host name like nameserver,
printserver, or timeserver.
EXAMPLES
To display the address of "host2":
$ host host2
host2 is 192.100.13.5 Aliases: host2.abc, host2.xyz
$ _
FILES
/etc/hosts Defines the name-to-address map table.
/etc/resolv.conf Defines the nameserver.
RELATED INFORMATION
In this book: "named."
Processed October 29, 1990 HOST(1c,C) 1