We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
DNS Template change & v-rebuild-dns-domain command
DNS Template change & v-rebuild-dns-domain command
As I understand it, when I change the default DNS template found at /usr/local/vesta/data/templates/dns/default.tpl
, then I need to run the bash command
to update a specific site that uses this template, or the bash command
to update all of the domains of a specific user.
So, I made changes to the default DNS template (added another NS record, removed A records for pop and ftp and changed the www A record to CNAME) to fit my needs. After that I run the command
expecting all of these changes to be reflected on the sites zone file, but nothing actually changed. All of the domains' DNS entries are the same as before. There are still A records for ftp and pop, and www is an A record instead of a CNAME.
No luck either with the command
Any ideas?
I'm on Ubuntu 14.04
, then I need to run the bash command
Code: Select all
v-rebuild-dns-domain
Code: Select all
v-rebuild-dns-domains
So, I made changes to the default DNS template (added another NS record, removed A records for pop and ftp and changed the www A record to CNAME) to fit my needs. After that I run the command
Code: Select all
v-rebuild-dns-domain USER DOMAIN
No luck either with the command
Code: Select all
v-rebuild-dns-domains
I'm on Ubuntu 14.04
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: DNS Template change & v-rebuild-dns-domain command
Your user is using the default dns template?
Re: DNS Template change & v-rebuild-dns-domain command
This is interesting... I'd completely forgotten about this thread and today (2,5 years later) I was looking for an answer to this same problem.
Anyway, the problem is still there and a quick workaround I've found is to apply a different DNS template to the domain and then reapply the changed DNS template, through the Web Control Panel.
Anyway, the problem is still there and a quick workaround I've found is to apply a different DNS template to the domain and then reapply the changed DNS template, through the Web Control Panel.
-
- Posts: 22
- Joined: Sun Sep 07, 2014 10:04 am
Re: DNS Template change & v-rebuild-dns-domain command
I can confirm the issue, neither of v-rebuild-dns-domain or v-rebuild-dns-domains is working. The workaround mentioned is what i've been using to apply any changes to the template.