Dns cluster add error (1.9)

Hello. There is a problem with adding DNS servers for the cluster.

v-add-remote-dns-host ns1.ххх.com.ua 8083 ‘admin’ ‘хххх’ ‘api’ ‘hcp2’
Error: api connection to ns1.хххх.com.ua failed

And using the new method of adding via API token I get the same thing. What could be the problem?
DNS servers are available and configured.


15 E_CONNECT Connection failed. Host is unreachable

But the servers are available and working. I even added the IP address of the server from which I execute the command to the fail2ban whitelist. It didn’t help.

In the panel, access for the IP address for api is also allowed. I don’t understand where the problem is.

From the main server

ping hostname.com any response?

Yes. Everything is fine. There is ping.

Well, I’ve already dug through everything… I don’t know what the problem could be. Everything works. Can you suggest anything?

I use Oracle Cloud. They give out a gray IP there. But I configured the firewall in Oracle and allowed all traffic and all ports. I don’t understand where the problem could be. It seems to me that there is a glitch in the panel.

PORT STATE SERVICE
53/tcp open domain
80/tcp open http
443/tcp open https
8083/tcp open us-srv

This may be due to the fact that a non-standard US port is used. Not 22

API connection goes over port 8083 bij default

So it should be working fine but personally I gave up debugging issues with Oracle not worth my time…

Port 8083 is open and working (as can be seen from nmap output). I can’t honestly understand what else the panel needs. I’ll try to trick you by throwing in a ready-made dns-cluster.conf file. It’s very strange why it doesn’t add here, but I set everything up on the same server a couple of months ago without any problems.

I will try to make the DNS cluster work. I think there are more priority tasks. For example, fix the creation of jail when creating a new user. I will inform if I manage to solve the problem with the DNS cluster.

How I got out of the situation. I created a file dns-cluster.conf and added to it:

HOST=‘ns1.xxx.com.ua’ PORT=‘8083’ USER=‘admin’ PASSWORD=‘xxx’ DNS_USER=‘hcp2’ TYPE=‘api’ SUSPENDED=‘no’ TIME=‘22:43:04’ DATE=‘2024-11-29’
HOST=‘ns2.xxx.com.ua’ PORT=‘8083’ USER=‘admin’ PASSWORD=‘xxx’ DNS_USER=‘hcp2’ TYPE=‘api’ SUSPENDED=‘no’ TIME=‘22:53:16’ DATE=‘2024-11-29’

Then in hestia.conf I added:

DNS_CLUSTER_SYSTEM=‘hestia-zone’
DNS_CLUSTER=‘yes’

Added to cron - /usr/local/hestia/bin/v-update-sys-queue dns-cluster

Added a test zone and everything synchronized perfectly.

Question for the participants, can you give an example of a dns-cluster.conf file for configuring not via login and password, but via API keys? Thank you!