Page 1 of 1
dns-cluster not deleting nor updating domains DNS
Posted: Sun Apr 20, 2014 2:22 pm
by jym
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
Re: dns-cluster not deleting nor updating domains DNS
Posted: Thu Apr 24, 2014 8:08 pm
by ricardgf
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!!
Re: dns-cluster not deleting nor updating domains DNS
Posted: Mon Apr 28, 2014 6:45 pm
by ricardgf
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.
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.
Re: dns-cluster not deleting nor updating domains DNS
Posted: Fri Aug 26, 2016 12:24 pm
by skurudo