Download

Official upstream packages

We recommend using these official upstream repositories with the latest Knot Resolver. Packages available in your distribution's repositories are often outdated (especially in Debian / Ubuntu).

Our latest version undergoes extensive automated testing and is suitable for production. Follow the instructions below to add our upstream package repository to your system. It contains the latest Knot Resolver and latest compatible Knot DNS.

Please note that we occasionally release a major version which may require manual upgrade. Please subscribe to our knot-resolver-announce mailing list to be notified of new releases, including upgrade instructions if necessary.

Debian / Ubuntu

wget https://secure.nic.cz/files/knot-resolver/knot-resolver-release.deb
dpkg -i knot-resolver-release.deb
apt update && apt install -y knot-resolver

For complete matrix of supported releases and architectures, see home:CZ-NIC:knot-resolver-latest.

CentOS

yum install -y https://secure.nic.cz/files/knot-resolver/knot-resolver-release.el.rpm
yum install -y knot-resolver

Only CentOS 7 is currently supported.

Fedora

dnf install -y https://secure.nic.cz/files/knot-resolver/knot-resolver-release.fedora.rpm
dnf install -y knot-resolver

For Fedora Rawhide, use distribution packages instead.

OpenSUSE Leap / Tumbleweed

Add the OBS package repository home:CZ-NIC:knot-resolver-latest to your system.

Arch Linux

We maintain the knot-resolver package in AUR.

Source code

Releases are signed with one of those PGP keys:

4A8B A48C 2AED 933B D495  C509 A1FB A5F7 EF8C 4869
B600 6460 B60A 80E7 8206  2449 E747 DF1F 9575 A3AA
BE26 EBB9 CBE0 59B3 910C  A35B CE8D D6A1 A50A 21E4

Tarballs for versions before 1.4.0 were signed by key:

DEF3 5D16 E5AE 59D8 20BD  F780 ACE2 4DA9 EE37 A832

See the Building from sources for instructions how to build from sources.

Docker image

This is simple way to experiment and does not require any dependencies or system modifications. The images are not designed for production use. See the build page hub.docker.com/r/cznic/knot-resolver for more information and options.