| 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.7 |
| 13 |
--------------------- |
| 14 |
|
| 15 |
New Features |
| 16 |
~~~~~~~~~~~~ |
| 17 |
|
| 18 |
- Implement the :any:`min-transfer-rate-in` configuration option. |
| 19 |
|
| 20 |
A new option :any:`min-transfer-rate-in` has been added |
| 21 |
to the view and zone configurations. It can abort incoming zone |
| 22 |
transfers that run very slowly due to network-related issues, for |
| 23 |
example. The default value is 10240 bytes in five minutes. |
| 24 |
:gl:`#3914` |
| 25 |
|
| 26 |
- Add HTTPS record query to :iscman:`host` command line tool. |
| 27 |
|
| 28 |
The :iscman:`host` command was extended to also query for the HTTPS RR |
| 29 |
type by default. |
| 30 |
|
| 31 |
- Implement :any:`sig0key-checks-limit` and :any:`sig0message-checks-limit`. |
| 32 |
|
| 33 |
Previously, a hard-coded limitation of a maximum of two key or message |
| 34 |
verification checks was introduced when checking a message's ``SIG(0)`` |
| 35 |
signature, to protect against possible DoS |
| 36 |
attacks. Two as a maximum was chosen so that more than a |
| 37 |
single key should only be required during key rotations, and in that |
| 38 |
case two keys are enough. It later became apparent that there are |
| 39 |
other use cases where even more keys are required; see the related GitLab issue for examples. |
| 40 |
|
| 41 |
This change introduces two new configuration options for the views: |
| 42 |
:any:`sig0key-checks-limit` and :any:`sig0message-checks-limit`. They define |
| 43 |
how many keys can be checked to find a matching key, and |
| 44 |
how many message verifications are allowed to take place once a |
| 45 |
matching key has been found. The former provides |
| 46 |
slightly less "expensive" key parsing operations and defaults to |
| 47 |
16. The latter protects against expensive |
| 48 |
cryptographic operations when there are keys with colliding tags and |
| 49 |
algorithm numbers; the default is 2. :gl:`#5050` |
| 50 |
|
| 51 |
Bug Fixes |
| 52 |
~~~~~~~~~ |
| 53 |
|
| 54 |
|
| 55 |
- Fix :any:`dual-stack-servers` configuration option. |
| 56 |
|
| 57 |
The :any:`dual-stack-servers` configuration option was not working as |
| 58 |
expected; the specified servers were not being used when they should |
| 59 |
have been, leading to resolution failures. This has been fixed. |
| 60 |
:gl:`#5019` |
| 61 |
|
| 62 |
- Fix a data race causing a permanent active client increase. |
| 63 |
|
| 64 |
Previously, a data race could cause a newly created fetch context for |
| 65 |
a new client to be used before it had been fully initialized, which |
| 66 |
would cause the query to become stuck; queries for the same data would |
| 67 |
be either paused indefinitely or dropped because of the |
| 68 |
:any:`clients-per-query` limit. This has been fixed. :gl:`#5053` |
| 69 |
|
| 70 |
- Fix deferred validation of unsigned DS and DNSKEY records. |
| 71 |
|
| 72 |
When processing a query with the "checking disabled" bit set (CD=1), |
| 73 |
:iscman:`named` stores the invalidated result in the cache, marked "pending". |
| 74 |
When the same query is sent with CD=0, the cached data is validated |
| 75 |
and either accepted as an answer, or ejected from the cache as |
| 76 |
invalid. This deferred validation was not attempted for DS and DNSKEY |
| 77 |
records if they had no cached signatures, causing spurious validation |
| 78 |
failures. The deferred validation is now completed in this scenario. |
| 79 |
|
| 80 |
Also, if deferred validation fails, the data is now re-queried to find |
| 81 |
out whether the zone has been corrected since the invalid data was |
| 82 |
cached. :gl:`#5066` |
| 83 |
|
| 84 |
- Fix RPZ race condition during a reconfiguration. |
| 85 |
|
| 86 |
With RPZ in use, :iscman:`named` could terminate unexpectedly because of a |
| 87 |
race condition when a reconfiguration command was received using |
| 88 |
:iscman:`rndc`. This has been fixed. :gl:`#5146` |
| 89 |
|
| 90 |
- "CNAME and other data check" not applied to all types. |
| 91 |
|
| 92 |
An incorrect optimization caused "CNAME and other data" errors not to |
| 93 |
be detected if certain types were at the same node as a CNAME. This |
| 94 |
has been fixed. :gl:`#5150` |
| 95 |
|
| 96 |
- Relax private DNSKEY and RRSIG constraints. |
| 97 |
|
| 98 |
DNSKEY, KEY, RRSIG, and SIG constraints have been relaxed to allow |
| 99 |
empty key and signature material after the algorithm identifier for |
| 100 |
PRIVATEOID and PRIVATEDNS. It is arguable whether this falls within |
| 101 |
the expected use of these types, as no key material is shared and the |
| 102 |
signatures are ineffective, but these are private algorithms and they |
| 103 |
can be totally insecure. :gl:`#5167` |
| 104 |
|
| 105 |
- Remove NSEC/DS/NSEC3 RRSIG check from ``dns_message_parse()``. |
| 106 |
|
| 107 |
Previously, when parsing responses, :iscman:`named` incorrectly rejected |
| 108 |
responses without matching RRSIG records for NSEC/DS/NSEC3 records in |
| 109 |
the authority section. This rejection, if appropriate, should have |
| 110 |
been left for the validator to determine and has been fixed. |
| 111 |
:gl:`#5185` |
| 112 |
|
| 113 |
- Fix TTL issue with ANY queries processed through RPZ "passthru". |
| 114 |
|
| 115 |
Answers to an "ANY" query which were processed by the RPZ "passthru" |
| 116 |
policy had the response-policy's ``max-policy-ttl`` value unexpectedly |
| 117 |
applied. This has been fixed. :gl:`#5187` |
| 118 |
|
| 119 |
- :iscman:`dnssec-signzone` needs to check for a NULL key when setting offline. |
| 120 |
|
| 121 |
:iscman:`dnssec-signzone` could dereference a NULL key pointer when resigning |
| 122 |
a zone. This has been fixed. :gl:`#5192` |
| 123 |
|
| 124 |
|
| 125 |
- Fix a bug in the statistics channel when querying zone transfer |
| 126 |
information. |
| 127 |
|
| 128 |
When querying zone transfer information from the statistics channel, |
| 129 |
there was a rare possibility that :iscman:`named` could terminate unexpectedly |
| 130 |
if a zone transfer was in a state when transferring from all the |
| 131 |
available primary servers had failed earlier. This has been fixed. |
| 132 |
:gl:`#5198` |
| 133 |
|
| 134 |
- Fix assertion failure when dumping recursing clients. |
| 135 |
|
| 136 |
Previously, if a new counter was added to the hash table while dumping |
| 137 |
recursing clients via the :option:`rndc recursing` command, and |
| 138 |
:any:`fetches-per-zone` was enabled, an assertion failure could occur. This |
| 139 |
has been fixed. :gl:`#5200` |
| 140 |
|
| 141 |
- Dump the active resolver fetches from ``dns_resolver_dumpfetches()`` |
| 142 |
|
| 143 |
Previously, active resolver fetches were only dumped when the |
| 144 |
:any:`fetches-per-zone` configuration option was enabled. Now, active |
| 145 |
resolver fetches are dumped along with the number of |
| 146 |
:any:`clients-per-query` counters per resolver fetch. |
| 147 |
|
| 148 |
|