]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Only add the NSEC and RRSIG records once in wildcard NODATA answers 10473/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 May 2021 13:00:04 +0000 (15:00 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 7 Jun 2021 07:09:03 +0000 (09:09 +0200)
commit2c01678c4dad96a0260e0e95147a7838922d751e
tree61f5a3a8c25d1945f94b1c6cb5cbf68c921285f1
parent6fd66068b3965ed3f4ab09e0c6e971f01d280377
rec: Only add the NSEC and RRSIG records once in wildcard NODATA answers

For wildcard-expanded answers we need to collect the proof that the
exact name does not exist and add them to the response. We also
collect that proof for negative answers.
When the answer is a wildcard-expanded NODATA, we only need to collect
them once, not twice.

(cherry picked from commit d89f023d1bd6ae7d0eb6d72e7b2771363f5e4f79)
pdns/recursordist/test-syncres_cc5.cc
pdns/syncres.cc