-
Hello the community, My original problem is that I would like to avoid to have a TTL of 1, as some clients have an issue with this value.
So I tried to configure the minimum-ttl-override and playing arround all ttl/cache relative option without success until now. I'm using recursor 4.8.9 for the moment. I search around the documentation and the github project without finding a solution until now. As it seems a not really complex behavior, did I missed something ? Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Ok I better understand, thank you. I did not installed dnsdist yet, I will give it a try and provide a feedback. |
Beta Was this translation helpful? Give feedback.
Disabling the recursor cache completely is not possible in general. The recursor needs its cache to be able to store records it needs for resolving, like delegations. With forwarding everything you might get away with it, though. See https://docs.powerdns.com/recursor/settings.html#max-cache-entries
It could be that dnsdist might be a better (part of a) solution for you: https://dnsdist.org/guides/cache.html#caching-responses . It's cache has a "dontAge" setting, in addtion to a minimum TTL.
Another possible solution that comes to my mind is disabling the packetcache and let Lua postresolve modify the TTL. But this is all ugly and might have unwanted side effects.
The root cause is a misb…