Table of ContentsLibraryView in Frames

Changing the host-name search order by editing the /etc/nsswitch.conf file

You can change the order in which Data ONTAP searches for host information by editing the /etc/nsswitch.conf file.

Steps

  1. If the /etc/nsswitch.conf file does not exist in your storage system's root volume, create it.

  2. Edit the file, entering each line in the following format:

    hosts: service

    service is one or more of the following: files, dns, nis.

  3. Save the file.

Example

To change the resolution order to use NIS exclusively, change the hosts line to read as follows:

hosts: nis