Tuesday, January 14, 2014

Configuring DNS on a NetApp Storage System

Here is the processes to enable DNS without having to use the NetApp system’s initialsetup command. This came in handy for me when I was doing some testing in my lab and overlooked setting it up during the initial config. With the latest OnCommand you can not edit these settings via the gui.

a. Create or confirm the system’s /etc/resolv.conf file with nameserver entries:

nameserver <dns-server-ip-address>
nameserver <dns-server-ip-address>

b. Set the following options on the NetApp storage system’s command line:

toaster> options dns.enable on
toaster> options dns.domainname <DNS domain name>

c. Edit the NetApp storage system’s /etc/rc file with the following entries so the DNS options are persistent across system reboots:

options dns.domainname <DNS domain name>
options dns.enable on

d. Please ensure that the NetApp storage system’s /etc/nsswitch file has the hosts entry that looks like this:
hosts: files dns nis

No comments:

Post a Comment