Debian Codegraph @

doc/changelog/changelog-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 BIND 9.20.8
13 -----------
14
15 New Features
16 ~~~~~~~~~~~~
17
18 - Add support for EDE 20 (Not Authoritative) ``f8a293aa11``
19
20 Support was added for EDE codes 20 (Not Authoritative) when client
21 requests recursion (RD) but the server has recursion disabled.
22
23 RFC 8914 mention EDE 20 should also be returned if the client doesn't
24 have the RD bit set (and recursion is needed) but it doesn't apply for
25 BIND as BIND would try to resolve from the "deepest" referral in
26 AUTHORITY section. For example, if the client asks for "www.isc.org/A"
27 but the server only knows the root domain, it will return NOERROR but
28 no answer for "www.isc.og/A", just the list of other servers to ask.
29 :gl:`#1836` :gl:`!10243`
30
31 - Add support for EDE 7 and EDE 8. ``27442c3104``
32
33 Support was added for EDE codes 7 (Signature Expired) and 8 (Signature
34 Not Yet Valid) which might occur during DNSSEC validation. :gl:`#2715`
35 :gl:`!10242`
36
37 - Dig can now display the received BADVERS message during negotiation.
38 ``a763080a87``
39
40 Dig +showbadvers now displays the received BADVERS message and
41 continues the EDNS version negotiation. Previously to see the BADVERS
42 message +noednsneg had to be specified which terminated the EDNS
43 negotiation. Additionally the specified EDNS value (+edns=value) is
44 now used when making all the initial queries with +trace. i.e EDNS
45 version negotiation will be performed with each server when performing
46 the trace. :gl:`#5234` :gl:`!10247`
47
48 - Add an rndc command to reset some statistics counters. ``7c4603fc4a``
49
50 The new ``reset-stats`` command for ``rndc`` 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` :gl:`!10335`
55
56 - Implement -T cookiealwaysvalid. ``1da738ffbb``
57
58 When `-T cookiealwaysvalid` is passed to `named`, DNS cookie checks
59 for the incoming queries always pass, given they are structurally
60 correct. :gl:`!10264`
61
62 Removed Features
63 ~~~~~~~~~~~~~~~~
64
65 - Remove dns_qpmulti_lockedread declaration. ``42ab4fce4a``
66
67 This function was removed in 6217e434b57bd5d60ed69f792ae9a1a65a008f57
68 but not from the header file. :gl:`!10314`
69
70 Feature Changes
71 ~~~~~~~~~~~~~~~
72
73 - Carefully check if the server name used for SNI is a hostname.
74 ``92eb6416e5``
75
76 Previously the code would not check if the string intended to be used
77 for SNI is a hostname.
78
79 See also: !9923 :gl:`#5225` :gl:`!10347`
80
81 Bug Fixes
82 ~~~~~~~~~
83
84 - Restore NSEC3 closest encloser lookup improvements. ``ab6fb7b8f2``
85
86 A performance improvement for finding the closest encloser when
87 generating authoritative responses from NSEC3 zones was previously
88 reverted after a bug was found that could trigger an assertion
89 failure. ( :gl:`#4460`, #4950, and #5108 for details.) The bug has
90 now been fixed, and the performance improvement has been restored.
91 :gl:`#5204` :gl:`!10034`
92
93 - Add missing locks when returning addresses. ``2c7594709c``
94
95 Add missing locks in dns_zone_getxfrsource4 et al. Addresses CID
96 468706, 468708, 468741, 468742, 468785, and 468778.
97
98 Cleanup dns_zone_setxfrsource4 et al to now return void.
99
100 Remove double copies with dns_zone_getprimaryaddr and
101 dns_zone_getsourceaddr. :gl:`#4933` :gl:`!10259`
102
103 - Stop caching lack of EDNS support. ``96bb3a1952``
104
105 `named` could falsely learn that a server doesn't support EDNS when a
106 spoofed response was received; that subsequently prevented DNSSEC
107 lookups from being made. This has been fixed. :gl:`#3949` :gl:`#5066`
108
109 - Step() could ignore rollbacks. ``2334b7a371``
110
111 The `step()` function (used for stepping to the prececessor or
112 successor of a database node) could overlook a node if there was an
113 rdataset that was marked IGNORE because it had been rolled back,
114 covering an active rdataset under it. :gl:`#5170` :gl:`!10257`
115
116 - Fix resolver statistics counters for timed out responses.
117 ``1d8334a62a``
118
119 When query responses timed out, the resolver could incorrectly
120 increase the regular responses counters, even if no response was
121 received. This has been fixed. :gl:`#5193` :gl:`!10287`
122
123 - Validating ADB fetches could cause a crash in import_rdataset()
124 ``b0c6af6ad7``
125
126 Previously, in some cases, the resolver could return rdatasets of type
127 CNAME or DNAME without the result code being set to `DNS_R_CNAME` or
128 `DNS_R_DNAME`. This could trigger an assertion failure in the ADB. The
129 resolver error has been fixed. :gl:`#5201` :gl:`!10329`
130
131 - Nested DNS validation could cause assertion failure. ``6bf4390f25``
132
133 When multiple nested DNS validations were destroyed out of order, the
134 EDE context could be freed before all EDE codes were copied, which
135 could cause an assertion failure. This has been fixed. :gl:`#5213`
136 :gl:`!10366`
137
138 - [9.20] Wait for memory reclamation to finish in named-checkconf.
139 ``9986dad2dc``
140
141 Previously, when named-checkzone loaded the zone to the QP database,
142 the delayed memory reclamation could cause an assertion check on exit.
143 This has been fixed. :gl:`#5220` :gl:`!10307`
144
145 - Ensure max-clients-per-query is at least clients-per-query.
146 ``8f78219cc1``
147
148 If the `max-clients-per-query` option is set to a lower value than
149 `clients-per-query`, the value is adjusted to match
150 `clients-per-query`. :gl:`#5224` :gl:`!10244`
151
152 - Fix handling of revoked keys. ``a347273b9c``
153
154 When a key is revoked, its key ID changes due to the inclusion of the
155 "revoked" flag. A collision between this changed key ID and an
156 unrelated public-only key could cause a crash in `dnssec-signzone`.
157 :gl:`#5231` :gl:`!10256`
158
159 - Fix adbname reference. ``7ebcc54d3b``
160
161 Call `dns_adbname_ref` before calling `dns_resolver_createfetch` to
162 ensure `adbname->name` remains stable for the life of the fetch.
163 :gl:`#5239` :gl:`!10303`
164
165 - Fix write after free in validator code. ``5de1b3ba3c``
166
167 Raw integer pointers were being used for the validator's nvalidations
168 and nfails values but the memory holding them could be freed before
169 they ceased to be used. Use reference counted counters instead.
170 :gl:`#5239` :gl:`!10300`
171
172 - Don't enforce NOAUTH/NOCONF flags in DNSKEYs. ``5d126d8081``
173
174 All DNSKEY keys are able to authenticate. The `DNS_KEYTYPE_NOAUTH`
175 (and `DNS_KEYTYPE_NOCONF`) flags were defined for the KEY rdata type,
176 and are not applicable to DNSKEY. Previously, however, because the
177 DNSKEY implementation was built on top of KEY, the `_NOAUTH` flag
178 prevented authentication in DNSKEYs as well. This has been corrected.
179 :gl:`#5240` :gl:`!10315`
180
181 - Fix several small DNSSEC timing issues. ``3a78a4c288``
182
183 The following small issues related to `dnssec-policy` have been fixed:
184 - In some cases the key manager inside BIND 9 could run every hour,
185 while it could have run less often. - While `CDS` and `CDNSKEY`
186 records will be removed correctly from the zone when the corresponding
187 `DS` record needs to be updated, the expected timing metadata when
188 this will happen was never set. - There were a couple of cases where
189 the safety intervals are added inappropriately, delaying key rollovers
190 longer than necessary. - If you have identical `keys` in your
191 `dnssec-policy`, they may be retired inappropriately. Note that having
192 keys with identical properties is discouraged in all cases.
193 :gl:`#5242` :gl:`!10301`
194
195 - Copy __FILE__ when allocating memory. ``59635e33d0``
196
197 When allocating memory under -m trace|record, the __FILE__ pointer is
198 stored, so it can be printed out later in order to figure out in which
199 file an allocation leaked. (among others, like the line number).
200
201 However named crashes when called with -m record and using a plugin
202 leaking memory. The reason is that plugins are unloaded earlier than
203 when the leaked allocations are dumped (obviously, as it's done as
204 late as possible). In such circumstances, `__FILE__` is dangling
205 because the dynamically loaded library (the plugin) is not in memory
206 anymore.
207
208 Fix the crash by systematically copying the `__FILE__` string instead
209 of copying the pointer. Of course, this make each allocation to
210 consume a bit more memory (and longer, as it needs to calculate the
211 length of `__FILE__`) but this occurs only under -m trace|record
212 debugging flags. :gl:`!10336`
213
214 - Fix invalid cache-line padding for qpcache buckets. ``4297ae4795``
215
216 The isc_queue_t was missing in the calculation of the required padding
217 size inside the qpcache bucket structure. :gl:`!10317`
218
219