The authoritative packet cache does not check whether a cached packet and the response is it being matched again, have the same EDNS status (present vs. not-present).
Because it does take max reply length into account, the impact of this is limited - non-EDNS clients would only get EDNS replies from the cache if the EDNS bufsize happened to be 512.
We need to either take EDNS into account in the cache, or revert r2649.
auth packetcache now honours edns presence as a variable. Found while…
… investigating a report from Winfried Angele. Patch by Ruben d'Arco. Includes test. Closes #630
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2982 d19b8d6e-7fed-0310-83ef-9ca221ded41b
A patch for this:
Bert had some questions related to the recursor using the same PacketCache. I'm not completely sure if this has impact, but i couldn't find a relation between this PacketCache and the recursor.
applied in r2982, with test. Thanks!