NSD 4.1.24rc1 pre-release

Hi,

NSD 4.1.24rc1 pre-release is available for download
https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.24rc1.tar.gz
sha256 4dbb82adccea883e137ccaa171b14490de3ea7795838c3b57ad3d7854d166a75
pgp https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.24rc1.tar.gz.asc

This version has a fix for a bug in resigning zones with different NSEC3
salt, where NSD would not pick up the NSEC3PARAM record, and serve
answers that omit NSEC3 records. NSD is now lenient and when
NSEC3PARAMs exist that point to nonworking NSEC3 chains, NSD attempts to
find an alternative NSEC3PARAM with NSEC3 records.

It is possible to use nsd-control over a command pipe, without using
TLS, by setting the name of the control socket file. Access permissions
on that file then act as the access control. No TLS is used, because it
is not network traffic, and this is likely faster.

Also systemd support is added for readiness signalling. Enabled with
use-systemd: yes.

4.1.24

Hi Wouter,

NSD 4.1.24rc1 pre-release is available for download
https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.24rc1.tar.gz
sha256 4dbb82adccea883e137ccaa171b14490de3ea7795838c3b57ad3d7854d166a75
pgp https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.24rc1.tar.gz.asc

I've built this version on CentOS 7. It builds and runs.

It is possible to use nsd-control over a command pipe, without using
TLS, by setting the name of the control socket file. Access permissions
on that file then act as the access control. No TLS is used, because it
is not network traffic, and this is likely faster.

I've tried this feature, and it works. I've noticed that NSD doesn't
remove the control socket file on exit, but this probably isn't a big
deal. In some situations, NSD may not be able to remove the file anyway,
so there's probably no sense in adding code to clean up.

Also systemd support is added for readiness signalling. Enabled with
use-systemd: yes.

I haven't tried this yet.

Regards,
Anand

NSD 4.1.24rc1 pre-release is available for download

compiled without warnings and deployed on some lab systems...

It is possible to use nsd-control over a command pipe, without using
TLS, by setting the name of the control socket file. Access permissions
on that file then act as the access control. No TLS is used, because it
is not network traffic, and this is likely faster.

the code try to identify the socket type by some assumptions
-> start with '/' -> unix-socket
-> contain ':' -> IPv6 address
-> contain '.' -> IPv4 address

It would be more clear and give more options if NSD wouldn't "guess".
(think, somebody want to use a relative path ...)

NSD (and unbound as well) could require sockets specified as "<typ>:<value>"

postfix does this:
  unix:pathname
  inet:host:port ( host = ipv4 | ipv6 | dnsname )

sendmail does that:
  unix:pathname
  inet:port@host
  inet6:port@host

but I'm also fine with the current implementation :slight_smile:

Also systemd support is added for readiness signalling. Enabled with
use-systemd: yes.

I don't care about that software

Best regards, Wouter

Thanks for NSD!

Andreas

... wrong, sendmail use "local:pathname" ...

Hi,

NSD 4.1.24 is available for download
https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.24.tar.gz
sha256 4fb687c8e494610ad8692a127ac101ed73df851142a42766c33de06e54449311
pgp https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.24.tar.gz.asc

This version has a fix for a bug in resigning zones with different NSEC3
salt, where NSD would not pick up the NSEC3PARAM record, and serve
answers that omit NSEC3 records. NSD is now lenient and when
NSEC3PARAMs exist that point to nonworking NSEC3 chains, NSD attempts to
find an alternative NSEC3PARAM with NSEC3 records.

It is possible to use nsd-control over a command pipe, without using
TLS, by setting the name of the control socket file. Access permissions
on that file then act as the access control. No TLS is used, because it
is not network traffic, and this is likely faster.

Also systemd support is added for readiness signalling. Enabled with
use-systemd: yes.

4.1.24

configure: error: systemd enabled but need pkg-config to configure for
it, also, run aclocal before autoconf, or run autoreconf to include
pkgconfig macros

It seems this was only tsted on debian/ubuntu ?

I looked at systemd.m4 (but I have childhood nightmares about m4)

         PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [have_systemd=yes], [have_systemd=no])

rhel/fedora/centos does not have libsystemd, only systemd-libs and
systemd but my attempts to hack this without needing to rerun autoreconf
failed :confused: So for now, I'm adding a dependency on autoconf to our
package.

Paul