]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/syncres.cc
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)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 13 Dec 2017 14:03:24 +0000 (15:03 +0100)
commite4894ce07a529e174b542d20eae327a026e171e8
tree41b7c66c39616a7920d50c23462e74782f26191a
parentd4d05f8982c5ab7d5a42ff55cd610fa077ca4e28
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.
pdns/recursordist/test-syncres_cc.cc
pdns/syncres.cc
pdns/syncres.hh
pdns/validate.cc
pdns/validate.hh