Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

DNS sync failed

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
khel
Posts: 12
Joined: Fri Apr 25, 2014 11:41 am

DNS sync failed
  • Quote

Post by khel » Fri Apr 25, 2014 11:45 am

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
Top

fedekrum
Posts: 49
Joined: Mon May 12, 2014 7:45 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: DNS sync failed
  • Quote

Post by fedekrum » Sun May 18, 2014 4:23 am

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.
Top

khel
Posts: 12
Joined: Fri Apr 25, 2014 11:41 am

Re: DNS sync failed
  • Quote

Post by khel » Sun May 18, 2014 6:59 am

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
Top

fedekrum
Posts: 49
Joined: Mon May 12, 2014 7:45 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: DNS sync failed
  • Quote

Post by fedekrum » Thu May 22, 2014 10:15 pm

No firewall. Is just another identical Digital Ocean setup with vesta.
Top

khel
Posts: 12
Joined: Fri Apr 25, 2014 11:41 am

Re: DNS sync failed
  • Quote

Post by khel » Fri May 23, 2014 7:21 am

Sorry can't help u... possibly somebody else can.

Regards,
M
Top

GoodWin
Posts: 17
Joined: Fri Aug 30, 2013 8:15 pm

Re: DNS sync failed
  • Quote

Post by GoodWin » Fri Jun 06, 2014 3:01 pm

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.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: DNS sync failed
  • Quote

Post by imperio » Sat Jun 28, 2014 11:25 am

8083 on master
Top

mawan
Posts: 7
Joined: Sun Jan 15, 2017 5:47 am

Re: DNS sync failed
  • Quote

Post by mawan » Thu Jan 25, 2018 1:04 pm

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.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password