Manual Pages

Table of Contents


na_dns - Domain Name System


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.

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:


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.

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.


When run from a vfiler context, (e.g. via the vfiler run command), dns displays DNS information about the concerned vfiler.


na_setup(1), na_rc(5), na_resolv.conf(5), RFC1034, RFC1035

Table of Contents