Debian Codegraph @

doc/changelog/changelog-9.20.6.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.6
13 -----------
14
15 New Features
16 ~~~~~~~~~~~~
17
18 - Adds support for EDE code 1 and 2. ``b3eab79bc18``
19
20 Add support for EDE codes 1 & 2 which might occurs during DNSSEC
21 validation in case of unsupported RRSIG algorithm or DNSKEY digest.
22 :gl:`#2715` :gl:`!9996`
23
24 - Add a rndc command to toggle jemalloc profiling. ``38c51c84014``
25
26 The new command is `rndc memprof`. The memory profiling status is also
27 reported inside `rndc status`. The status also shows whether named can
28 toggle memory profiling or not and if the server is built with
29 jemalloc. :gl:`#4759` :gl:`!10000`
30
31 - Add support for multiple extended DNS errors. ``4d945128dc1``
32
33 Extended DNS error mechanism (EDE) may have several errors raised
34 during a DNS resolution. `named` is now able to add up to three EDE
35 codes in a DNS response. In the case of duplicate error codes, only
36 the first one will be part of the DNS response. :gl:`#5085`
37 :gl:`!9978`
38
39 - Print the expiration time of the stale records. ``b5cce0f5972``
40
41 Print the expiration time of the stale RRsets in the cache dump.
42 :gl:`!10061`
43
44 Feature Changes
45 ~~~~~~~~~~~~~~~
46
47 - Refactor reference counting in both QPDB and RBTDB. ``3244f7848fd``
48
49 Clean up the pattern in the newref() and decref() functions in QP and
50 RBTDB databases. Replace the `db_nodelock_t` structure with plain
51 reference counting for every active database node in QPDB.
52
53 Related to #5134 :gl:`!10035`
54
55 - Shutdown the fetch context after canceling the last fetch.
56 ``55b7cc9596e``
57
58 Shutdown the fetch context immediately after the last fetch has been
59 canceled from that particular fetch context. :gl:`!9977`
60
61 Bug Fixes
62 ~~~~~~~~~
63
64 - Fix possible truncation in dns_keymgr_status() ``1333dac316c``
65
66 If the generated status output exceeds 4096 it was silently truncated,
67 now we output that the status was truncated. :gl:`#4180` :gl:`!9981`
68
69 - Recently expired records could be returned with timestamp in future.
70 ``9a4df4caac0``
71
72 Under rare circumstances, the RRSet that expired at the time of the
73 query could be returned with TTL far in the future. This has been
74 fixed.
75
76 As a side-effect, the expiration time of expired RRSets are no longer
77 printed out in the cache dump. :gl:`#5094` :gl:`!10059`
78
79 - Yaml string not terminated in negative response in delv.
80 ``74640b3613c``
81
82 :gl:`#5098` :gl:`!9979`
83
84 - Fix a bug in dnssec-signzone related to keys being offline.
85 ``ddda6cb59e5``
86
87 In the case when `dnssec-signzone` is called on an already signed
88 zone, and the private key file is unavailable, a signature that needs
89 to be refreshed may be dropped without being able to generate a
90 replacement. This has been fixed. :gl:`#5126` :gl:`!9982`
91
92 - Apply the memory limit only to ADB database items. ``0ab22458f51``
93
94 Resolver under heavy-load could exhaust the memory available for
95 storing the information in the Address Database (ADB) effectively
96 evicting already stored information in the ADB. The memory used to
97 retrieve and provide information from the ADB is now not a subject of
98 the same memory limits that are applied for storing the information in
99 the Address Database. :gl:`#5127` :gl:`!9975`
100
101 - Avoid unnecessary locking in the zone/cache database. ``60b81239de1``
102
103 Prevent lock contention among many worker threads referring to the
104 same database node at the same time. This would improve zone and cache
105 database performance for the heavily contended database nodes.
106 :gl:`#5130` :gl:`!9964`
107
108 - Fix EDE 22 time out detection. ``8662424442c``
109
110 Extended DNS error 22 (No reachable authority) was previously detected
111 when `fctx_expired` fired. It turns out this function is used as a
112 "safety net" and the timeout detection should be caught earlier.
113
114 It was working though, because of another issue fixed by !9927. But
115 then, the recursive request timed out detection occurs before
116 `fctx_expired` making impossible to raise the EDE 22 error.
117
118 This fixes the problem by triggering the EDE 22 in the part of the
119 code detecting the (TCP or UDP) time out and taking the decision to
120 cancel the whole fetch (i.e. There is no other server to attempt to
121 contact).
122
123 Note this is not targeting users (no release note) because there is no
124 release versions of BIND between !9927 and this changes. Thus a
125 release note would be confusing. :gl:`#5137` :gl:`!10001`
126
127 - Split and simplify the use of EDE list implementation. ``23a9bed310b``
128
129 Instead of mixing the dns_resolver and dns_validator units directly
130 with the EDE code, split-out the dns_ede functionality into own
131 separate compilation unit and hide the implementation details behind
132 abstraction.
133
134 Additionally, the new dns_edelist_t doesn't have to be copied into all
135 responses as those are attached to the fetch context, but it could be
136 only passed by reference.
137
138 This makes the dns_ede implementation simpler to use, although sligtly
139 more complicated on the inside. :gl:`#5141` :gl:`!10030`
140
141 - Fix the cache findzonecut() implementation. ``619f163e680``
142
143 The search for the deepest known zone cut in the cache could
144 improperly reject a node if it contained any stale data, regardless of
145 whether it was the NS RRset that was stale. :gl:`#5155` :gl:`!10050`
146
147 - DNSSEC EDE system tests on FIPS platform. ``917181b4e27``
148
149 Changes introducing the support of extended DNS error code 1 and 2
150 uses SHA-1 digest for some tests which break FIPS platform. The digest
151 itself was irrelevant, another digest is used. :gl:`!10031`
152
153 - Reduce the false sharing the dns_qpcache and dns_qpzone.
154 ``5c27e9cdda6``
155
156 Instead of having many node_lock_count * sizeof(<member>) arrays, pack
157 all the members into a qpcache_bucket_t that is cacheline aligned to
158 prevent false sharing between RWLocks. :gl:`!10074`
159
160