Manual Pages


Table of Contents

NAME

DNS - Domain Name System

DESCRIPTION

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 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

2. 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

3. In the /etc/hosts file (see na_hosts(5)), change the hostname to be fully qualified. For example a filer with a fully qualified hostname of toaster.netapp.com and having two ethernet interfaces should have the following entries in the /etc/hosts file:

  192.9.200.1 toaster.netapp.com toaster-0.netapp.com toaster toaster-0
  192.9.201.1 toaster-1.netapp.com toaster-1

4. Reboot the filer for these changes to take effect.

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.

SEE ALSO

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


Table of Contents