If you use more than one method for host-name resolution, you must specify the order in which each name resolution service is used. This order is specified in the /etc/nsswitch.conf file in your storage system's root volume.
Data ONTAP creates a default nsswitch.conf file when you run the setup command on your storage system. The contents of the default file are as follows:
hosts: files nis dns
passwd: files nis ldap
netgroup: files nis ldap
group: files nis ldap
shadow: files nis
Note
Only the hosts entry in the /etc/nsswitch.conf file pertains to host-name resolution. For information about other entries, see the Data ONTAP System Administration Guide and the na_nsswitch.conf(5) man page.
By default, the host information is searched in the following order:
If you want to change this order, you can do so in either of these ways:
See Changing the host name search order with FilerView.
To change the host name search order with FilerView, complete the following steps.
| 1 | ||
| 2 |
In the list under Network, click Manage DNS and NIS Name Service. |
|
| 3 |
In the Name Service section, select the desired values in the Hosts drop-down lists. |
|
To change the order in which Data ONTAP searches for host information, complete the following steps.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01082_B0
File: dns7.htm
Last updated: 08-Dec-2005 13:27:12