Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

List DNS records issue [Solved]

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Ghillie-up
Posts: 22
Joined: Fri Jun 20, 2014 8:35 am

List DNS records issue [Solved]
  • Quote

Post by Ghillie-up » Sun Mar 08, 2015 2:10 am

I have commented out a number of the default DNS entries for the child-ns Template here -

Code: Select all

/usr/local/vesta/data/templates/dns/child-ns.tpl
However this now appears to give an incorrect number of DNS records in the list for new domains:

Image

There are actually 10 records when you enter the domain DNS list ...

Image

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.
Top

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

Re: List DNS records issue
  • Quote

Post by skurudo » Tue Mar 10, 2015 12:33 pm

Rebuild / Rebuild dns ?
Top

Ghillie-up
Posts: 22
Joined: Fri Jun 20, 2014 8:35 am

Re: List DNS records issue
  • Quote

Post by Ghillie-up » Tue Mar 10, 2015 1:34 pm

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...
Top

elninja
Posts: 3
Joined: Mon Sep 29, 2014 6:26 pm

Re: List DNS records issue [SOLVED]
  • Quote

Post by elninja » Wed May 06, 2015 7:55 pm

I found the issue to be a a TAB character in the value of a DNS record entry.


To solve, edit:

Code: Select all

vim /usr/local/vesta/data/users/$USER/dns/$DOMAIN.conf
$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:

Code: Select all

v-rebuild-dns-domains $USER 1
Again $USER stands for "admin", and the one means that the dns service should be restarted.
Top

Ghillie-up
Posts: 22
Joined: Fri Jun 20, 2014 8:35 am

Re: List DNS records issue [Solved]
  • Quote

Post by Ghillie-up » Wed Jun 17, 2015 3:39 pm

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

Code: Select all

v-rebuild-dns-domains $USER 1
this worked.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Interface”



  • 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