We recommend using the latest Knot Resolver version. Our upstream releases undergo extensive automated testing and are suitable for production.
Packages available in your distribution's may be outdated. Follow the instructions below to obtain the latest Knot Resolver version for your distribution.
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
On Debian unstable and testing, use packages directly from Debian repositories. Otherwise install our upstream repositories using these steps:
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
After that apt will keep updating knot-resolver 5.x packages from our repositories. For complete matrix of releases and architectures in those repos, see home:CZ-NIC:knot-resolver-latest.
Enterprise Linux 7, 8, 9
Use Fedora EPEL.
yum install -y epel-release yum install -y knot-resolver
Package updates are delayed by about one week after release. To obtain the latest released version early, you can use the epel-testing repository.
yum install -y --enablerepo epel-testing knot-resolver
Use the distribution's repositories where we maintain up-to-date packages.
dnf install -y knot-resolver
Package releases are delayed by about a week. To obtain the latest released version early, you can use the updates-testing repository.
dnf install -y --enablerepo updates-testing knot-resolver
OpenSUSE Leap / Tumbleweed
Add the OBS package repository home:CZ-NIC:knot-resolver-latest to your system.
pacman -S knot-resolver
New releases are signed with one of our developer PGP keys:
pub rsa4096/0x9AB120DA0A76F6DE 2022-03-07 [SC] [expires: 2024-03-06] 3057EE9A448F362D74205A779AB120DA0A76F6DE uid [ full ] Ales Mrazek <email@example.com> pub rsa4096 2016-10-16 [SCA] [expires: 2027-11-11] B6006460B60A80E782062449E747DF1F9575A3AA uid [ full ] Vladimír Čunát (work) <firstname.lastname@example.org>
Older releases may be signed using the following keys:
See the Building from sources for instructions how to build from sources.
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.