DNS Cluster  Prindi artikkel

Overview:

A DNS cluster is a group of nameservers that share records, which allows you to physically separate nameservers that handle the DNS requests from your web servers. This interface allows you to configure a DNS cluster and add servers to an existing DNS cluster.

Warning:

All servers in the DNS cluster must run PowerDNS if domains that use DNSSEC exist in that cluster. cPanel & WHM supports DNS Security Extensions (DNSSEC) in DNS clusters. PowerDNS servers with domains that have DNSSEC configured can configure DNS clusters.

For more information about DNSSEC, read our How to Use cPanel’s PowerDNS and Zone Editor documentation.

Managing DNS clusters

Important:

Resellers must possess the DNS Clustering Account Creation Limit (ACL) privilege to view the DNS Clustering section of this interface. For more information about DNS cluster-related ACLs, read our Edit Reseller Nameservers and Privileges documentation.

Users who possess the All ACL privilege can add their own custom DNS servers to a cluster. Users with this ACL can also make changes to existing cluster members.

To modify DNS cluster settings, select whether to manage your DNS clusters as the root user or as a reseller from the Managing DNS Cluster as: menu.

  • Before adding custom DNS servers or changing existing cluster members, select the root setting from the Managing DNS Cluster as: menu.

Global Cluster Options

This section of the interface allows you to enable and disable DNS clustering. You can also use this section to configure the Failure threshold for cluster members setting.

Enable and disable DNS clustering

To enable or disable DNS clustering, perform one of the following actions:

  • To enable DNS clustering, click Enable DNS clustering.
  • To disable DNS clustering, click Disable DNS clustering.

Failure threshold for cluster members

The Failure threshold for cluster members setting allows you to specify the number of dnsadmin commands that may fail before WHM disables an unresponsive DNS cluster member.

Note:

We recommend that you disable unresponsive DNS cluster members to improve performance.

To configure the Failure threshold for cluster members setting, perform the following steps:

  1. Select the desired setting:

    • Select 10 (Default) to use the default setting, which allows cluster members to fail up to ten dnsadmin commands.

      Note:

      We recommend that you use this setting.

       

    • Select the second setting to enter a custom failure threshold.

      Note:

      If server down times or network interruptions are common in your hosting environment, we recommend that you increase the failure number count so that the system does not mark certain cluster members as offline. This may also increase server and network load because the system may repeatedly send some DNS requests.

       

    • Select Keep all cluster members online at all times to keep all of the servers in your DNS cluster continuously online, regardless of the number of failed dnsadmin commands.

  2. To receive notifications when the system disables an unresponsive member in your DNS cluster, select the Receive a notification when WHM disables an unresponsive cluster member checkbox.

    Important:

    You must manually reenable disabled cluster members.

     

  3. Click Change.

Important:

If a cluster member in the sync role is offline for an extended period of time, resynchronize the other server’s zones. This ensures that the cluster member is up-to-date.

Add a new server to the cluster

Important:

You must perform steps in other interfaces to fully configure a DNS cluster. For more information, read our Guide to DNS Cluster Configurations documentation.

To add a cPanel & WHM or cPanel DNSOnly server to the DNS cluster, perform the following steps:

  1. Select the server type from the Backend Type menu.

    Note:

    To enable DNS clustering with SoftLayer or VPS.NET, you must first obtain an API username and key from VPS.net or SoftLayer. Then, select SoftLayer or VPS.NET from the Type menu.

     

  2. Click Configure. The cPanel DNS Remote Configuration interface will appear.

  3. Enter the hostname or IP address of the nameserver to add to the cluster in the Remote cPanel & WHM DNS host text box.

    Note:

    For more information about how you can set up your cluster, read our Guide to DNS Cluster Configurations documentation.

     

  4. Enter the WHM username for the nameserver in the Remote server username text box.

  5. Enter the nameserver’s API token hash or remote access key in the Remote server access hash text box.

    • To use an API token, enter a saved API token hash from the server, or log in to the server and create a new API token in WHM’s Manage API Tokens interface (WHM >> Home >> Development >> Manage API Tokens).
      Warning:

      Make certain that after you create an API token, you save the token hash in a safe location.

    • To use a remote access key, log in to the server and locate the key in WHM’s Remote Access Key interface (WHM >> Home >> Clusters >> Remote Access Key).
      Note:

      We deprecated WHM’s Remote Access Key feature in cPanel & WHM version 64. We strongly recommend that you use API tokens instead.

  6. Select Setup Reverse Trust Relationship to automatically configure the DNS cluster on the remote server.

    Note:
    • If you select this setting, you will not need to log in to WHM’s DNS Cluster interface on the remote server. However, you may do so if you wish to modify the remote server’s DNS cluster configuration.
    • This setting automatically sets the remote server’s DNS role to Standalone.

     

  7. Select Synchronize Zones Immediately if you want to synchronize the new server with the other nameservers in your cluster.

  8. Select Debug mode if you want WHM to record DNS clustering transactions in the /usr/local/cpanel/logs/error_log file.

  9. Select a setting from the DNS Role menu to specify the server’s DNS role.

  10. Click Submit to save your settings.

Unique DNS Clustering

Warning:

This setting only appears if you manage your DNS cluster as a reseller.

By default, WHM uses the DNS servers in the root user or root-enabled reseller’s cluster. To add a different DNS server to the cluster, enable this setting.

  • To enable this setting, click Enable unique DNS clustering for accounts owned by username.
  • To disable this setting, click Disable unique DNS clustering for accounts owned by username.
Note:
  • In the statements above, username represents the reseller user.
  • Resellers can only change a DNS server’s role to the Synchronize or Write-only settings if the root user adds that server to the DNS cluster.

Servers in your DNS cluster

This section allows you to view, add, and delete servers from your DNS cluster.

The Servers in your DNS cluster table displays the following information about each server in your DNS cluster:

Column Description
Hostname The server’s hostname.
IP address The server’s IP address.
Username The WHM username that you used when you configured this server in the DNS cluster. Typically, this is either root or the username of a reseller account.
Type The type of server: cPanelSoftLayer, or VPS.NET.
Status The version of cPanel & WHM that the server currently runs, and an icon that indicates the server’s status.
  • If your server doesn’t run PowerDNS, this column displays a warning message instead of the cPanel & WHM version. This message notifies you that you must update your server to use PowerDNS if you wish to use DNSSEC clustering. To update your server to use PowerDNS, click the Upgrade link.
Server Type The server’s nameserver software.
DNS role The server’s DNS role. You can choose from the following settings:
  • Standalone — This method fetches DNS records from the remote server, but does not write records from the local server to the remote server.
  • Synchronize — This method synchronizes records between the local server and the remote server. Most administrators use this setting.
  • Write-only — This method pushes the local server’s records to write to the remote server, but does not query records from the remote server to write to the local server.
Important:
Write-only server pushes records to the remote server without conflict resolution or checks. Two Write-only servers that attempt to write changes to a matching record on the same remote DNS server will cause a conflict and may corrupt data.
You can use the menu in this column to change a server’s DNS role.
Actions You can use the icons in this column to modify a DNS cluster server or to delete a server from the DNS cluster.

Delete a server from a DNS cluster

Important:
  • You must delete a server from a DNS zone before you add a replacement server to the DNS cluster. You cannot have two servers with the same hostname in a DNS cluster.
  • If you remove a server from a DNS cluster, the records will no longer synchronize with the other servers in the DNS cluster. The records on the deleted server will also no longer exist on the servers that remain in the DNS cluster.

To remove a cPanel & WHM or cPanel DNSOnly server from a DNS cluster, perform the following steps:

  1. Log in to the server that you wish to remove from the DNS cluster.
  2. Navigate to the DNS Cluster interface.
  3. In the Modify Cluster Status text box, select Disable DNS Clustering.
  4. Click Change.
  5. Click Return to Cluster Status.
  6. Log in to the servers that remain in the cluster.
  7. Navigate to the DNS Cluster interface (WHM >> Home >> Clusters >> DNS Cluster).
  8. Locate the server that you wish to delete.
  9. Click the x icon () under the Actions heading.

When you return to the DNS Cluster interface, the server will no longer appear in the list of servers in the DNS cluster.

Edit a server in a DNS Cluster

You can change a server’s DNS role or edit the server’s configuration settings at any time.

To edit a server’s DNS role, perform the following steps:

  1. Locate the server that you wish to edit.
  2. In the DNS Role menu, select a new role for the server.
  3. Click the save icon () to save your changes.

To edit a server’s configuration settings, perform the following steps:

  1. Locate the server you wish to edit.
  2. Click the edit icon () under the Actions heading. The cPanel DNS Remote Configuration interface will appear.
  3. After you make your changes to the server’s settings, click Submit.

Kas see vastus oli kasulik?

Seotud artiklid

Configuration Cluster
Overview: The Configuration Cluster interface allows you to link a master server to one or more...
Remote Access Key
Overview: Warning: We deprecated this interface in cPanel & WHM version 64. We...