Hi Johan,
On 29 January 2014 16:34, Johan Ihrén <johani(a)johani.org> wrote:
Hi Jan,
On 27 Jan 2014, at 16:26 , Jan Včelák <jan.vcelak(a)nic.cz> wrote:
Today, CZ.NIC Labs proudly announce the Knot DNS
1.4.2.
Congratulations!
There are quite a lot of changes:
Now, that's a surprise ;-)
* We also fixed several problems in DNSSEC.
Firstly, the 'knotc signzone'
command was broken and caused a deadlock of the main server thread. It does
not happen with the new version.
And here my only comment is (as you well know by now) that I like simple things, because
more complicated things break in new and inventive ways. An authoritative server that
didn't try to sign zones would never have had a deadlock like this.
That said, I do understand that the signing stuff is brand new, and of course new code
has bugs, and as the bugs are found they get fixed, which is good.
But there will be more bugs in Knot because of this added complexity than otherwise. And
this is a concern to me.
I know and I sort of get where this is coming from. I'd just like to
say that it doesn't ring hollow. I reckon we are nearing to
'feature-complete' (as of today), not quite there but almost. So our
focus is shifting from features to polishing features we already have
and improving the feature testing and this is going to be a big thing
for the upcoming releases. I agree that some things are made too
complicated for a very little outcome, but it's a continuous effort to
balance the demand for features and simplicity. I think neither
extreme is good and can only hope we can find a sweet spot between
those some time down the road. A good measure is the codebase size. If
it gets smaller with the further releases, I'm going to be a happy man
:)
Secondly,
prior to this release, the signatures were refreshed two hours
before their expiration, which was found to be extremely insufficient. With
the new release, signatures are refreshed one tenth of the signature
lifetime before their expiration. With the default configuration, the
signature lifetime is 30 days, which implies that the signatures are
refreshed three days before the expiration.
In this particular area I think BIND9 has it right. To begin with BIND9 uses 1/4 of the
signature lifetime as the default for when to resign. In addition to that there is a
configuration parameter called "resigning interval" which specifies the amount
of "remaining lifetime" in the signature before it will get resigned.
I.e. with a signature lifetime of ten days and a resigning interval of four days the zone
will get resigned every six days if nothing else changes.
This makes a lot of sense, because a fixed percentage of the signature lifetime simply
doesn't work for very long or very short lifetimes.
Makes sense, I think Jan might tell more about the plans for future?
* Moreover, RRSIGs in the additional records
not-fitting into the DNS message
do not cause packet truncation, but are simply skipped.
Of course they are skipped, because they didn't fit, but that is what Knot did before
also, I think. Do I understand this correctly that the change is only that you no longer
set the TC bit when excluding RRSIGs from Additional? If so, then that is the correct fix.
Yes, this is a regression introduced with 1.4x strain. RRSIGs caused
setting TC=1, that's what's fixed now.
Regards,
Johan
_______________________________________________
knot-dns-users mailing list
knot-dns-users(a)lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users