]> git.ipfire.org Git - thirdparty/bind9.git/commit
Detect recursion loops during query processing
authorMichał Kępień <michal@isc.org>
Fri, 27 Apr 2018 07:13:26 +0000 (09:13 +0200)
committerEvan Hunt <each@isc.org>
Mon, 21 May 2018 16:50:10 +0000 (09:50 -0700)
commit46bb4dd124ed031d4c219d1e37a3c6322092e30c
treec98a30a2c941328848b3ec094775c38aac5b84d7
parent391fac1fc8d2e470287b5cc4344b3adb90c6f54a
Detect recursion loops during query processing

Interrupt query processing when query_recurse() attempts to ask the same
name servers for the same QNAME/QTYPE tuple for two times in a row as
this indicates that query processing may be stuck for an indeterminate
period of time, e.g. due to interactions between features able to
restart query_lookup().
lib/ns/include/ns/query.h
lib/ns/query.c