In the following blog post we are going through the steps of installing and configuring a Slave DNS (BIND/NAMED) server on a CentOS 7 Linux VPS. Keep in mind that you have to have a working Master DNS Server before you can use a Slave DNS server. You can use the following article on How to install and configure Master DNS (BIND/NAMED) server on a CentOS 7 VPS.
WHAT IS A DNS SERVER?
A slave DNS server is a DNS server that can fetch zone transfers from Master DNS servers. A DNS server in general is the Internet’s equivalent of a phone book.
It maintains a directory/record of domain names and translate them to Internet Protocol (IP) Addresses.
This is necessary because, although domain names are easy for people to remember, computers or machines, access websites based on IP addresses.
WHAT IS A BIND/NAMED?
It is the most widely used Domain Name System (DNS) software on the Internet. On Unix-like operating systems it is the de facto standard program used for DNS.
SSH TO YOUR VPS
First thing to do is to SSH to your virtual server.
UPDATE THE CENTOS SERVER
Before you proceed with the installation and configuration of the Slave DNS (BIND/NAMED) server, make sure the CentOS 7 virtual server is fully up-to-date by running the following yum command:
Install the vim editor if it’s not already installed on the server
yum install vim -y
INSTALL THE NAMED/BIND PACKAGE
Once your CentOS 7 system is updated, proceed with the installation of the bind-chroot package. You can install it using yum
yum install bind-chroot