]> granicus.if.org Git - pdns/commit
rec: Fix the computation of the closest encloser for positive answers
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 13 Dec 2017 14:03:24 +0000 (15:03 +0100)
committeraerique <aerique@xs4all.nl>
Wed, 17 Jan 2018 08:47:10 +0000 (09:47 +0100)
commit6bc9ccbbb82676d8afbc7081150caa84f38de4f0
tree55ae9c4d10308fab7cde59f7598ea1f9db2fddbc
parentd632f29767eefa0a9564a202ba73edc350fa311a
rec: Fix the computation of the closest encloser for positive answers

When the positive answer is expanded from a wildcard with NSEC3,
the closest encloser is not always parent of the qname, depending
on the number of labels in the initial wildcard.

(cherry picked from commit e4894ce07a529e174b542d20eae327a026e171e8)
pdns/recursordist/test-syncres_cc.cc
pdns/syncres.cc
pdns/syncres.hh
pdns/validate.cc
pdns/validate.hh