Rebuilding cluster v-delete-remote-dns-host

Hello! I’m trying to move from a Master → Slave setup to a Master → Master DNS cluster.

When I try to run in the server 2, v-delete-remote-dns-host, the command just hangs and doesn’t respond. On the other server, it works without any issues.

After checking /var/log/hestia/error.log, I see multiple errors associated with v-delete-remote-dns-record:

v-delete-remote-dns-record  'dns-cluster' 'domain.tld' '18' [Error 15]
v-delete-remote-dns-record  'dns-cluster' 'domain.tld' '18' [Error 15]
v-delete-remote-dns-record  'dns-cluster' 'domain.tld' '19' [Error 15]
v-delete-remote-dns-record  'dns-cluster' 'domain.tld' '19' [Error 15]
v-delete-remote-dns-domain  'dns-cluster' 'domain.tld' [Error 15]
v-delete-remote-dns-domain  'dns-cluster' 'domain.tld' [Error 15]
v-delete-remote-dns-domain  'dns-cluster' 'domain.tld' [Error 15]
v-delete-remote-dns-domain  'dns-cluster' 'domain.tld' [Error 15]

Is there a way to manually delete the remote DNS server to rebuild the DNS cluster?

I had a moment of clarity while writing this; I found the file at

/usr/local/hestia/conf/dns-cluster.conf

Im rebuilding my cluster :slight_smile:

1 Like

v-list-remote-dns-hosts
v-delete-remote-dns-host hostname.domain.com
Then just re-add it.

You can add remote dns by API method and if you need to sync the dns for some reason you can use this

v-sync-dns-cluster hostname.domain.com

Make sure both servers are whitelisted to each other.