Vesta- How to set up master-slave DNS cluster Rumi, January 28, 2019January 28, 2019 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 On the second server (slave) with vestacp you should create new user with name dns-cluster (via gui or cli)Code: v-add-user dns-cluster passowrd yourmail@example.tld On the first server (master) you should run this command: v-add-remote-dns-host slave.yourhost.com 8083 admin p4sw0rd slave.yourhost.com – main ip of slave server p4sw0rd – password for admin 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. Now Enable Zone Transfer enable AXFR (Zone Transfer) in Bind Replace following string in the named configuration file:allow-transfer {“none”;}; withallow-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 Related Administrations Configurations (Linux) CentOSCentOS 7DNSVestavesta cp
Add a New Disk Larger Than 2TB to An Existing Linux December 13, 2019December 11, 2020 I am using fdisk and parted utilities to do this configuration. First list the current partition details using fdisk command as shown. # fdisk -l List Linux Partition Table For the purpose of this article, I am attaching a hard disk of 20GB capacity, which can be followed for disk larger than 2TB as well. Once… Read More
Emby Load Balancing using Nginx May 26, 2020 Emby is a nice and excellent low resource hungry media server. However if you have substantially high amount of traffic, you need a load-balancer. A sample Nginx based load balancing configuration as below might help. Related Read More
Clone KVM-based Virtual Machines on Redhat / CentOS Linux February 24, 2020 Prerequisite: Operating System and Software Versions Operating System: – Redhat 7.3 Software: – libvirtd (libvirt) 2.0.0 Obtain Source Virtual Machine’s information Before we begin cloning any virtual machine we first need to obtain some basic information about it. The absolute minimum information required about the source virtual machine we are… Read More