Package Details: knot 2.5.4-1

Git Clone URL: (read-only)
Package Base: knot
Description: high-performance authoritative-only DNS server
Upstream URL:
Keywords: dns nameserver
Licenses: GPL3
Submitter: seberm
Maintainer: oerdnj (julianbrost)
Last Packager: julianbrost
Votes: 14
Popularity: 0.281369
First Submitted: 2011-11-17 18:05
Last Updated: 2017-08-31 13:18

Latest Comments

oerdnj commented on 2017-07-16 08:13

@julianbrost Thanks, I have just added you as co-maintainer. Please go ahead with your updates.

julianbrost commented on 2017-07-15 10:33

I'd be willing to co-maintain the package.

Update: I have created a repo with my changes at

0x2a commented on 2017-05-26 19:44

when building this in a chroot with only base-devel installed, this fails because of missing libedit dependency. Would you mind adding the dependency?

Additionally it seems libcap-ng is needed as-well?

oerdnj commented on 2017-02-28 09:02

BTW the packages in aur4 can be co-maintained, so if you are active user of Knot DNS and Arch, I would happily accept co-maintainers (if somebody tells me, how to add them...)

Anthony25 commented on 2017-02-08 08:24

Some tests are failing with the 2.3.2 and 2.4.0. Ignoring these tests allows to complete the compilation, what seems to work (I'm using the 2.4.0 for a few days).

Mic92 commented on 2017-02-02 10:41

new version: 2.4.0 sha512: 0ba4d3e6951fc4d5c0e3dc88a720462690dd1d25f4bc1e7c24bb5747d3853679

this releases adds new dns utils

ArchangeGabriel commented on 2016-05-16 09:05

@Teaspoon: That’s perfectly normal, you are supposed to handle the rebuild of your AUR packages when one of their dependencies has an ABI bump. ;)

Teaspoon commented on 2016-05-16 04:08

Had a problem, fixed it, posting here in case others run afoul of it...

Recently the liburcu in the official repositories updated to 0.9.2-1 and after installing that update my maching started failing to load Knot. Error was that it was unable to find My version jump was from 0.8.7-1.

I was able to get it running again temporarily with a /usr/lib/ symlink pointing to, and rebuilding+reinstalling the package has removed the need for the symlink.

wlhlm commented on 2016-03-15 16:16

@ArchangeGabriel All AUR packages assume that the base-devel package group is installed, which pkg-config is a part of.


@oerdnj As per the assumption above, the makedepends line of this PKGBUILD is redundant as autoconf, bison, flex, libtool, and pkg-config are all part of the base-devel group. Same thing applies to the knot-lts PKGBUILD.

Thanks for packaging knot, BTW!

Dragonlord commented on 2016-03-07 19:09

Automatic config file conversions are not really the Arch way. For official packages and cases like this, announcements and howtos are put on the main web page. For AUR packages I'd say you can use the comments here, or put a notification in an .install file (check 'syncthing' for an example).
PS: great knot presentation on the weekend!

oerdnj commented on 2016-02-06 15:27

> Well, just write the new one as .pacnew and tell the user that the new file has been installed as .pacnew, and that the old one is not compatible.
> That’s the way any main repos package would do it when there would be an « ABI break » of the conf files.

So the "proper" solution would leave the user with broken configuration and daemon that cannot start because of that? Perhaps I am missing correct Arch mindset. Does anybody really mind that the configuration gets converted automatically and the daemon keeps running after the upgrade?

ArchangeGabriel commented on 2016-02-05 10:18

Well, just write the new one as .pacnew and tell the user that the new file has been installed as .pacnew, and that the old one is not compatible.

That’s the way any main repos package would do it when there would be an « ABI break » of the conf files.

oerdnj commented on 2016-02-05 09:01

> .pacorig files are deprecated AFAIU (install script).

Any ideas how to solve this properly? We need to run knot1to2 on the configuration and save the old config somewhere.

ArchangeGabriel commented on 2016-02-04 17:57

Error when trying to install:configure: error: in `/tmp/yaourt-tmp-archange/aur-knot/src/knot-2.1.0':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables gnutls_CFLAGS
and gnutls_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <>.
See `config.log' for more details

Missing makedependency on pkg-config ?

ArchangeGabriel commented on 2016-02-04 17:53

.pacorig files are deprecated AFAIU (install script).

oerdnj commented on 2016-01-21 09:15

- added --with-sbindir /usr/bin
- added tmpfiles.d configuration

Thanks for the hints.

Anything else needs to be fixed?

oerdnj commented on 2016-01-21 08:48

@fauxmight - as soon as I tackle the new git-based AUR4, I would be able to accept any pull requests

oerdnj commented on 2016-01-21 08:46

You know, an email would be nice, before filling an orphan request!

fauxmight commented on 2015-10-24 04:33

This fixes several problems with installing from this PKGBUILD:

1) /run works correctly now under systemd
2) sbindir is corrected to /usr/bin
(as /usr/sbin is now a symlink, this
wouldn't start without this change)

Link for new package:

If this should be done as a pull request instead, please point
me in the direction of how. I searched hard for how I *should*
submit patches with AUR4, but I'm coming up empty handed.

oerdnj commented on 2014-06-18 14:33

Hey @fauno,

thanks - I have incorporated the check target into the AUR.


fauno commented on 2014-06-06 19:13

hey thanks for your package! we've released it as binary package on parabola's [pcr] repo plus some changes:

oerdnj commented on 2014-02-14 11:52

Hi @oleander, thanks for the updates PKGBUILD. I have made some changes I already had prepared and uploaded updated PKGBUILD.

oleander commented on 2014-02-03 03:51
for 1.4.2 (latest stable); comes with .service-file

PGP signature:

oleander commented on 2014-02-03 03:46
for 1.4.2 (latest stable); comes with .service-file

seberm commented on 2012-09-04 10:00

Updated. Whats new?

seberm commented on 2012-07-02 23:18

I think everything works fine now. Knot reads its configuration from /etc/knot/*

but --prefix /usr is default?

Thanks help in ./configure script I thought that default prefix is /usr/local.

--prefix=PREFIX install architecture-independent files in PREFIX

oerdnj commented on 2012-06-28 15:00

In Debian package I use these extra options (--prefix /usr is default):

--sysconfdir=/etc/knot --localstatedir /var/lib

So maybe you should try:

--sysconfdir=/etc/knot instead of --sysconfdir=/etc

If that doesn't work, feel free to contact Knot DNS team (with ./configure output preferrably) at


seberm commented on 2012-03-11 21:36

Thanks..updated, but Knot still reads configuration file from /usr/local/etc/*...

It's neccessary run:
knotd --config /etc/knot/...

ghen commented on 2012-03-11 21:08

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

seberm commented on 2012-03-01 17:13

I did update and some changes in PKGBUILD... I tried to set Knot's sysconfig directory to /etc/knot, but Knot still reads its configuration files from /usr/local/etc/*. If somebody finds solution just let me know.

$ knotd
notice: Config '/usr/local/etc/knot.conf' does not exist.
Using '/usr/local/etc/knot.conf' as default configuration.
User uid=1000 is not allowed to set capabilities, skipping.
Reading configuration '/usr/local/etc/knot.conf' ...
error: Couldn't open configuration file '/usr/local/etc/knot.conf'.

$ knotc start
Couldn't open configuration file '/usr/local/etc/knot.conf'.