Page 1 of 1
DNS Server not on Webserver
Posted: Tue May 03, 2016 6:02 am
by cubic
Hello,
This is my first try with VestaCP. Installed and everything looks good, but I don't know if its possible to use the server constellation below.
I want to use 2 different DNS Servers ns1 & ns2 and a third server for web/mysql/mail etc.. So I don't want to run a DNS server on the "main" webserver. Is this possible? I read the "Master/Slave" article, checked the forum and if I understood, the webserver must be the master DNS. Is this correct?
thx for your help
Re: DNS Server not on Webserver
Posted: Tue May 03, 2016 8:18 am
by cubic
Who told you that the VestaCP should be a master server? This means that you did not understand the concept of DNS and VestaCP at all.
I don't contest that fact ;)
Its hard to understand the concept of VestaCP. The documentation could be little more explicit. What do you mean with " then announce it with the root server accordingly".
Just to be clear. Here's what I've done so far:
1. Machine "NS1" 1.1.1.1 (VestaCP with only "named" option installed)
2. Machine "NS2" 1.1.1.2 (VestaCP with only "named" option installed)
3. Machine "WEB1" 1.1.1.3 (VestaCP with everything except "named")
4. ns1.mydomain -> 1.1.1.1 = ok
5. ns2.mysomain -> 1.1.1.2 = ok
The documentation tells me to use the "child-ns" template. But whenever I try to configure something related to DNS I get the message:
Code: Select all
Error: DNS_SYSTEM is not enabled in the /usr/local/vesta/conf/vesta.conf
Thats why it seems (for me at least) that Vesta must be installed with named option on the primary server web1 and zone replication bases on the DNS protocol. And that means that there is no need to install vesta on the ns server.
The error message above doesn't help. What does that mean DNS_SYSTEM is not enabled? Is there a parameter like DNS_SYSTEM = 1 or does that require a whole named installation.
I am very confused.
Regards,
Re: DNS Server not on Webserver
Posted: Tue May 03, 2016 4:58 pm
by cubic
Thats why I thought that 1.1.1.3 must be the master. I think you are right. Somehow an instance of bind must run on the this server to activate the DNS functions. But I believe that it cannot be a/the solution to install and uninstall the dns service on the webserver.
My current status is that 1.1.1.2 & 1.1.1.1 are in a DNS Cluster (didn't check the logs or try replication, just wanted to see if Vesta is fine with that) - and yes - it works. But both servers don't know 1.1.1.3. Neither does this server know the DNS Cluster.
I think it would be a great idea to create a useable documentation with the configuration they expect to be inplace, rather then this 3 Question FAQ about DNS, called Documentation. I am experienced with Linux Server management and I am not able to set up a working installtion. I lost 4 days now. I am probably faster writing my own CP ;)
Nevertheless - thank you for your time XoXiLhJ0mn.
regards
Re: DNS Server not on Webserver
Posted: Fri May 13, 2016 8:50 pm
by Mr.Erbutw
To avoid errors in the correctness of the domain settings check them
http://www.dnssy.com/report.php
Re: DNS Server not on Webserver
Posted: Wed May 18, 2016 7:38 pm
by Mr.Erbutw
Clearly there are services better, but the service I helped when there was a problem.