Skip to main content

DNS Only problem with DNS cluster

Comments

5 comments

  • Elizabeta

    Hello,

    I have tried again setting DNS cluster, and there is error

    Failed to setup DNS CLuster for module "cPanel"

    0
  • cPRex Jurassic Moderator

    Hey hey!  I'm not finding anything on my end about the "cluster_user" error you mentioned.  Is there more information in the main cPanel log at /usr/local/cpanel/logs/error_log?

    0
  • Elizabeta

    Hello,

    Thank you for your answer. Now, DNS Cluster is configured, cPanel is in synchronize mode, DNS Only in standalone mode.
    I have a few questions:

    When I generate API Token do I have to save it on a DNS Only server or just copy it and put in DNS Cluster configuration?

    When I go to my cPanel logs  /usr/local/cpanel/logs/api_tokens_log
    [2024-06-07 09:43:15 +0200] info [whostmgrd] Host: ['212.*.*.*'] HTTP Status: ['200'], User: ['root'], Token Name: ['reverse_trust_b1f594e4-7b6e-4733-bbfb-d611fb0ad9a8'], Request: ['GET /scripts2/showversion? HTTP/1.1']
    [2024-06-07 09:43:22 +0200] info [whostmgrd] Host: ['212.*.*.*'] HTTP Status: ['200'], User: ['root'], Token Name: ['reverse_trust_b1f594e4-7b6e-4733-bbfb-d611fb0ad9a8'], Request: ['GET /json-api/gethostname? HTTP/1.1']

    I do not see my Token Name , but on DNS Only server in /usr/local/cpanel/logs/api_tokens_log
    [2024-06-07 09:43:14 +0200] info [whostmgrd] Host: ['212.39.111.60'] HTTP Status: ['200'], User: ['root'], Token Name: ['clusteralma'], Request: ['GET /json-api/version? HTTP/1.1']
    [2024-06-07 09:43:14 +0200] info [whostmgrd] Host: ['212.39.111.60'] HTTP Status: ['200'], User: ['root'],

    There I see Token Name clusteralma


    Is this correct configuraton of DNS Cluster?

    I read this documentation link https://docs.cpanel.net/knowledge-base/dnsonly/guide-to-dns-cluster-configurations 

    "Add trusted IP addresses

    The /etc/ips.dnsmaster file contains your DNS cluster’s list of trusted nameserver IP addresses. By default, this file lists the nameservers’ main IP addresses in your cluster as trusted IP addresses."

    Is the this file  necessary /etc/ips.dnsmaster for the dns cluster?

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    That all looks correct.  You should never need to manually edit the ips.dnsmaster file as that could hurt the cluster configuration.

     

    0
  • Elizabeta

    Hello,

    Than you!

    BR

    0

Please sign in to leave a comment.