Sun Cluster 2.2 Software Installation Guide

Installing DNS

Sun Cluster HA for DNS is DNS running under the control of Sun Cluster. This section describes the steps to take when installing DNS to enable it to run as the Sun Cluster HA for DNS data service.

How to Install DNS

Refer to your DNS documentation for details about how to set up DNS. Note these differences in a Sun Cluster configuration:

  1. Decide which logical host is to provide DNS service.

  2. Choose a location on the logical host for the DNS database.

    Place the named.conf file and the rest of the files constituting the database here. For example, /logicalhost/dns.

  3. In the /etc/resolv.conf file on all Sun Cluster servers that will be running Sun Cluster HA for DNS, specify the IP address of the logical host providing DNS service.

  4. In the /etc/nsswitch.conf file, add the string dns after files.

    Make sure the logical host name for the HA-DNS server is present in the /etc/inet/hosts file on all cluster nodes.

  5. Test DNS outside of the Sun Cluster environment.

    For example:


    # cd /logicalhost/dns
    /usr/sbin/in.named -b /logicalhost/dns/named.conf
    # nslookup physicalhost
    

After you have installed and set up DNS, configure, register, and start Sun Cluster HA for DNS as described in "Installing and Configuring Sun Cluster HA for DNS".