Data ONTAP supports only the resolver. When the filer needs to resolve a host address, it first looks at the local hosts file /etc/hosts. If the host entry is not found and DNS is enabled, it then contacts the name server for address resolution.
DNS can be enabled on the filer by running the setup command (see na_setup(1)) or by manually editing the configuration files as described below. In either case, the hostname has to be qualified with the domainname. When a fully-qualified hostname (e.g. toaster.netapp.com) is entered, the string before the first dot is taken to be the base hostname and the rest is assumed to be the domainname. In case of multihomed hosts, the fully-qualified name for each network interface would take the form toaster-n.netapp.com, where n is the interface number.
Enabling DNS without the setup command:
1. Edit the /etc/rc file (see na_rc(5)) to change the hostname to be fully-qualified with the domainname. e.g.:
hostname toaster.netapp.com
nameserver 192.9.200.1 nameserver 192.9.201.1 nameserver 192.9.202.1
192.9.200.1 toaster.netapp.com toaster-0.netapp.com toaster toaster-0 192.9.201.1 toaster-1.netapp.com toaster-1
Enabling DNS with the setup command:
At setup time, if a fully qualified hostname of the form hostname.domainname (e.g.: toaster.netapp.com) is entered, then the setup command assumes that the user wants to run the DNS client resolver. It then queries for the Internet addresses of up to three DNS nameservers.