Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PDNS Recursor - No cache hit found although cache entry is present #6340
Answers are not chached when forwarding queries using "forward-zones-recurse".
Steps to reproduce
We expect the following requests to "wikipedia.com" to be answered from cache until TTL expires.
The following attempts to resolve "wikipedia.com" are not answered form
In version 4.0.4 of pdns-recursor this scenario works as expected and recursor is able to answer the queries using available cache entry until TTL expires
Thank you for opening this issue! Initial discussion available at https://mailman.powerdns.com/pipermail/pdns-users/2018-March/025253.html :
So we probably need to either stop requesting authoritative answers from the cache for domains we forward-recurse to, or fake an authoritative answer for them.