(Dec 29) New version 0.9.8-18 has been released. More you can find here

Sync DNS records with another server not running VestaCP

Questions regarding the DNS Server
BIND
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
chaosjester
Posts: 11
Joined: Thu Sep 04, 2014 5:41 am

Sync DNS records with another server not running VestaCP

Postby 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

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: Sync DNS records with another server not running VestaCP

Postby 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.
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

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

Re: Sync DNS records with another server not running VestaCP

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


Return to “DNS Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron