[dnsdist] Dnsdist not reading from the cache

SAMI RAHAL Sami.Rahal at topnetpro.tn
Fri Jul 22 10:11:38 UTC 2022


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"))
---------
getPool("cacheTestiong"):getCache():printStats()
Entries: 0/2000000
Hits: 0
Misses: 0
Deferred inserts: 0
Deferred lookups: 0
Lookup Collisions: 0
Insert Collisions: 0
TTL Too Shorts: 0
---------
Thank you for all






Cordialement, Sami Rahal Service Hosting DNS et Cloud Direction Technique & SI Siège Social TOPNET, Centre Urbain Nord Tél. :71185000 GSM :99 459 812
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20220722/5934fa61/attachment.htm>


More information about the dnsdist mailing list