]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
resolve: always update QNAME after zone cut update
authorMarek Vavruša <mvavrusa@cloudflare.com>
Sat, 24 Mar 2018 04:00:37 +0000 (21:00 -0700)
committerMarek Vavruša <mvavrusa@cloudflare.com>
Fri, 7 Sep 2018 17:45:21 +0000 (10:45 -0700)
commitb0fab90cb21770889c8d8565b3e91a3d555b0886
tree6e7e27c0351b2fe9528b8fb91a1345ab2f8dbcaf
parentfcc4436eeb6e5b076cd81f12a80b3d80aae11b29
resolve: always update QNAME after zone cut update

Previously the code didn't update query if the minimization was turned off,
but that broke resolution for deep zones (like in-addr.arpa) when part of
the chain fell out of cache, and nearest zone cut was longer than
current query name. The condition is not necessary, since kr_make_query
already checks for query name minimisation flag.
lib/resolve.c