Page 1 of 1

How To Install BIND (CentOS 7)

Posted: Sun Dec 08, 2019 1:13 pm
by adm_3ch
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:
Code: Select all
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:
Code: Select all
systemctl enable named
You’ll also need to ensure that the service is started now to begin using BIND:
Code: Select all
systemctl start named
To ensure that BIND has started without any issues you can use the status command:
Code: Select all
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!