Get it now?

Official sources

Official repositories


You need jessie-backports and add both repositories to get libknot library used by Knot Resolver:

run as root:

apt-get install apt-transport-https lsb-release
wget -O /etc/apt/trusted.gpg.d/knot-resolver.gpg
echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/knot.list
echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/knot-resolver.list
apt-get update
apt-get install -t jessie-backports knot-resolver

Ubuntu PPA:

Again, you need both PPA repositories.

run as root:

LC_ALL=C.UTF-8 add-apt-repository ppa:cz.nic-labs/knot-dns
LC_ALL=C.UTF-8 add-apt-repository ppa:cz.nic-labs/knot-resolver
apt-get update
apt-get install knot-resolver


Knot Resolver is available in the official Fedora repositories starting with Fedora 23.

run as root:

dnf install knot-resolver


Knot Resolver is available from the official OpenSUSE repositories staring with OpenSUSE 42.1:

zypper addrepo
zypper refresh
zypper install knot-resolver

Building from sources

The Knot Resolver depends on the 2.3.3 (and higher) version of the Knot DNS library, LuaJIT and libuv. See the Building project documentation page for more information.

Docker image

This is simple and doesn't require any dependencies or system modifications, just run:

$ docker run cznic/knot-resolver

See the build page for more information and options.


The project builds a resolver library in the lib directory, and a daemon in the daemon directory.

$ kresd -h

See the documentation at