In old dnsdist versions the chache was per "cookie". So make sure to test with 
DNS cookies.
regards
Klaus

Von: dnsdist <dnsdist-boun...@mailman.powerdns.com> Im Auftrag von Jacob Bunk 
Nielsen via dnsdist
Gesendet: Freitag, 22. Juli 2022 12:28
An: dnsd...@mailman.powerdns.com
Betreff: Re: [dnsdist] Dnsdist not reading from the cache

On 22/07/2022 12.11, SAMI RAHAL via dnsdist wrote:

Hello dnsdist community,

The dnsdist cache does not work

Version: dnsdist 1.7.0 (Lua 5.1.4 [LuaJIT 2.0.4])



here is my configuration:
setPoolServerPolicy(leastOutstanding, "cacheTestiong")
test_pc = newPacketCache(2000000, {maxTTL=43200, 
minTTL=0,temporaryFailureTTL=60, staleTTL=60, dontAge=false})
getPool("cacheTestiong"):setCache(test_pc)
addAction(AllRule(), PoolAction("cacheTestiong"))



Are you certain that this is your entire configuration? I'm guessing it's not.



Best regards,

Jacob
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to