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 General Discussion
  • Search

3-Server Setup with External DNS

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Radi
Posts: 7
Joined: Thu Apr 07, 2016 8:02 pm

3-Server Setup with External DNS
  • Quote

Post by Radi » Sun Dec 10, 2017 2:04 am

Hello guys.

Let's say I have 3 VPS'es

VPS1 - 1.1.1.1
VPS2 - 2.2.2.2
VPS3 - 3.3.3.3

I want VPS1 to be webserver+database+ftp+mail server. I want VPS2 and VPS3 to be only DNS servers(master + slave DNS), but when I add a Web domain to VPS1, I want the DNS records to be created on VPS2 and VPS3, so VPS1 use them for DNS. I also want to be able to add another VPS4 (4.4.4.4) and etc. to be used as webserver+database+ftp+mail server. DNS for VPS4 should be handled by VPS2 and VPS3. They should be like master nameservers for my whole setup of webservers. Is this possible? If I confused you, can post a diagram.

P.S. I hope the creation of user accounts in my scenario can work automatically(considering using Vesta for hosting offers).
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: 3-Server Setup with External DNS
  • Quote

Post by mehargags » Sun Dec 10, 2017 6:33 am

Please read the docs
http://vestacp.com/docs/#how-to-setup-dns-cluser
Top

Radi
Posts: 7
Joined: Thu Apr 07, 2016 8:02 pm

Re: 3-Server Setup with External DNS
  • Quote

Post by Radi » Sun Dec 10, 2017 12:10 pm

This works for DNS server "named" regardless of being web server or not... infact, VestaCP is a full stack on every VPS so you can use all VPS as Webservers and still make one of them as Master DNS replicating zones to other VPSs as backup DNS
Top

Radi
Posts: 7
Joined: Thu Apr 07, 2016 8:02 pm

Re: 3-Server Setup with External DNS
  • Quote

Post by Radi » Tue Dec 19, 2017 12:35 am

I got it setup the following way and it's working.

VPS1 got the VPS2 and VPS3 as DNS slaves.
VPS2 got VPS3 as a DNS slave(usable for just plain DNS hosting). Of course I had to create child-ns of the nameserver domain on all of them.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • 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
 

 

cron

Login  •  Register

I forgot my password