[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Network Information Services (NIS and NIS+) Guide

Hosts Table

The hosts table associates the names of all the workstations in a domain with their IP addresses. The workstations are usually also NIS+ clients, but they don't have to be. Other tables, such as bootparams, group, and netgroup, rely on the network names stored in this table. They use them to assign other attributes, such as home directories and group memberships, to individual workstations. The hosts table has four columns:

Hosts Table
Column Description
Addr The workstation's IP address (network number plus workstation ID number)
Cname The workstation's official name
Name A name used in place of the host name to identify the workstation
Comment An optional comment about the entry

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]