ub_ctx caching - can I disable it?

Hello,

I am not sure if this is possible - I could not find an easy answer myself so I decided to ask here :slight_smile:

Some more info: I am using the libunbound python library as a proxy to a local PDNS recursor. I want to create a single ub_ctx instance and reuse it many times but WITHOUT caching. I want requests to hit the PDNS every time and have caching there. How can I achieve this?

Best regards,
Mihail