I am migrating my DNS cluster master and have reached the stage of connecting the three slaves. Of the three, two are failing with ‘Error: api connection to dns.slave.hostname failed’.
I’ve created new API keys for them all, and testing them all with
curl -H "Authorization: 'access:key'" https://slave.host.name:8083/api/
returns Error: data received is null or invalid, check https://hestiacp.com/docs/server-administration/rest-api.html
which I believe is the correct response for that.
Looking in the nginx logs on the slaves, I can see that the v-add-remote-dns-host request is returning a 401 error, which suggests authentication, but the curl request is returning a 405 error.
One thing to note is that one slave that is syncing is in the same hosting provider network as the master (Contabo) but the other two aren’t, although I can’t see why that would be an issue.
What other config can I check to make sure everything is set up correctly?