bind9/lib
Evan Hunt 28d0c37ef0 Call dns_resolver_createfetch() asynchronously in zone_refreshkeys()
Because dns_resolver_createfetch() locks the view, it was necessary
to unlock the zone in zone_refreshkeys() before calling it in order
to maintain the lock order, and relock afterward. this permitted a race
with dns_zone_synckeyzone().

This commit moves the call to dns_resolver_createfetch() into a separate
function which is called asynchronously after the zone has been
unlocked.

The keyfetch object now attaches to the zone to ensure that
it won't be shut down before the asynchronous call completes.

This necessitated refactoring dns_zone_detach() so it always runs
unlocked. For managed zones it schedules zone_shutdown() to
run asynchronously; for unmanaged zones there is no task.
2022-11-01 00:23:05 -07:00
..
bind9 Clarify error message about missing inline-signing & dnssec-policy 2022-10-06 10:27:32 +02:00
dns Call dns_resolver_createfetch() asynchronously in zone_refreshkeys() 2022-11-01 00:23:05 -07:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc Serialize the HTTP/1.1 statschannel requests 2022-10-20 17:23:36 +02:00
isccc Convert DST_ALG defines to enum and group HMAC algorithms 2022-09-27 16:55:33 +02:00
isccfg Handle large numbers when parsing/printing a duration 2022-10-17 08:54:10 +00:00
ns ensure RPZ lookups handle CD=1 correctly 2022-10-19 13:12:31 -07:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00