]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/rules: when forwarding, avoid resolving NS's name
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 3 Aug 2023 15:31:11 +0000 (17:31 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 3 Aug 2023 15:38:03 +0000 (17:38 +0200)
commitc2c9a01a5bb482dc4afdd023adcf064287f66515
treed9134cef8a9c71be3466988787b145507b83d02b
parentc123ea3b012860700c93cd91119ff7a359ab0c1d
lib/rules: when forwarding, avoid resolving NS's name

With "authoritative forwarding" it could happen that NS selection
decided to resolve the virtual ns.invalid name of the NS to get
either A or AAAA (if either was missing in the forwarding rule).
daemon/lua/kres-gen-30.lua
daemon/lua/kres-gen-31.lua
daemon/lua/kres-gen-32.lua
lib/rules/forward.c
lib/selection_iter.c
lib/zonecut.h