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

Sync DNS records with another server not running VestaCP

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
chaosjester
Posts: 11
Joined: Thu Sep 04, 2014 5:41 am

Sync DNS records with another server not running VestaCP
  • Quote

Post by chaosjester » Thu Jun 22, 2017 4:57 am

Hi All,

I currently have 2 vps's running VestaCP and have the dns cluster set up and working, but I want to shut down one of them and migrate to only 1. I have another smaller VPS that is running centos7 and want to use it instead of the 2nd Vesta server.

Does anyone know a good way to sync the DNS records from Vesta to another server just running BIND?

TIA
Top

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

Re: Sync DNS records with another server not running VestaCP
  • Quote

Post by skurudo » Wed Jul 19, 2017 1:27 pm

There is no ready solution for this.
But you have bind with VestaCP installation, try to look how sync two bind server.
Top

gecube_ru
Posts: 141
Joined: Thu Jun 22, 2017 1:21 pm

Re: Sync DNS records with another server not running VestaCP
  • Quote

Post by gecube_ru » Thu Jul 27, 2017 7:00 am

Hello!

I asked the same questions yesterday: viewtopic.php?f=30&t=15013

I think that there is direct naive solution (example for Centos):
1. take files /etc/named.conf and /etc/rndc.key and copy to second server
2. copy also all files included in /etc/named.conf. They are usually globbed by mask: /home/*/conf/dns/*.db
3. apply new configuration on second server

I am not sure that this will be 100% robust solution, but can be easily scripted.
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