NSD 4.3.6rc1 pre-release

Hi,

NSD 4.3.6rc1 pre-release is available:
https://nlnetlabs.nl/downloads/nsd/nsd-4.3.6rc1.tar.gz
sha256 589354a61cd9296ffe87e94cf5ea8fa2966725be82b53ca95c62182070d176da
pgp https://nlnetlabs.nl/downloads/nsd/nsd-4.3.6rc1.tar.gz.asc

This release contains a bug fix for a zone file parse failure for text
records. The release also adds the feature to print a local address, if
the address is configured, in dnstap logs. The interface for nsd-control
can be specified with an interface name. The zone that was parse
successfully can be printed with the nsd-checkzone -p option. Also added
is support to emit DNS extended errors via the EDNS option from RFC8914.
It is possible to stop queries for certain zones, depending on IP
address and TSIG key, with the new allow-query option, for zones that do
not need to be queried, like meta zones with configuration information.

4.3.6

This some years old bug is still there, you need to autoreconf --force
before build to build with systemd, configure gives this error:

checking whether gcc supports -Wno-address-of-packed-member... yes
configure: error: systemd enabled but need pkg-config to configure for
it, also, run aclocal before autoconf, or run autoreconf to include
pkgconfig macros

Could you fix release scripts and include pkgconfig macros by default?

If I remember correctly Paul Wouters reported this issues on list
multiple releases ago.

Hi Tuomo,

This some years old bug is still there, you need to autoreconf --force
before build to build with systemd, configure gives this error:

checking whether gcc supports -Wno-address-of-packed-member... yes
configure: error: systemd enabled but need pkg-config to configure for
it, also, run aclocal before autoconf, or run autoreconf to include
pkgconfig macros

I don't think there's any bug. I just built an RPM of this version of
NSD on a CentOS 7 system, and it built without any problems. You do need
to ensure that you have all the NSD build dependencies installed.
Perhaps you are missing some of those dependencies. Which distribution
are you trying to build on, and how?

Regards,
Anand

If you used the fedora or centos spec file, it has my workaround in it. Then try to remove the autoconf call.

If you used a different spec file, please share because then I’m curious what the difference is.

Hi Paul,

We are using our own SPEC file. It's not that special. The relevant
parts of it are:

BuildRequires: libevent-devel openssl-devel systemd

%configure --enable-root-server ... <more flags>
%make_install

Note that I build RPMs using mock, and this sets up a standard build
environment that already has the compiler, pkgconfig and some of the
standard packages that you'd need. So I don't explicitly specify those
as build dependencies. I don't need any work-arounds in my spec file.

Regards,
Anand Buddhdev
RIPE NCC

Hi Tuomo,

Hi,

NSD 4.3.6rc1 pre-release is available:
https://nlnetlabs.nl/downloads/nsd/nsd-4.3.6rc1.tar.gz

This some years old bug is still there, you need to autoreconf --force
before build to build with systemd, configure gives this error:

checking whether gcc supports -Wno-address-of-packed-member... yes
configure: error: systemd enabled but need pkg-config to configure for
it, also, run aclocal before autoconf, or run autoreconf to include
pkgconfig macros

Could you fix release scripts and include pkgconfig macros by default?

Yes I have, in commit
https://github.com/NLnetLabs/nsd/commit/a1879fb4363cb0ad1fa85ef9a11499c7e3d95540

That should fix the configure script that is shipped with the next
release tarball.

Best regards, Wouter

Ah, I've just seen Wouter's fix. We're NOT building with
--enable-systemd, so we don't encounter this issue. My apologies.

Regards,
Anand

Great. Thanks.

Hi,

NSD 4.3.6 is available:
https://nlnetlabs.nl/downloads/nsd/nsd-4.3.6.tar.gz
sha256 bee6c0cf5525acc41dade9ec9e29435299211b0de290059878f7e53249e75f18
pgp https://nlnetlabs.nl/downloads/nsd/nsd-4.3.6.tar.gz.asc

This release contains a bug fix for a zone file parse failure for text
records. The release also adds the feature to print a local address, if
the address is configured, in dnstap logs. The interface for nsd-control
can be specified with an interface name. The zone that was parse
successfully can be printed with the nsd-checkzone -p option. Also added
is support to emit DNS extended errors via the EDNS option from RFC8914.
It is possible to stop queries for certain zones, depending on IP
address and TSIG key, with the new allow-query option, for zones that do
not need to be queried, like meta zones with configuration information.

A difference with rc1 is that the configure script is built with
autoreconf, so that --enable-systemd works.

4.3.6