bind9/lib/ns
Aram Sargsyan 65ba05bb68
Reset DNS_{GETDB_STALEFIRST,DBFIND_STALETIMEOUT} in ns__query_start()
In case of chained queries (e.g. CNAME) a discrepancy could arise
if the original query had the DNS_GETDB_STALEFIRST bit set, but
the next query doesn't have it (e.g. because the CNAME target is
a authoritative zone for the server) and cause an unanswered query
because of a logic error.

Reset both DNS_GETDB_STALEFIRST and DNS_DBFIND_STALETIMEOUT bits in
the ns__query_start() function before reevaluating whether they are
needed for the current query, and reset them again after calling
the query_lookup() function.
2025-07-03 14:24:55 +02:00
..
include Implement -T cookiealwaysvalid 2025-03-17 12:01:42 +00:00
client.c Use clang-format-20 to update formatting 2025-06-25 13:59:44 +10:00
hooks.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
interfacemgr.c Remove --with-tuning=small/large configuration option 2025-01-22 14:16:40 +01:00
listenlist.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
notify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.c Reset DNS_{GETDB_STALEFIRST,DBFIND_STALETIMEOUT} in ns__query_start() 2025-07-03 14:24:55 +02:00
server.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
sortlist.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
update.c Use clang-format-20 to update formatting 2025-06-25 13:59:44 +10:00
xfrout.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00