Domain Name Service provides information about hosts on a
network. This service has two parts: a resolver which
requests information and a nameserver which provides it.
Data ONTAP supports only the resolver. When the filer
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 filer 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.
EnablingDNSwithoutthesetupcommand:
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:
2. Edit the /etc/rc file (see na_rc(5)) to make
sure that the option specifying the DNS domain name
is set and the option to enable DNS is on. For
example:
options dns.domainname mycompany.com
options dns.enable on
3. Reboot the filer for these changes to take
effect. If the above options commands are also
entered from the console, the reboot can be
avoided.
EnablingDNSwiththesetupcommand:
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.