NFS Services Administrator's Guide
Configuring the Name Service Switch
Installing and Customizing the nsswitch.conf File
Chapter 6 271
hosts: dns [NOTFOUND=return] files
If you want your host to consult NIS or NIS+ when BIND is not
running, change the hosts line to read as follows:
hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files
or
hosts: dns [NOTFOUND=return] nisplus [NOTFOUND=return]
files
3. Reboot your host to force long-running processes to read the new
/etc/nsswitch.conf file. Many processes, like the keyserv(1M)
daemon, read the file only at startup and continue to use the values
they read at startup even though the file has changed. The safest
way to restart all necessary processes in the correct order is to reboot
the host.
HP recommends that you maintain at least a minimal /etc/hosts file
that includes important addresses like gateways, diskless boot servers
and root servers, and your host’s own IP address. HP also recommends
that you include the word files in the hosts line to help ensure a
successful system boot using the /etc/hosts file when BIND and NIS or
NIS+ are not available.
For more information on the Name Service Switch, type man 4
nsswitch.conf at the HP-UX prompt.