|
|
To use NIS services, the /etc/hosts file on all NIS clients, NIS slave servers and NIS master servers must contain an entry for the NIS master server. Even when set up for receiving NIS services, the client's /etc/hosts file must also contain entries for the local host's name, and the local loopback name, localhost. If the client is a diskless machine, it must also contain the address of the client's file server. The /etc/hosts file is accessed at boot time before the client's ypbind daemon starts up. Once ypbind is running, the local /etc/hosts file is not accessed at all. Rather, information is obtained from the NIS maps hosts.byaddr and hosts.byname. Refer to the hosts(4tcp) manual page for more information about the /etc/hosts file.