Need help? Chat now!

Hostwinds Tutorials

Search results for:


Table of Contents


How To Install BIND (CentOS 7)

How To Install BIND on CentOS 7

Tags: Bind,  CentOS Web Panel 

How To Install BIND (CentOS 7)

BIND is 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 configuring BIND, please refer to our article covering 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:

yum install bind bind-utils -y

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:

systemctl enable named

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

systemctl start named

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

systemctl status named

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!

Written by Michael Brower  /  June 22, 2017