Page 1 of 1

DNS sync failed

Posted: Fri Apr 25, 2014 11:45 am
by khel
Hello,
Today i have started receiving these messages from master,

v-add-remote-dns-record
Error: api connection to x.x.x.x failed.

Remote dns host has been suspended.After resolving issue run following commands:

v-unsuspend-remote-dns-host x.x.x.x
v-sync-dns-cluster x.x.x.x

After,

v-sync-dns-cluster x.x.x.x
Error: api connection to x.x.x.x failed
/usr/local/vesta/func/main.sh: line 62: [: 15 2014-04-25 12:39:13 v-sync-fns-cluster x.x.x.x : integer expression expected

Any ideias where to look for?

Thanks

Re: DNS sync failed

Posted: Sun May 18, 2014 4:23 am
by fedekrum
Exact same thing over here.

Error: api connection to ns2.xx.com failed
/usr/local/vesta/func/main.sh: line 62: [: 15 2014-05-18 00:08:57 v-add-remote-dns-host ns2.xx.com. 8083 admin P4SS : integer expression expected

Digital Ocean VPS, Ubuntu 14.04 32 here.

Re: DNS sync failed

Posted: Sun May 18, 2014 6:59 am
by khel
fedekrum wrote:Exact same thing over here.

Error: api connection to ns2.xx.com failed
/usr/local/vesta/func/main.sh: line 62: [: 15 2014-05-18 00:08:57 v-add-remote-dns-host ns2.xx.com. 8083 admin P4SS : integer expression expected

Digital Ocean VPS, Ubuntu 14.04 32 here.
Hi,
Do you have firewall on the destination?

Regards

Re: DNS sync failed

Posted: Thu May 22, 2014 10:15 pm
by fedekrum
No firewall. Is just another identical Digital Ocean setup with vesta.

Re: DNS sync failed

Posted: Fri May 23, 2014 7:21 am
by khel
Sorry can't help u... possibly somebody else can.

Regards,
M

Re: DNS sync failed

Posted: Fri Jun 06, 2014 3:01 pm
by GoodWin
Hello, this question: do I understand correctly - Synchronization between Master and Slave is through port 8083 or need to ns2 were open some ports with 8083 and 53?

I have an error in error.log:

"[Error 15 2014-06-05 07:14:39 v-add-remote-dns-host "

On ns2 open ports 8083 and 53, debian-7.5.0-i386.
In Advance, Thank You.

Re: DNS sync failed

Posted: Sat Jun 28, 2014 11:25 am
by imperio
8083 on master

Re: DNS sync failed

Posted: Thu Jan 25, 2018 1:04 pm
by mawan
I also got the same problem.

From ns1.domain.com, I can add remote-dns at ns2.domain.com.
But from ns2.domain.com, an error message appears: "API connection to ns1.domain.com failed".

Then I go to https://ns1.domain.com:8083 and turn off iptables and fail2ban. Unexpectedly, the issue is resolved. I can give the v-add-remote-dns-host command.

I'm still a beginner. Hopefully these tips useful.