Network Administration 4-7
1DPH5HVROXWLRQ6HDUFK
By default, first the filer tries to resolve host names locally by searching the /etc/hosts
file in the root volume and in the /etc/nsswitch.conf file in the root volume. If it cannot
resolve the host name, the filer tries NIS, if NIS is enabled. If the filer still cannot
resolve the host name, the filer requests services from a DNS server, if DNS is
enabled. You can specify any or all of the resolution methods.
'HIDXOW6HDUFK2UGHU
Table 4-3 shows the default search order for each map.
6SHFLI\LQJD6HDUFK2UGHU
To specify a different order in which the filer contacts host name services, create the
/etc/nsswitch.conf file in the root volume. Each line must have the following format as
described in Table 4-4:
PDSVHUYLFH

7DEOH'HIDXOW6HDUFK2UGHUIRU0DSV

0DS 6HUYLFHVLQVHDUFKRUGHU
hosts root files, NIS, DNS
passwd root files, NIS
netgroup root files, NIS
group root files, NIS
shadow root files, NIS

7DEOH)RUPDW'HVFULSWLRQVIRUD6HDUFK2UGHU

3DUDPHWHU 'HVFULSWLRQ
map One of the following maps or data-
bases: hosts, passwd, netgroup,
group, or shadow.
service One or more of the following:
files for local files in the /etc directory
in the root volume
dns for DNS
nis for NIS