How To Install knot-resolver on AlmaLinux 8

In this tutorial we learn how to install knot-resolver in AlmaLinux 8. knot-resolver is Caching full DNS Resolver

Introduction

In this tutorial we learn how to install knot-resolver on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install knot-resolver.

Install knot-resolver on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install knot-resolver using dnf by running the following command:

sudo dnf -y install knot-resolver

Install knot-resolver on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install knot-resolver using yum by running the following command:

sudo yum -y install knot-resolver

How To Uninstall knot-resolver on AlmaLinux 8

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 AlmaLinux 8 using yum and dnf.