How to Install BIND on CentOS 7

BIND is by far the default and most popular DNS software utilized on Unix like operating systems, such as Linux or more specifically for this article CentOS 7. The primary function of BIND is to translate domain names to their corresponding IP addresses. The focus of this article is to cover the installation of BIND within CentOS 7. If you’d like to learn more about how to configure BIND, please refer to our article that covers that topic: Configure BIND server
 

How to install BIND (CentOS 7)

Before we begin, please ensure that you’re logged into your server via SSH. If you’re not certain how to access your server via SSH, please refer to our guide: Connecting to Your Server via SSH

 

The installation of BIND is very straightforward in CentOS 7 since the package is available directly through the Yum repositories. To install BIND please issue the following command:

 

 

Please note that the -y option confirms that you wish to install BIND and all of its dependencies. Once the installation is complete you’ll need to ensure that it is configured to start automatically during the boot process:

 

 

You’ll also need to ensure that the service is started now to begin using BIND:

 

 

To ensure that BIND has started without any issues you can use the status command:

 

 

The output of the status command will indicate if BIND has started successfully or not. Providing that you did not encounter any errors, BIND should now be installed and ready for you to start using it!


Share:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.