4.10. Extending DNS

Rocks provides a mechanism to put external hostnames under the DNS control of your cluster. Generally, external hosts have names served by site-wide DNS servers. However if there is no external DNS server available, you may want to use your frontend's DNS server to handle the name to IP mappings for certain non-cluster nodes.

Since the DNS configuration file is automatically generated Rocks, you cannot add static configuration to the standard zone files in /var/named. Instead, you need to put local name mappings in the file:

/var/named/rocks.domain.local

And reverse mappings (IP to name) in:

/var/named/reverse.rocks.domain.local-network-prefix.local

Where local-network-prefix for a default rocks is 10. That is, the above file name would be:

/var/named/reverse.rocks.domain.10.local

To add the mappings in the above .local files to the running configuration, execute:

# insert-ethers --update

These files are in the BIND configuration format, just like the standard rocks.domain and reverse.rocks.domain files.

Note

Your external hosts will have names in the .local cluster domain.

Warning

Errors in your local DNS files will cause the entire local cluster domain naming to fail. Proceed with caution.