Skip to main content

WHM error setting up DNS cluster for cPanel

Comments

12 comments

  • Dylan McKinstry

    Running ping command from web server to dns server give's the following: 4 packets transmitted, 4 received, 0% packet loss, time 3005ms
    rtt min/avg/max/mdev = 19.236/19.473/20.095/0.359 ms

    0
  • Dylan McKinstry

    Next ran the following from the web server:  nc -vz example.com 2087

     2087 port [tcp/*] succeeded!

    0
  • Dylan McKinstry

    Also ran the following: root@phx01-wb01:/home/example# curl -k \
      "https://sfo3-01-dns01.example.com:2087/json-api/listzones?api.version=1" \
      --user root:"API Token"
    {"cpanelresult":{"apiversion":"2","error":"Access denied","data":{"reason":"Access denied","result":"0"},"type":"text"}}
    root@phx01-wb01:/home/example#

    0
  • Dylan McKinstry

    Then How do I make sure that it is working?

    0
  • cPRex Jurassic Moderator

    The easiest way to tell is to update a zone file and ensure that record syncs across the cluster.  If it does, you can safely ignore that warning.

    0
  • Dylan McKinstry

    where would I see it on the dns server?

     

    0
  • cPRex Jurassic Moderator

    You'd see the zone updates in the zone file itself.  You could also check with dig directed to a specific nameserver:

    dig yourfaketestingsubdomain.domain.com @ns1.nameserver-you're-testing.com

    0
  • Dylan McKinstry

    does this mean it is working? 

    root@phx01-wb01:/home/example# dig testdns.example.com @ns3.example.net

    ; <<>> DiG 9.18.30-0ubuntu0.22.04.2-Ubuntu <<>> testdns.example.com @ns3.example.net
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 189
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    ;; WARNING: recursion requested but not available

    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 1232
    ;; QUESTION SECTION:
    ;testdns.example.com. IN    A

    ;; ANSWER SECTION:
    testdns.example.com. 14400 IN A     66.85.169.74

    ;; Query time: 20 msec
    ;; SERVER: 134.199.186.187#53(ns3.example.net) (UDP)
    ;; WHEN: Tue May 13 12:49:01 MST 2025
    ;; MSG SIZE  rcvd: 76

    root@phx01-wb01:/home/example#

    0
  • cPRex Jurassic Moderator

    If that's the record you added then yes, it's returning the IP from the remote system so it seems to be working well.

    0
  • Dylan McKinstry

    Thank you very much. Now things can run a little bit smother. What do you recommend for me to learn about this situation and more about whm/cpanel. thank you for your help.

    0
  • cPRex Jurassic Moderator

    It's always tough to make a recommendation on what to learn, since most people just don't learn things for no reason.

    I would say to read our documentation (https://docs.cpanel.net/) as things come up that you need to do, and feel free to ask questions anytime.  You could also join our Discord if you'd like to chat with other cPanel users.

    0

Please sign in to leave a comment.