<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Constantia,'Hoefler Text',serif;" dir="ltr">
<p></p>
<pre>Hello dnsdist community,<br><div class="tw-ta-container F0azHf tw-nfl" id="tw-target-text-container" tabindex="0"><pre class="tw-data-text tw-text-large tw-ta" data-placeholder="Translation" id="tw-target-text" style="text-align:left" dir="ltr"><span class="Y2IQFc" lang="en">The dnsdist cache does not work <br><span>Version: dnsdist 1.7.0 (Lua 5.1.4 [LuaJIT 2.0.4])</span><br><br>here is my configuration:</span></pre></div></pre>
<p></p>
<p></p>
<div>setPoolServerPolicy(leastOutstanding, "cacheTestiong")<br>
test_pc = newPacketCache(2000000, {maxTTL=43200, minTTL=0,temporaryFailureTTL=60, staleTTL=60, dontAge=false})<br>
getPool("<span>cacheTestiong</span>"):setCache(test_pc)<br>
addAction(AllRule(), PoolAction("<span>cacheTestiong</span>"))</div>
<div>---------</div>
<div><span>getPool("<span>cacheTestiong</span>"):getCache():printStats()</span><br>
</div>
<div>
<div>Entries: 0/2000000<br>
Hits: 0<br>
Misses: 0<br>
Deferred inserts: 0<br>
Deferred lookups: 0<br>
Lookup Collisions: 0<br>
Insert Collisions: 0<br>
TTL Too Shorts: 0<br>
</div>
<div>---------</div>
<div>Thank you for all<br>
</div>
<br>
</div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div align="left"><br>
</div>
<div align="left"><br>
</div>
<div align="left">
<div align="left">
<pre style="margin-top:14pt; margin-bottom:14pt">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 </pre>
</div>
</div>
</div>
</div>
</div>
</body>
</html>