-
Hi, We're using PowerDNS Recursor 5.2.0 and we are trying to disable cache for certain request patterns. For example : when a client requests "blablabla.com", the recursor should not cache the answer. So far we tried to use the preresolve() function and "dq.variable = true", as show in the link below but it does not seem to work. https://doc.powerdns.com/recursor/lua-scripting/hooks.html Any idea? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok got it ! The script must be called with " lua_dns_script:" in the recursor.yml, not with "lua_config_file". Hope it'll help someone, someday. |
Beta Was this translation helpful? Give feedback.
Ok got it ! The script must be called with " lua_dns_script:" in the recursor.yml, not with "lua_config_file". Hope it'll help someone, someday.