]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Only add the NSEC and RRSIG records once in wildcard NODATA answers 10350/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 May 2021 13:00:04 +0000 (15:00 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 May 2021 13:00:04 +0000 (15:00 +0200)
commitd89f023d1bd6ae7d0eb6d72e7b2771363f5e4f79
tree1bf9688bd2f4742d8bacd90b06dbcc793283be12
parent8fcebd43fd83a7f1d5fcde590608497892ab789b
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.
pdns/recursordist/test-syncres_cc5.cc
pdns/syncres.cc