How To Install knot-resolver on CentOS 7
Introduction
In this tutorial we learn how to install knot-resolver
on CentOS 7.
What is knot-resolver
The Knot Resolver is a DNSSEC-enabled caching full resolver implementation written in C and LuaJIT, including both a resolver library and a daemon. Modular architecture of the library keeps the core tiny and efficient, and provides a state-machine like API for extensions. The package is pre-configured as local caching resolver. To start using it, start a single kresd instance $ systemctl start [email protected]
We can use yum
or dnf
to install knot-resolver
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install knot-resolver.
Install knot-resolver on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install knot-resolver
using yum
by running the following command:
sudo yum -y install knot-resolver
Install knot-resolver 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.
sudo dnf makecache
After updating yum database, We can install knot-resolver
using dnf
by running the following command:
sudo dnf -y install knot-resolver
How To Uninstall knot-resolver on CentOS 7
To uninstall only the knot-resolver
package we can use the following command:
sudo dnf remove knot-resolver
References
Summary
In this tutorial we learn how to install knot-resolver
on CentOS 7 using yum
and dnf
.