| 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.16 |
| 13 |
------------ |
| 14 |
|
| 15 |
Feature Changes |
| 16 |
~~~~~~~~~~~~~~~ |
| 17 |
|
| 18 |
- Fix assertion failure from arc4random_uniform with invalid limit. |
| 19 |
``1040282de7e`` |
| 20 |
|
| 21 |
When the arc4random_uniform() is called on NetBSD with upper_bound |
| 22 |
that makes no sense statistically (0 or 1), the call crashes the |
| 23 |
calling program. Fix this by returning 0 when upper bound is < 2 as |
| 24 |
does Linux, FreeBSD and NetBSD. (Hint: System CSPRNG should never |
| 25 |
crash.) :gl:`#5596` :gl:`!11151` |
| 26 |
|
| 27 |
Bug Fixes |
| 28 |
~~~~~~~~~ |
| 29 |
|
| 30 |
- Fix dnssec-keygen key collision checking for KEY rrtype keys. |
| 31 |
``ac8b23b80bf`` |
| 32 |
|
| 33 |
The :iscman:`dnssec-keygen` utility program failed to detect possible |
| 34 |
Key ID collisions with the existing keys generated using the |
| 35 |
non-default ``-T KEY`` option (e.g. for ``SIG(0)``). This has been |
| 36 |
fixed. :gl:`#5506` :gl:`!11128` |
| 37 |
|
| 38 |
- Fix shutdown INSIST in dns_dispatchmgr_getblackhole. ``f0aaaef166c`` |
| 39 |
|
| 40 |
Previously, `named` could trigger an assertion in |
| 41 |
`dns_dispatchmgr_getblackhole` while shutting down. This has been |
| 42 |
fixed. :gl:`#5525` :gl:`!11162` |
| 43 |
|
| 44 |
- Dnssec-verify now uses exit code 1 when failing due to illegal |
| 45 |
options. ``6ead0aa4a2b`` |
| 46 |
|
| 47 |
Previously, dnssec-verify exited with code 0 if the options could not |
| 48 |
be parsed. This has been fixed. :gl:`#5574` :gl:`!11129` |
| 49 |
|
| 50 |
- Prevent assertion failures of dig when server is specified before the |
| 51 |
-b option. ``deada63e2b2`` |
| 52 |
|
| 53 |
Previously, :iscman:`dig` could exit with an assertion failure when |
| 54 |
the server was specified before the :option:`dig -b` option. This has |
| 55 |
been fixed. :gl:`#5609` :gl:`!11204` |
| 56 |
|
| 57 |
- Skip unsupported algorithms when looking for signing key. |
| 58 |
``c346fe88a1b`` |
| 59 |
|
| 60 |
A mix of supported and unsupported DNSSEC algorithms in the same zone |
| 61 |
could have caused validation failures. Ignore the DNSSEC keys with |
| 62 |
unsupported algorithm when looking for the signing keys. :gl:`#5622` |
| 63 |
:gl:`!11210` |
| 64 |
|
| 65 |
- Fix configuration bugs involving global defaults. ``a85d6fb581c`` |
| 66 |
|
| 67 |
The configuration code for the `max-cache-size`, `dnssec-validation`, |
| 68 |
and `response-padding` options were unnecessarily complicated, and in |
| 69 |
the case of `max-cache-size`, buggy. These have been fixed. The |
| 70 |
`optionmaps` variable in `configure_view()` is no longer needed and |
| 71 |
has been removed. :gl:`!11172` |
| 72 |
|
| 73 |
- Skip buffer allocations if not logging. ``4f601175bd0`` |
| 74 |
|
| 75 |
Currently, during IXFR we allocate a 2KB buffer for IXFR change |
| 76 |
logging regardless of the log level. This commit introduces an early |
| 77 |
check on the log level in dns_diff_print to avoid this. |
| 78 |
|
| 79 |
Results in a speedup from 28% in the test case from issue #5442. |
| 80 |
:gl:`!11192` |
| 81 |
|
| 82 |
|