mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 09:05:40 +00:00
The 'key_init()' function is used to initialize a state file for keys that don't have one yet. This can happen if you are migrating from a 'auto-dnssec' or 'inline-signing' to a 'dnssec-policy' configuration. It did not look at the "Inactive" and "Delete" timing metadata and so old keys left behind in the key directory would also be considered as a possible active key. This commit fixes this and now explicitly sets the key goal to OMNIPRESENT for keys that have their "Active/Publish" timing metadata in the past, but their "Inactive/Delete" timing metadata in the future. If the "Inactive/Delete" timing metadata is also in the past, the key goal is set to HIDDEN. If the "Inactive/Delete" timing metadata is in the past, also the key states are adjusted to either UNRETENTIVE or HIDDEN, depending on how far in the past the metadata is set.
99 lines
3.9 KiB
ReStructuredText
99 lines
3.9 KiB
ReStructuredText
..
|
|
Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
See the COPYRIGHT file distributed with this work for additional
|
|
information regarding copyright ownership.
|
|
|
|
Notes for BIND 9.17.10
|
|
----------------------
|
|
|
|
Security Fixes
|
|
~~~~~~~~~~~~~~
|
|
|
|
- None.
|
|
|
|
Known Issues
|
|
~~~~~~~~~~~~
|
|
|
|
- None.
|
|
|
|
New Features
|
|
~~~~~~~~~~~~
|
|
|
|
- A new option, ``stale-answer-client-timeout``, has been added to
|
|
improve ``named``'s behavior with respect to serving stale data. The option
|
|
defines the amount of time ``named`` waits before attempting
|
|
to answer the query with a stale RRset from cache. If a stale answer
|
|
is found, ``named`` continues the ongoing fetches, attempting to
|
|
refresh the RRset in cache until the ``resolver-query-timeout`` interval is
|
|
reached.
|
|
|
|
The default value is ``1800`` (in milliseconds) and the maximum value is
|
|
bounded to ``resolver-query-timeout`` minus one second. A value of
|
|
``0`` immediately returns a cached RRset if available, and still
|
|
attempts a refresh of the data in cache.
|
|
|
|
The option can be disabled by setting the value to ``off`` or
|
|
``disabled``. It also has no effect if ``stale-answer-enable`` is
|
|
disabled. [GL #2247]
|
|
|
|
- Also return stale data if an error occurred and we are not resuming a
|
|
query (and serve-stale is enabled). This may happen for example if
|
|
``fetches-per-server`` or ``fetches-per-zone` limits are reached. In this
|
|
case, we will try to answer DNS requests with stale data, but not start
|
|
the ``stale-refresh-time`` window. [GL #2434]
|
|
|
|
- ``named`` now supports XFR-over-TLS (XoT) for incoming as well as
|
|
outgoing zone transfers. Addresses in a ``primaries`` list can take
|
|
an optional ``tls`` option which specifies either a previously configured
|
|
``tls`` statement or ``ephemeral``. [GL #2392]
|
|
|
|
Removed Features
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
- A number of non-working configuration options that had been marked
|
|
as obsolete in previous releases have now been removed completely.
|
|
Using any of the following options is now considered a configuration
|
|
failure:
|
|
``acache-cleaning-interval``, ``acache-enable``, ``additional-from-auth``,
|
|
``additional-from-cache``, ``allow-v6-synthesis``, ``cleaning-interval``,
|
|
``dnssec-enable``, ``dnssec-lookaside``, ``filter-aaaa``,
|
|
``filter-aaaa-on-v4``, ``filter-aaaa-on-v6``, ``geoip-use-ecs``, ``lwres``,
|
|
``max-acache-size``, ``nosit-udp-size``, ``queryport-pool-ports``,
|
|
``queryport-pool-updateinterval``, ``request-sit``, ``sit-secret``,
|
|
``support-ixfr``, ``use-queryport-pool``, ``use-ixfr``. [GL #1086]
|
|
|
|
Feature Changes
|
|
~~~~~~~~~~~~~~~
|
|
|
|
- The SONAMEs for BIND 9 libraries now include the current BIND 9
|
|
version number, in an effort to tightly couple internal libraries with
|
|
a specific release. This change makes the BIND 9 release process both
|
|
simpler and more consistent while also unequivocally preventing BIND 9
|
|
binaries from silently loading wrong versions of shared libraries (or
|
|
multiple versions of the same shared library) at startup. [GL #2387]
|
|
|
|
- The default value of ``max-stale-ttl`` has been changed from 12 hours to 1
|
|
day and the default value of ``stale-answer-ttl`` has been changed from 1
|
|
second to 30 seconds, following RFC 8767 recommendations. [GL #2248]
|
|
|
|
Bug Fixes
|
|
~~~~~~~~~
|
|
|
|
- KASP incorrectly set signature validity to the value of the DNSKEY signature
|
|
validity. This is now fixed. [GL #2383]
|
|
|
|
- Previously, ``dnssec-keyfromlabel`` crashed when operating on an ECDSA key.
|
|
This has been fixed. [GL #2178]
|
|
|
|
- Named ``allow-update`` acls where broken in BIND 9.17.9 and BIND 9.16.11
|
|
preventing ``named`` starting. [GL #2413]
|
|
|
|
- When migrating to ``dnssec-policy``, BIND considered keys with the "Inactive"
|
|
and/or "Delete" timing metadata as possible active keys. This has been fixed.
|
|
[GL #2406]
|