[nsd-users] systemd integration test

Wouter Wijngaards wouter at nlnetlabs.nl
Fri Jul 6 09:00:09 UTC 2018


Recently I have written systemd integration code for NSD, based on the
code that was contributed to Unbound previously.  This code can pick up
sockets (systemds socket activation) for a port without having
widespread port permissions, and can signal systemd that the server is
ready (sd_notify).

But before I could mark the feature as available for general use, I need
to know if it works.  I could just mark it experimental and wait for
users that want it to try it.  It probably works fine. If there are
users now that would appreciate improved systemd integration for NSD, it
is possible to try out the new features from the code repository.

We normally already wait with rc1 release candidates for maintainer and
release integration, but I felt that with this change, it would be
better to ask beforehand for a more smooth troublefree release process.

The feature is enabled with configure --enable-systemd (needs pkg-config
and libsystemd).  Then in nsd.conf set use-systemd: yes.  You also need
files for systemd, which I don't really know, but made a guess based on
files contributed to Unbound, they are in NSD's code repository,
nsd.socket and nsd.service in the contrib directory.

Best regards, Wouter

More information about the nsd-users mailing list