Use the node configuration file to add nodes to a DNS cluster. The
dnsadmin system manages local DNS zones and communicates with remote systems (nodes) in your DNS cluster. Each node has a specific role that determines which commands it can send and receive.
To add a node to a DNS cluster, create a node configuration file in the
/var/cpanel/cluster/username/config/ directory, where
username is the WHM account's username.
Node configuration files
The following example is a typical node configuration file:
Node configuration files must include the
#version 2.0 line at the beginning of the file. Without it, the system cannot read the file correctly.
Node configuration files may contain the following
The account username.
|A valid username on the server.|
The node's hostname.
|A valid hostname.|
The node password.
|A secure password.|
The node module name.
A valid string.
This value corresponds to the
Whether the node is in debug mode.
This value defaults to
/var/cpanel/cluster/username/config/node-dnsrole/ directory, where
username is the account username, contains files that define each node's role.
Each node has one of the following roles:
synchronize— This node sends the actions that it receives to remote DNS servers in the DNS cluster.
write-only— This node only receives actions from other nodes.
standalone— This node does not send or receive actions.