How To Install knot-resolver-module-http on Rocky Linux 8

In this tutorial we learn how to install knot-resolver-module-http on Rocky Linux 8. knot-resolver-module-http is HTTP module for Knot Resolver

Introduction

In this tutorial we learn how to install knot-resolver-module-http on Rocky Linux 8.

What is knot-resolver-module-http

HTTP module for Knot Resolver can serve as API endpoint for other modules or provide a web interface for local visualization of the resolver cache and queries. It can also serve DNS-over-HTTPS, but it is deprecated in favor of native C implementation, which doesn’t require this package.

We can use yum or dnf to install knot-resolver-module-http on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install knot-resolver-module-http.

Install knot-resolver-module-http on Rocky Linux 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-module-http using dnf by running the following command:

sudo dnf -y install knot-resolver-module-http

Install knot-resolver-module-http on Rocky Linux 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-module-http using yum by running the following command:

sudo yum -y install knot-resolver-module-http

How To Uninstall knot-resolver-module-http on Rocky Linux 8

To uninstall only the knot-resolver-module-http package we can use the following command:

sudo dnf remove knot-resolver-module-http

knot-resolver-module-http Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/bb/1c3e81c9ee94de5f91625577f6dbecaccdd6ec
/usr/lib64/knot-resolver/debug_opensslkeylog.so
/usr/lib64/knot-resolver/kres_modules/http
/usr/lib64/knot-resolver/kres_modules/http.lua
/usr/lib64/knot-resolver/kres_modules/http/bootstrap-theme.min.css
/usr/lib64/knot-resolver/kres_modules/http/bootstrap.min.css
/usr/lib64/knot-resolver/kres_modules/http/bootstrap.min.js
/usr/lib64/knot-resolver/kres_modules/http/d3.js
/usr/lib64/knot-resolver/kres_modules/http/datamaps.world.min.js
/usr/lib64/knot-resolver/kres_modules/http/dygraph.min.js
/usr/lib64/knot-resolver/kres_modules/http/epoch.css
/usr/lib64/knot-resolver/kres_modules/http/epoch.js
/usr/lib64/knot-resolver/kres_modules/http/favicon.ico
/usr/lib64/knot-resolver/kres_modules/http/glyphicons-halflings-regular.woff2
/usr/lib64/knot-resolver/kres_modules/http/jquery.js
/usr/lib64/knot-resolver/kres_modules/http/kresd.css
/usr/lib64/knot-resolver/kres_modules/http/kresd.js
/usr/lib64/knot-resolver/kres_modules/http/main.tpl
/usr/lib64/knot-resolver/kres_modules/http/selectize.bootstrap3.css
/usr/lib64/knot-resolver/kres_modules/http/selectize.min.js
/usr/lib64/knot-resolver/kres_modules/http/topojson.js
/usr/lib64/knot-resolver/kres_modules/http_doh.lua
/usr/lib64/knot-resolver/kres_modules/http_tls_cert.lua
/usr/lib64/knot-resolver/kres_modules/http_trace.lua
/usr/lib64/knot-resolver/kres_modules/prometheus.lua

References

Summary

In this tutorial we learn how to install knot-resolver-module-http on Rocky Linux 8 using yum and dnf.