System Administration Guide, Volume 3

/etc/inet/hosts File Format

The /etc/inet/hosts file uses the basic syntax that follows. (Refer to the hosts(4) man page for complete syntax information.)

IPv4-address hostname [nicknames] [#comment]

IPv4-address contains the IPv4 address for each interface that the local host must recognize.

hostname contains the host name assigned to the machine at setup, plus the host names assigned to additional network interfaces that the local host must recognize.

[nickname] is an optional field containing a nickname for the host.

[# comment] is an optional field for a comment.