4-8 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
([DPSOH6HDUFK2UGHU
You can list services in the order in which you want the filer to contact the services.
For example, the following file instructs the filer to contact first NIS for hosts, then
DNS, and finally local files in /etc in the root volume. For passwords, the contact order
is NIS, then local files in /etc in the root volume.
KRVWVQLVGQVILOHV
SDVVZGQLVILOHV
When the filer resolves a host, the search stops.
NOTE: When performing CIFS operations, the filer can use WINS servers for host
name service. However, filer commands unrelated to CIFS use the /etc/hosts file,
DNS, or NIS to resolve host names, as described in the following sections.
8VLQJWKHHWFKRVWV)LOHIRU+RVW1DPH5HVROXWLRQ
The filer can use the /etc/hosts file in the root volume to resolve host names used in
the /etc/rc, /etc/syslog.conf, /etc/dgateways, /etc/exports, /etc/netgroup, and /etc/
hosts.equiv root volume files. If you do not use any host names, you do not need /etc/
hosts.
By default, the filer reads the /etc/hosts file in the root volume whenever it needs to
resolve host names, so changes to the file take effect immediately. If you change the
IP address for an interface, the new IP address doesnt take effect until you reboot the
filer and execute the appropriate ifconfig command from /etc/rc. It is safest to
reboot the filer after changing any /etc file to make sure that the new configuration
works correctly.
If you use DNS and you put files first in the /etc/nsswitch.conf file in the root
volume: The filer looks up host addresses in /etc/hosts in the root volume before
sending queries to the DNS server. Therefore, it is important that each entry in
/etc/
hosts contains accurate information.
To reduce the need for updating information in /etc/hosts in the root volume, when
using DNS, keep only a minimum number of entries in /etc/hosts.
If you use NIS: You can do one of the following actions:
Modify the Makefile of the NIS master to copy the NIS masters /etc/hosts file
from the root volume to the filer when it is changed.
Have the filer use NIS directly.
([DPSOH
You can put the following line at the end of the NIS Makefile section for hosts.time:
#PQWGLU WPSGHOOBHWFBPQWB?
LI>GPQWGLU@WKHQUPIPQWGLUPNGLUPQWGLUIL?
IRUILOHULQILOHUILOHUILOHUGR?