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 not deleting nor updating domains DNS

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
jym
Posts: 3
Joined: Fri Apr 04, 2014 11:36 pm

dns-cluster not deleting nor updating domains DNS
  • Quote

Post by jym » Sun Apr 20, 2014 2:22 pm

Hi,

I might be doing something wrong, but creating domain on a server and sync with dns-cluster works on creating a domain and also modifying it. But it doesn't work if I delete a domain or if I move a user and it's domain...

Is that normal ?
Thanks
Top

ricardgf
Posts: 2
Joined: Thu Apr 24, 2014 7:56 pm

Re: dns-cluster not deleting nor updating domains DNS
  • Quote

Post by ricardgf » Thu Apr 24, 2014 8:08 pm

Hi,
I'm not sure if it's related, bit I've recently setup a dns cluster with the latest version of vesta (ubuntu 12.04 and vesta 0.9.8-8) and the slave does not get updated. It is like the cron job never gets executed, but it's present and the crontab seems ok to me.

If I call the script manually

Code: Select all

/usr/local/vesta/bin/v-update-sys-queue dns-cluster 
the slave gets updated, but the counter of DNS domains and DNS records on the user dns-cluster user gets screwed and I have to do a "rebuild-dns" for them to be OK.

I don't know if it's related. Any Ideas? Maybe there is some DNS entry that is screwing up the sync?

Thankyou!!
Top

ricardgf
Posts: 2
Joined: Thu Apr 24, 2014 7:56 pm

Re: dns-cluster not deleting nor updating domains DNS
  • Quote

Post by ricardgf » Mon Apr 28, 2014 6:45 pm

ricardgf wrote:Hi,
I'm not sure if it's related, bit I've recently setup a dns cluster with the latest version of vesta (ubuntu 12.04 and vesta 0.9.8-8) and the slave does not get updated. It is like the cron job never gets executed, but it's present and the crontab seems ok to me.

If I call the script manually

Code: Select all

/usr/local/vesta/bin/v-update-sys-queue dns-cluster 
the slave gets updated, but the counter of DNS domains and DNS records on the user dns-cluster user gets screwed and I have to do a "rebuild-dns" for them to be OK.

I don't know if it's related. Any Ideas? Maybe there is some DNS entry that is screwing up the sync?

Thankyou!!
Well, it ended being a strange domain sync error between the two servers, it's now working correctly.

I will describe the procedure to discover the problem as It might help you:

First look at the log that vesta generates.

Code: Select all

 tail -f /var/log/vesta/error.log 

There I got an error but it didn't give any clue:

Code: Select all

v-change-remote-dns-domain-soa user demo.com ns1.demo.org       [Error 3]
So I ended up running the command as root which told me a more detailed error, and it helped me debug the issue.

Hoping this might help somebody.
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 not deleting nor updating domains DNS
  • Quote

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

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


Post Reply
  • Print view

4 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