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

NS records are not properly created

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

NS records are not properly created
  • Quote

Post by drMacFaulty » Sun Dec 28, 2014 6:32 pm

Don't know if it's a bug or something, but I have domain.com added to package A.

In package A, I have the following name servers:
- ns1.mydomain.com
- ns2.mydomain.com
- ns3.mydomain.com

I add website domain.com to package A and when I create a website or DNS domain on that account I see that only 2 NS records are created (1 NS record is missing: ns3.mydomain.com).

Is this known? Does anybody else use 3 NS records and have the same issue?

Thanks in advance for your reply :)

edit: I also tried with creating a few other packages and domains, but the issue persists.
Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: NS records are not properly created
  • Quote

Post by BBuchanan1013 » Sat Jan 16, 2016 11:36 pm

drMacFaulty wrote:Don't know if it's a bug or something, but I have domain.com added to package A.

In package A, I have the following name servers:
- ns1.mydomain.com
- ns2.mydomain.com
- ns3.mydomain.com

I add website domain.com to package A and when I create a website or DNS domain on that account I see that only 2 NS records are created (1 NS record is missing: ns3.mydomain.com).

Is this known? Does anybody else use 3 NS records and have the same issue?

Thanks in advance for your reply :)

edit: I also tried with creating a few other packages and domains, but the issue persists.
If your using a single IP or server, having more than 2 is just a waste. Should your server fail, then all 3 ns's will fail. And TBH, you only need a min. of 2 ns's to function.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: NS records are not properly created
  • Quote

Post by tjebbeke » Sun Jan 17, 2016 4:58 pm

This is a little bug in vestaCP. There are some lines missing in the DNS templates for centos 6, .... I will create a pull request.

Quick fix:
/usr/local/vesta/data/templates/dns/default.tpl
Add this lines:

Code: Select all

ID='10' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns3%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
ID='11' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns4%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
ID='12' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns5%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
ID='13' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns6%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
ID='14' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns7%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
ID='15' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns8%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
Top


Post Reply
  • Print view

3 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