kresc command not found

In this troubleshooting guide we learn how to fix kresc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

kresc: command not found

or when using sudo you get the following error message

sudo: kresc: command not found

Solutions to kresc: command not found

How To Fix kresc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kresc is provided by knot-resolver package.

knot-resolver is:

The Knot Resolver is a 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. There are three built-in modules - iterator, cache, validator, and many external.

The Lua modules, switchable and shareable cache, and fast FFI bindings makes it great to tap into resolution process, or be used for your recursive DNS service. It’s the OpenResty of DNS.

The server adopts a different scaling strategy than the rest of the DNS recursors - no threading, shared-nothing architecture (except MVCC cache that may be shared). You can start and stop additional nodes depending on the contention without downtime.

To fix this problem, we can install more using the command below.

sudo apt-get -y install knot-resolver

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install knot-resolver.

sudo apt -y install knot-resolver

Or if you have aptitude installed you can use the following command.

sudo aptitude install knot-resolver

Summary

In this tutorial we learn how to fix kresc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.