This release has log fixes, features of confine-to-zone and startup
management, an implementation changes in the configuration parser and
socket handling code simplifications. The implementation changes make
the parser context aware, which is useful for the syntax of (future)
config options. The socket handling code was rewritten to split it
apart in separately handleable routines.
The confine-to-zone: yesno option from Greg Bock, if enabled stops NSD
from responding with data outside of the zone the query was aimed at.
Answers contain data that comes from one zone only.
The startup management patch for s6 and other service supervisors from
Cameron Nemo can be used to signal readiness notification to them, it is
in contrib. With that there is the new option that an empty pidfile
statement (pidfile: "") in nsd.conf can be used to run NSD without
having NSD create an nsd.pid file at startup.
There is fix for the sort order of included configuration files with the
include: statement. Due to a programming oversight it was sorted, but
in reverse. Files are now included in the sorted order. Mostly, if
files contain configuration snippets of different zones, or config about
different features, the include order should not matter for them.
I just tried every combination of both options as well as defaults at commit 8fd09a59ea50db1daab352b5bce67b66bf533eb6 (where my change was introduced) and was unable to reproduce this. I can reproduce this at tag NSD_4_2_3_REL regardless of either setting. If I find time I'll try to bisect the changes between mine and NSD_4_2_3_REL to find the culprit but at a glance this appears to have been introduced after my changes.
> The confine-to-zone: yesno option from Greg Bock, if enabled stops NSD
> from responding with data outside of the zone the query was aimed at.
> Answers contain data that comes from one zone only.
Hello,
maybe this feature break "minimal-responses: yes"
dig @nsd-4.2.2 www.example. A
-> give only an answer section
dig @nsd-4.2.3 www.example. A
-> give an answer AND additional section
The confine-to-zone: yesno option from Greg Bock, if enabled stops NSD
> from responding with data outside of the zone the query was aimed at.
> Answers contain data that comes from one zone only.
Hello,
maybe this feature break "minimal-responses: yes"
dig @nsd-4.2.2 www.example. A
-> give only an answer section
dig @nsd-4.2.3 www.example. A
-> give an answer AND additional section
Andreas
Sorry for the top post earlier.
I just tried every combination of both options as well as defaults at commit
8fd09a59ea50db1daab352b5bce67b66bf533eb6 (where my change was introduced) and
was unable to reproduce this. I can reproduce this at tag NSD_4_2_3_REL
regardless of either setting. If I find time I'll try to bisect the changes
between mine and NSD_4_2_3_REL to find the culprit but at a glance this
appears to have been introduced after my changes.
> The confine-to-zone: yesno option from Greg Bock, if enabled stops NSD
> from responding with data outside of the zone the query was aimed at.
> Answers contain data that comes from one zone only.
Hello,
maybe this feature break "minimal-responses: yes"
dig @nsd-4.2.2 www.example. A
-> give only an answer section
dig @nsd-4.2.3 www.example. A
-> give an answer AND additional section
Andreas
Sorry for the top post earlier.
> I just tried every combination of both options as well as defaults at commit
> 8fd09a59ea50db1daab352b5bce67b66bf533eb6 (where my change was introduced) and
> was unable to reproduce this. I can reproduce this at tag NSD_4_2_3_REL
> regardless of either setting. If I find time I'll try to bisect the changes
> between mine and NSD_4_2_3_REL to find the culprit but at a glance this
> appears to have been introduced after my changes.
I went over the changes again today and found another global variable
that's not set after the changes. I fixed the issues locally and am
working on a test case to detect regressions in the future.
Hoping to finish that tomorrow, a bugfix release will happen pretty
soon after that.
Thanks again for the report, it's much appreciated.