<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>
<div>Hello<br>
Please, is there a configuration error, so that the cache does not work?</div>
<br>
<p></p>
<meta content="text/html; charset=UTF-8">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Constantia, "Hoefler Text", serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> Pdns-users <pdns-users-bounces@mailman.powerdns.com> de la part de pdns-users-request@mailman.powerdns.com <pdns-users-request@mailman.powerdns.com><br>
<b>Envoyé :</b> samedi 23 juillet 2022 14:00:02<br>
<b>À :</b> pdns-users@mailman.powerdns.com<br>
<b>Objet :</b> [EXTERNE]Pdns-users Digest, Vol 234, Issue 8</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText">ATTENTION:Cet e-mail provient d'une personne externe à TOPNET. Ne pas cliquer sur des liens ou ouvrir des pièces jointes à moins que vous êtes absolument sûr de l'origine de l'e-mail.<br>
'<br>
<br>
Send Pdns-users mailing list submissions to<br>
        pdns-users@mailman.powerdns.com<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" id="LPlnk432861" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        pdns-users-request@mailman.powerdns.com<br>
<br>
You can reach the person managing the list at<br>
        pdns-users-owner@mailman.powerdns.com<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Pdns-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: [dnsdist] Dnsdist not reading from the cache (SAMI RAHAL)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 23 Jul 2022 08:29:13 +0000<br>
From: SAMI RAHAL <Sami.Rahal@topnetpro.tn><br>
To: "pdns-users@mailman.powerdns.com"<br>
        <pdns-users@mailman.powerdns.com><br>
Subject: Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache<br>
Message-ID: <05d3b9b80a614bf38282fb568d3b58d6@topnetpro.tn><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi<br>
<br>
this is my entire configuration thank you<br>
<br>
-- Include additional configuration<br>
includeDirectory("/etc/dnsdist/conf.d")<br>
setACL("0.0.0.0/0")<br>
controlSocket("127.0.0.1")<br>
setKey("Key")<br>
webserver ("DnsdistIP:8083", "Password", "Key",{}, "authoroziedIP")<br>
addLocal("DnsdistIP:53")<br>
setLocal("0.0.0.0:53")<br>
-----------------  Backend------------------------<br>
newServer({name="unbound",pool="resolver", address="IPresolver1", qps=2000, order=1})<br>
newServer({name="pdns-recursor",pool="resolver", address="IPresolver2", order=2})<br>
<br>
-------------------------- Begin Log ----------------------<br>
<br>
<br>
--addAction(AllRule(), LogAction("/var/log/dnsdist.log", false, true, false,true))<br>
--addAction(AllRule(), LogAction("/var/log/dnsdist/dnsdist.log",true, true,true,true,true))<br>
--addAction(AllRule(), LogAction("/var/log/dnsdist/dnsdist.log",false, true, false, false, true))<br>
<br>
-------------------------------------------------------caching -----------------------<br>
setPoolServerPolicy(leastOutstanding, "resolver")<br>
pc = newPacketCache(2000000, {maxTTL=43200, minTTL=0,temporaryFailureTTL=60, staleTTL=60, dontAge=false})<br>
getPool("resolver"):setCache(pc)<br>
addAction(AllRule(), PoolAction("resolver"))<br>
-----------------------------------------------Begin security rules -------------------------<br>
local dbr = dynBlockRulesGroup()<br>
dbr:setQueryRate(250, 10, "Exceeded query rate", 20)<br>
dbr:setRCodeRate(DNSRCode.NXDOMAIN, 20, 10, "Exceeded NXD rate", 60)<br>
dbr:setRCodeRate(DNSRCode.SERVFAIL, 20, 10, "Exceeded ServFail rate", 60)<br>
dbr:setQTypeRate(DNSQType.ANY, 5, 10, "Exceeded ANY rate", 180)<br>
--dbr:setResponseByteRate(1000, 10, "Exceeded resp BW rate", 60)<br>
<br>
function maintenance()<br>
  dbr:apply()<br>
end<br>
addAction(MaxQPSIPRule(100), DropAction())<br>
addAction(MaxQPSIPRule(50, 24, 64), DropAction())<br>
addAction({"nl.", "be."}, QPSAction(1))<br>
---------------------------------------------------End security rules--------------------------<br>
<br>
<br>
<br>
<br>
<br>
<br>
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<br>
<br>
<br>
________________________________<br>
De : Pdns-users <pdns-users-bounces@mailman.powerdns.com> de la part de pdns-users-request@mailman.powerdns.com <pdns-users-request@mailman.powerdns.com><br>
Envoy? : vendredi 22 juillet 2022 14:00<br>
? : pdns-users@mailman.powerdns.com<br>
Objet : [EXTERNE]Pdns-users Digest, Vol 234, Issue 7<br>
<br>
ATTENTION:Cet e-mail provient d'une personne externe ? TOPNET. Ne pas cliquer sur des liens ou ouvrir des pi?ces jointes ? moins que vous ?tes absolument s?r de l'origine de l'e-mail.<br>
'<br>
<br>
Send Pdns-users mailing list submissions to<br>
        pdns-users@mailman.powerdns.com<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" id="LPlnk460737" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        pdns-users-request@mailman.powerdns.com<br>
<br>
You can reach the person managing the list at<br>
        pdns-users-owner@mailman.powerdns.com<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Pdns-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: [dnsdist] Dnsdist not reading from the cache (Klaus Darilion)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 22 Jul 2022 12:53:51 +0200<br>
From: Klaus Darilion <klaus.darilion@nic.at><br>
To: Jacob Bunk Nielsen <jbn@one.com> ,<br>
        "pdns-users@mailman.powerdns.com" <pdns-users@mailman.powerdns.com><br>
Subject: Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache<br>
Message-ID: <d9adee25407c4b9da740af015e124d2a@nic.at><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
In old dnsdist versions the chache was per "cookie". So make sure to test with DNS cookies.<br>
regards<br>
Klaus<br>
<br>
Von: dnsdist <dnsdist-bounces@mailman.powerdns.com> Im Auftrag von Jacob Bunk Nielsen via dnsdist<br>
Gesendet: Freitag, 22. Juli 2022 12:28<br>
An: dnsdist@mailman.powerdns.com<br>
Betreff: Re: [dnsdist] Dnsdist not reading from the cache<br>
<br>
On 22/07/2022 12.11, SAMI RAHAL via dnsdist wrote:<br>
<br>
Hello dnsdist community,<br>
<br>
The dnsdist cache does not work<br>
<br>
Version: dnsdist 1.7.0 (Lua 5.1.4 [LuaJIT 2.0.4])<br>
<br>
<br>
<br>
here is my configuration:<br>
setPoolServerPolicy(leastOutstanding, "cacheTestiong")<br>
test_pc = newPacketCache(2000000, {maxTTL=43200, minTTL=0,temporaryFailureTTL=60, staleTTL=60, dontAge=false})<br>
getPool("cacheTestiong"):setCache(test_pc)<br>
addAction(AllRule(), PoolAction("cacheTestiong"))<br>
<br>
<br>
<br>
Are you certain that this is your entire configuration? I'm guessing it's not.<br>
<br>
<br>
<br>
Best regards,<br>
<br>
Jacob<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220722/3e805195/attachment-0001.htm" id="LPlnk60294" previewremoved="true">http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220722/3e805195/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
Pdns-users@mailman.powerdns.com<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" id="LPlnk403011" previewremoved="true">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Pdns-users Digest, Vol 234, Issue 7<br>
******************************************<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220723/ec7fe2c9/attachment-0001.htm" id="LPlnk805527" previewremoved="true">http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220723/ec7fe2c9/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
Pdns-users@mailman.powerdns.com<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" id="LPlnk78973">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Pdns-users Digest, Vol 234, Issue 8<br>
******************************************<br>
</div>
</span></font></div>
</body>
</html>