Configuring an HCP secondary zone or stub zone in Unix

Installing an HCP SAIN System - Final On-Site Setup

Version
9.7.x
File Size
41914 KB
Audience
anonymous
Part Number
MK-98ARC020-34

With BIND in Unix, zones are defined in the /etc/named.conf file on the DNS servers. In the definition of a secondary zone or stub zone for an HCP domain, you specify:

  • The applicable fully qualified domain name for the HCP system
  • The zone type (slave for a secondary zone or stub for a stub zone)
  • The name of the file you want the system to use to cache DNS query results for a faster lookup
  • A list of the IP addresses of the master name servers for the secondary zone or stub zone (be sure to use all of the node IP addresses assigned to each node for the applicable network)

Here’s a sample zone statement that defines a secondary zone for an HCP domain with the domain name hcp-ma.example.com and four registered master name servers:

zone "hcp-ma.example.com" IN {
          type slave;
          file "/var/named/slave/hcp-ma.example.com";
          masters
         {192.168.210.15;192.168.210.16;192.168.210.17;192.168.210.18;2001:0db8::101;
         2001:0db8::102;2001:0db8::103;2001:0db8::104; };
};

Here’s a sample zone statement that defines a stub zone for the same domain:

zone "hcp-ma.example.com" IN {
         type stub;
         file "/var/named/stub/hcp-ma.example.com";
         masters
        {192.168.210.15;192.168.210.16;192.168.210.17;192.168.210.18;2001:0db8::101;
        2001:0db8::102;2001:0db8::103;2001:0db8::104;};
};