Data ONTAP supports only the resolver. When the node needs to resolve a host address, it first looks at the /etc/nsswitch.conf (see na_nsswitch.conf(5)) file to get the order in which various name services are to be consulted. If the name services before DNS fail in their lookup and DNS is enabled, then the DNS name server is contacted for address resolution.
DNS can be enabled on the node by running the setup command (see na_setup(1)) or by manually editing the configuration files as described below. If DNS is enabled by running the setup command, then the DNS domain name needs to be entered.
Enabling DNS without the setup command:
1. Create the /etc/resolv.conf file (see na_resolv.conf(5)) with up to 3 nameservers. Each line contains the keyword nameserver followed by the IP address of the server. For example:
nameserver 192.9.200.1 nameserver 192.9.201.1 nameserver 192.9.202.1
options dns.domainname mycompany.com options dns.enable on
Enabling DNS with the setup command:
At setup time, one can choose to enable DNS when prompted to do so. setup then queries for the Internet addresses of up to three DNS nameservers.