BIND is generally the default and most popular DNS software that is used across various Linux distributions. BIND is used to translate domain names to their assigned IP address, ensuring the domain is resolvable across the internet. In this article, we will cover how to install BIND in a CentOS 6 environment. If you'd like to learn more about configuring BIND, please refer to this article covering that topic: Configure BIND server.
How to install BIND on CentOS 7
Before we begin, please ensure that you're logged into your server via SSH. Since BIND is essentially the standard for DNS software and is completed by using a simple Yum command.
The command listed below will install BIND, start the service, and then ensure that it is automatically started on each boot.
yum install bind bind-utils -y && service named start && chkconfig named on
Afterward, you can enter the following command to confirm that the service is installed and running properly.
service named status
That's it! You should now be able to start using BIND for all of your DNS-related needs!