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 Cluster sync

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
DNS Cluster sync
  • Quote

Post by ScIT » Mon Jul 18, 2016 9:03 am

Hi @ all

As requested form XoXiLhJ0mn I opened an a seperated thread for my dns sync problem.

My infrastructur runs on 2 vmware hosts, there we have 8 VestaCP based VMs with Ubuntu 14.04 LTS (one with 12.04 LTS). 4 of them are running only VestaCP for DNS (so in that way "dns-only" Servers, not used for Webhostings), 4 other Servers are running for normal Webhostings and sync there DNS Records to the 4 "dns-only" server.

so in that way: web0[1-4].domain.tld syncs with integrated remote dns script to the other dns[1-4].domain.tld

After Upgrade to v16, the sync has stopped on my systems. So I've done already some analysis work as below.

Base: I created a new subdomain on my web01 Server, the file "dns-cluster.pipe" will be correctly "loaded" with the "v-add-remote-dns-record". Normaly, the command "v-update-sys-queue dns-cluster" will be executed every 5 minutes - so I've just waited a bit and monitored the syslog output for cron event.

Code: Select all

Jul 18 10:50:01 web02 CRON[9911]: (admin) CMD (sudo /usr/local/vesta/bin/v-update-sys-queue dns-cluster)
After 15 Minutes (dns-cluster commands runs 3 times) I checked the system again, the "v-add-remote-dns-record" is stil in the "dns-cluster.pipe" file.

So i modified the file "v-update-sys-queue" file to get any error messages in the following line:

Code: Select all

    dns-cluster)    bash $VESTA/data/queue/$queue.pipe ;;
#    dns-cluster)    bash $VESTA/data/queue/$queue.pipe > /dev/null 2>&1 ;;
So that I see any output of the file and run it manually from the command line with the following error:

Code: Select all

Error: another sync process already running
If I run the command "bash /usr/local/vesta/data/queue/dns-cluster.pipe" manually from the command line, it works and the command inside of "dns-cluster.pipe" will be executed correctly and the dns entry will be populated on all dns systems.

Is there somewhere else, who have this problem or maybe found already an solution?

Best Regards
Raphael
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: DNS Cluster sync
  • Quote

Post by skurudo » Fri Aug 26, 2016 12:22 pm

Bugs on tracker
https://bugs.vestacp.com/issues/339
https://bugs.vestacp.com/issues/323
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: DNS Cluster sync
  • Quote

Post by ScIT » Sun Nov 20, 2016 10:13 pm

Fixed in: https://github.com/serghey-rodin/vesta/ ... f0db1c1e05
Top


Post Reply
  • Print view

3 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