]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/zonecut: avoid one kind of NS dependency cycles
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 17 Oct 2018 17:00:53 +0000 (19:00 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 2 Nov 2018 15:21:31 +0000 (16:21 +0100)
commit1fb58d7654055c0481041fc7c37ccbd726bad681
treeb469668c794c42b3ce1a2cdb7cecbbe62ac58baa
parent553dabf3fa9ca64881877e9e8db027bff732e404
lib/zonecut: avoid one kind of NS dependency cycles

The problem here was that we need to know which addresses are timed-out
(and not to be re-probed) much earlier than we do NS selection ATM -
that's because under some circumstances it affects the depth of NS
zone cut that we choose, i.e. if all addresses in a certain zone cut are
"bad" in a certain sense, we need to use a zone cut closer to the root,
because otherwise we'd get into a dependency cycle.
NEWS
lib/zonecut.c