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.
List DNS records issue [Solved]
-
- Posts: 22
- Joined: Fri Jun 20, 2014 8:35 am
List DNS records issue [Solved]
I have commented out a number of the default DNS entries for the child-ns Template here -
However this now appears to give an incorrect number of DNS records in the list for new domains:
There are actually 10 records when you enter the domain DNS list ...
Is this a bug or is there a better / correct way to achieve this? I don't need www, ftp, pop for example as it's all the same shared IP. 1 A record will do :P
Code: Select all
/usr/local/vesta/data/templates/dns/child-ns.tpl
There are actually 10 records when you enter the domain DNS list ...
Is this a bug or is there a better / correct way to achieve this? I don't need www, ftp, pop for example as it's all the same shared IP. 1 A record will do :P
Last edited by Ghillie-up on Wed Jun 17, 2015 3:41 pm, edited 1 time in total.
Re: List DNS records issue
Rebuild / Rebuild dns ?
-
- Posts: 22
- Joined: Fri Jun 20, 2014 8:35 am
Re: List DNS records issue
Negative, I have rebuilt and rebuilt DNS as suggested but this has no effect.
I have created a new random domain, and it is populated with 8 DNS records. The base record, minus the A records for (POP, WWW, FTP). However the /list/dns/ shows the domain list as having 13 DNS records. (What would be the default).
Interestingly ... I have also tested with domain keys enabled when creating the domain and this created 10 records... As before but with the two extra domain key txt records, but still shows 13 records being created. So regardless if entering domains keys or not the DNS list is still not updating as it should...
I have created a new random domain, and it is populated with 8 DNS records. The base record, minus the A records for (POP, WWW, FTP). However the /list/dns/ shows the domain list as having 13 DNS records. (What would be the default).
Interestingly ... I have also tested with domain keys enabled when creating the domain and this created 10 records... As before but with the two extra domain key txt records, but still shows 13 records being created. So regardless if entering domains keys or not the DNS list is still not updating as it should...
Re: List DNS records issue [SOLVED]
I found the issue to be a a TAB character in the value of a DNS record entry.
To solve, edit:
$USER in my case is "admin"
$DOMAIN should be something like "example.com"
Look anywhere in the file for a stray TAB character or anything that seems wrong/repeated.
Save and rebuild the dns by running:
Again $USER stands for "admin", and the one means that the dns service should be restarted.
To solve, edit:
Code: Select all
vim /usr/local/vesta/data/users/$USER/dns/$DOMAIN.conf
$DOMAIN should be something like "example.com"
Look anywhere in the file for a stray TAB character or anything that seems wrong/repeated.
Save and rebuild the dns by running:
Code: Select all
v-rebuild-dns-domains $USER 1
-
- Posts: 22
- Joined: Fri Jun 20, 2014 8:35 am
Re: List DNS records issue [Solved]
Sorry for the delay. Haven't been looking at Vesta in a while due to the delay in update. Yes, this worked fine.
I checked the config and there was some commented out lines ... Removed these lines from config and ran the this worked.
I checked the config and there was some commented out lines ... Removed these lines from config and ran the
Code: Select all
v-rebuild-dns-domains $USER 1