Some Linux distributions contain Knot Resolver in their official repositories, but their policies usually don’t allow keeping it up to date. Therefore we recommend to use upstream repositories which have the latest stable version of Knot Resolver.
Please, follow the instructions for your packaging system:
Please follow https://pkg.labs.nic.cz/doc/?project=knot-resolver
sudo apt install software-properties-common sudo add-apt-repository ppa:cz.nic-labs/knot-resolver sudo apt update sudo apt install knot-resolver6
For details see https://launchpad.net/~cz.nic-labs/+archive/ubuntu/knot-resolver
sudo docker run -ti --net=host docker.io/cznic/knot-resolver:6
If for some reason you need to install Knot Resolver from source, check out building from sources documentation for developers.