]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
kr_zonecut_add(): allow not checking for duplicates 60626
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 9 Mar 2020 14:10:24 +0000 (15:10 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 9 Mar 2020 14:45:47 +0000 (15:45 +0100)
commitf48d568220a66b62b645c9409992eaa16174bed8
tree421cae211494e952306c160eb8f0ad715b80f2c9
parent418a8f53b15b330c7097e8c17e97eff3604f6ef0
kr_zonecut_add(): allow not checking for duplicates

Large block-lists in hints will end up in keeping a huge reverse map
for some IP address(es), and our simple duplicate-checking algorithm
can't handle that efficiently.  The duplicate checking in hints seems
better removed, so that add-del pairs work well in that case.
NEWS
daemon/engine.c
daemon/lua/kres-gen.lua
lib/layer/iterate.c
lib/test_zonecut.c
lib/zonecut.c
lib/zonecut.h
modules/hints/hints.c
modules/priming/priming.lua