How To Install bind-utils on CentOS 7
Introduction
In this tutorial we learn how to install bind-utils
on CentOS 7.
What is bind-utils
Bind-utils contains a collection of utilities for querying DNS (Domain Name System) name servers to find out information about Internet hosts. These tools will provide you with the IP addresses for given host names, as well as other information about registered domains and network addresses. You should install bind-utils if you need to get information from DNS name servers.
We can use yum
or dnf
to install bind-utils
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bind-utils.
Install bind-utils on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install bind-utils
using yum
by running the following command:
Install bind-utils on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install bind-utils
using dnf
by running the following command:
How To Uninstall bind-utils on CentOS 7
To uninstall only the bind-utils
package we can use the following command:
References
Summary
In this tutorial we learn how to install bind-utils
on CentOS 7 using yum
and dnf
.