bind9/doc/notes
Tony Finch 71ce8b0a51 Ensure that dns_request_createvia() has a retry limit
There are a couple of problems with dns_request_createvia(): a UDP
retry count of zero means unlimited retries (it should mean no
retries), and the overall request timeout is not enforced. The
combination of these bugs means that requests can be retried forever.

This change alters calls to dns_request_createvia() to avoid the
infinite retry bug by providing an explicit retry count. Previously,
the calls specified infinite retries and relied on the limit implied
by the overall request timeout and the UDP timeout (which did not work
because the overall timeout is not enforced). The `udpretries`
argument is also changed to be the number of retries; previously, zero
was interpreted as infinity because of an underflow to UINT_MAX, which
appeared to be a mistake. And `mdig` is updated to match the change in
retry accounting.

The bug could be triggered by zone maintenance queries, including
NOTIFY messages, DS parental checks, refresh SOA queries and stub zone
nameserver lookups. It could also occur with `nsupdate -r 0`.
(But `mdig` had its own code to avoid the bug.)
2022-04-06 17:12:48 +01:00
..
notes-9.17.0.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.1.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.2.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.3.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.4.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.5.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.6.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.7.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.8.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.9.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.10.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.11.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.12.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.13.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.14.rst Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
notes-9.17.15.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.16.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.17.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.18.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.19.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.20.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.21.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-9.17.22.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
notes-current.rst Ensure that dns_request_createvia() has a retry limit 2022-04-06 17:12:48 +01:00