Debian Codegraph @

doc/notes/notes-9.20.8.rst

raw
1 .. Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2 ..
3 .. SPDX-License-Identifier: MPL-2.0
4 ..
5 .. This Source Code Form is subject to the terms of the Mozilla Public
6 .. License, v. 2.0. If a copy of the MPL was not distributed with this
7 .. file, you can obtain one at https://mozilla.org/MPL/2.0/.
8 ..
9 .. See the COPYRIGHT file distributed with this work for additional
10 .. information regarding copyright ownership.
11
12 Notes for BIND 9.20.8
13 ---------------------
14
15 New Features
16 ~~~~~~~~~~~~
17
18 - Add support for EDE 20 (Not Authoritative)
19
20 Support was added for EDE codes 20 (Not Authoritative) when the client
21 requests recursion (RD) but the server has recursion disabled.
22
23 :rfc:`8914` indicates that EDE 20 should also be returned if the
24 client does not have the RD bit set (and recursion is needed), but it
25 does not apply for BIND; BIND would try to resolve from the "deepest"
26 referral in the AUTHORITY section. For example, if the client asks for
27 ``www.isc.org/A`` but the server only knows the root domain, it will
28 return NOERROR but no answer for ``www.isc.org/A``, just the list of
29 other servers to ask. :gl:`#1836`
30
31 - Add support for EDE 7 and EDE 8.
32
33 Support was added for EDE codes 7 (Signature Expired) and 8 (Signature
34 Not Yet Valid), which might occur during DNSSEC validation.
35 :gl:`#2715`
36
37 - :iscman:`dig` can now display the received BADVERS message during
38 negotiation.
39
40 :option:`dig +showbadvers` now displays the received BADVERS message
41 and continues the EDNS version negotiation. Previously, to see the
42 BADVERS message :option:`dig +noednsnegotiation` had to be specified,
43 which terminated the EDNS negotiation. Additionally, the specified
44 EDNS value (``+edns=value``) is now used when making all the initial
45 queries with :option:`dig +trace`, i.e. EDNS version negotiation is
46 performed with each server when performing the trace. :gl:`#5234`
47
48 - Add an :iscman:`rndc` command to reset some statistics counters.
49
50 The new :option:`rndc reset-stats` command allows some statistics
51 counters to be reset during runtime. At the moment only two
52 "high-water" counters are supported, so the ability to reset them
53 after the initial peaks during the server's "warm-up" phase may be
54 useful for some operators. :gl:`#5251`
55
56 Bug Fixes
57 ~~~~~~~~~
58
59 - Restore NSEC3 closest-encloser lookup improvements.
60
61 A performance improvement for finding the closest encloser when
62 generating authoritative responses from NSEC3 zones was previously
63 reverted after a bug was found that could trigger an assertion
64 failure. (:gl:`#4460`, :gl:`#4950`, and :gl:`#5108`) The bug has now
65 been fixed, and the performance improvement has been restored.
66 :gl:`#5204`
67
68 - Stop caching lack of EDNS support.
69
70 :iscman:`named` could falsely learn that a server did not support EDNS
71 when a spoofed response was received; that subsequently prevented
72 DNSSEC lookups from being made. This has been fixed. :gl:`#3949`
73 :gl:`#5066`
74
75 - Fix resolver statistics counters for timed-out responses.
76
77 When query responses timed out, the resolver could incorrectly
78 increase the regular response counters, even if no response was
79 received. This has been fixed. :gl:`#5193`
80
81 - Nested DNS validation could cause an assertion failure.
82
83 When multiple nested DNS validations were destroyed out of order, the
84 EDE context could be freed before all EDE codes were copied, which
85 could cause an assertion failure. This has been fixed. :gl:`#5213`
86
87 - Wait for memory reclamation to finish in :iscman:`named-checkconf`.
88
89 Previously, when :iscman:`named-checkzone` loaded the zone to the QP
90 database, the delayed memory reclamation could cause an assertion
91 check on exit. This has been fixed. :gl:`#5220`
92
93 - Ensure :any:`max-clients-per-query` is at least
94 :any:`clients-per-query`.
95
96 If the :any:`max-clients-per-query` option is set to a lower value
97 than :any:`clients-per-query`, the value is adjusted to match
98 :any:`clients-per-query`. :gl:`#5224`
99
100 - Fix write after free in validator code.
101
102 Raw integer pointers were being used for the validator's nvalidations
103 and nfails values, but the memory holding them could be freed while
104 they were still being used. Reference counted counters are now used
105 instead. :gl:`#5239`
106
107 - Don't enforce NOAUTH/NOCONF flags in DNSKEYs.
108
109 All DNSKEY keys are able to authenticate. The ``DNS_KEYTYPE_NOAUTH``
110 (and ``DNS_KEYTYPE_NOCONF``) flags were defined for the KEY rdata
111 type, and are not applicable to DNSKEY. Previously, however, because
112 the DNSKEY implementation was built on top of KEY, the ``_NOAUTH``
113 flag prevented authentication in DNSKEYs as well. This has been
114 corrected. :gl:`#5240`
115
116 - Fix several small DNSSEC timing issues.
117
118 The following small issues related to :any:`dnssec-policy` have been
119 fixed:
120
121 - In some cases the key manager inside BIND 9 would run every hour,
122 while in other cases it would run less often.
123 - While ``CDS`` and ``CDNSKEY`` records will be removed correctly from
124 the zone when the corresponding ``DS`` record needs to be updated,
125 the expected timing metadata for when this should happen was never
126 set.
127 - There were a couple of cases where the safety intervals were added
128 inappropriately, delaying key rollovers longer than necessary.
129 - Identical keys in a :any:`dnssec-policy` may have been
130 retired inappropriately. Note that having `keys` with identical
131 properties is discouraged in all cases.
132
133 :gl:`#5242`
134
135 - Fix inconsistency in CNAME/DNAME handling during resolution.
136
137 Previously, in some cases, the resolver could return rdatasets of type
138 CNAME or DNAME without the result code being set to ``DNS_R_CNAME`` or
139 ``DNS_R_DNAME``. This could trigger an assertion failure. This has
140 been fixed. :gl:`#5201`