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

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 7, 8

yum install -y
yum install -y knot-resolver


dnf install -y
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

pacman -S knot-resolver

Source code

New releases are signed with one of our developer PGP keys:

pub   rsa4096 2016-12-07 [SC] [expires: 2022-01-20]
uid           [  full  ] Tomas Krizek <>

pub   rsa4096 2016-10-16 [SCA] [expires: 2021-10-15]
uid           [  full  ] Vladimír Čunát (work) <>

Older releases may be signed using the following keys:

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 for more information and options.