Hello!
I have two servers. One is the master and the other is the secondary. (Master-Slave)
What I did to make it work:
Server management
How to setup a DNS Cluster
If you are looking for the options to minimize DNS-related downtime or the way to manage dns across all server you have, you might consider to set up dns cluster.
How to set up master-slave DNS cluster
If you are looking for the options to avoid any DNS-related downtime or the way to manage dns across all server you have, you might consider to set up dns cluster.
- Create user dns-cluster on a server which will be used as dns slave
- Run following command on a master:
v-add-remote-dns-host slave.yourhost.com 8083 admin p4sw0rd
Password and host name should be replaced with relevant data of course.
This way you can set up master->slave or master-master-master cluster. There is no limitation on how to chain dns servers.
How to enable AXFR (Zone Transfer) in Bind
Replace following string in the named configuration file:
allow-transfer {“none”;};
with
allow-transfer { XXX.YYY.ZZZ.111; XXX.YYY.ZZZ.222; };
also-notify { XXX.YYY.ZZZ.111; XXX.YYY.ZZZ.222; };
The location of this file on RHEL and CentOS: /etc/named.conf
The location of this file on Debian and Ubuntu: /etc/bind/named.conf
But the problem is that it only syncs when I run the following command in putty:
/usr/local/hestia/bin/v-sync-dns-cluster
- machine os: Debian 9.13 (x86_64)
Hestia Control Panel:
v1.3.5
Cpu: Ryzen 9 3900x and 64Gb ram. 1TB SSD
- Machine2 os (vps): Debian 9.12
(x86_64)
2 Cpu core, 4Gb ram. 50Gb SSD
Machine 2 only DNS2 nameserver!
Domains 101, Record: 1577
VestaCP 0.9.8 version
When I installed this, HestiaCP was not installed properly and gets the ip address from vps via vpn. Therefore, I cannot reinstall.