<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<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>---------- Begin Log config -------<br>
</p>
<p></p>
<div>--addAction(AllRule(), LogAction("/var/log/dnsdist.log", false, true, false,true))<br>
addAction(AllRule(), LogAction("/var/log/dnsdist/dnsdist.log",false, true, false, false, true))</div>
<div><span>---------- End Log config -------</span><br>
</div>
<div>
<div class="tw-ta-container hide-focus-ring tw-nfl" id="tw-target-text-container" tabindex="0">
<pre class="tw-data-text tw-text-large XcVN5d tw-ta" data-placeholder="Traduction" id="tw-target-text" style="text-align:left" dir="ltr"><span lang="en"></span><span lang="en">here is an example of the log still without date</span><span lang="en"><br><br><div>1613145474.792149035] Packet from adressip:46124 for 143.10.98.141.in-addr.arpa. PTR with id 55025<br>[1613145477.461288399] Packet from adressip:35901 for 15.27.226.41.in-addr.arpa. PTR with id 22949<br>[1613145477.462650650] Packet from adressip:36625 for 132.80.98.141.in-addr.arpa. PTR with id 10293</div><br>------------- Begin Cache config -------<br></span></pre>
</div>
<div>setPoolServerPolicy(leastOutstanding, "resolverT")<br>
pc = newPacketCache(10000, {maxTTL=86400, minTTL=0,temporaryFailureTTL=60, staleTTL=60, dontAge=false})<br>
getPool("resolverT"):setCache(pc)<br>
addAction(AllRule(), PoolAction("resolverT"))</div>
<div>
<pre class="tw-data-text tw-text-large XcVN5d tw-ta" data-placeholder="Traduction" id="tw-target-text" style="text-align:left" dir="ltr"><span lang="en">------------- End Cache config -------<br><pre class="tw-data-text tw-text-large XcVN5d tw-ta" data-placeholder="Traduction" id="tw-target-text" style="text-align:left" dir="ltr"><span lang="en">with this configuration of the cache I have all the lost packets :<br><br><div>Entries: 1084/10000<br>Hits: 4139<br>Misses: 3230<br>Deferred inserts: 1<br>Deferred lookups: 0<br>Lookup Collisions: 0<br>Insert Collisions: 0<br>TTL Too Shorts: 0<br><br></div><br></span></pre><br></span></pre>
<br>
</div>
<br>
<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"><br></pre>
</div>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<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> dnsdist <dnsdist-bounces@mailman.powerdns.com> de la part de dnsdist-request@mailman.powerdns.com <dnsdist-request@mailman.powerdns.com><br>
<b>Envoyé :</b> vendredi 12 février 2021 09:25<br>
<b>À :</b> dnsdist@mailman.powerdns.com<br>
<b>Objet :</b> dnsdist Digest, Vol 66, Issue 17</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Send dnsdist mailing list submissions to<br>
dnsdist@mailman.powerdns.com<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk272598" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
or, via email, send a message with subject or body 'help' to<br>
dnsdist-request@mailman.powerdns.com<br>
<br>
You can reach the person managing the list at<br>
dnsdist-owner@mailman.powerdns.com<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of dnsdist digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: cache dnsdist not working for my setup (SAMI RAHAL)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 12 Feb 2021 08:25:43 +0000<br>
From: SAMI RAHAL <Sami.Rahal@topnetpro.tn><br>
To: "dnsdist@mailman.powerdns.com" <dnsdist@mailman.powerdns.com><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <2f4b94f00ace45418ecdb9d0908753c2@topnetpro.tn><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hi Markus<br>
<br>
it gives me an empty file<br>
<br>
--addAction(AllRule(), LogAction("/var/log/dnsdist.log", false, true, false,true))<br>
addAction(AllRule(), LogAction("/var/log/dnsdist/dnsdist.log", false, true, false,false,true))<br>
<br>
ls -l /var/log/dnsdist/<br>
total 0<br>
-rw-r--r-- 1 dnsdist dnsdist 0 Feb 11 20:09 dnsdist.log<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
________________________________<br>
De : dnsdist <dnsdist-bounces@mailman.powerdns.com> de la part de dnsdist-request@mailman.powerdns.com <dnsdist-request@mailman.powerdns.com><br>
Envoy? : jeudi 11 f?vrier 2021 13:00<br>
? : dnsdist@mailman.powerdns.com<br>
Objet : dnsdist Digest, Vol 66, Issue 16<br>
<br>
Send dnsdist mailing list submissions to<br>
dnsdist@mailman.powerdns.com<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk692160" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
or, via email, send a message with subject or body 'help' to<br>
dnsdist-request@mailman.powerdns.com<br>
<br>
You can reach the person managing the list at<br>
dnsdist-owner@mailman.powerdns.com<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of dnsdist digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: cache dnsdist not working for my setup (Markus Ehrlicher)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 10 Feb 2021 15:13:37 +0000<br>
From: Markus Ehrlicher <Markus.Ehrlicher@komsa.de><br>
To: "'dnsdist@mailman.powerdns.com'" <dnsdist@mailman.powerdns.com><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <84806edf37eb45c6a13b60a6495e58f1@komsa.de><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
<a href="https://dnsdist.org/rules-actions.html?highlight=logaction#LogAction" id="LPlnk914807" previewremoved="true">https://dnsdist.org/rules-actions.html?highlight=logaction#LogAction</a><br>
<br>
LogAction([filename[, binary[, append[, buffered[, verboseOnly[, includeTimestamp]]]]]])?<br>
<br>
addAction(AllRule(), LogAction("/var/log/dnsdist/all_queries.log", false, true, false, false, true))<br>
<br>
<br>
-----Urspr?ngliche Nachricht-----<br>
Von: dnsdist <dnsdist-bounces@mailman.powerdns.com> Im Auftrag von SAMI RAHAL via dnsdist<br>
Gesendet: Mittwoch, 10. Februar 2021 15:57<br>
An: dnsdist@mailman.powerdns.com<br>
Betreff: Re: [dnsdist] cache dnsdist not working for my setup<br>
<br>
Hi<br>
everything is working fine now, I have the log and the cache, last thing how to add the date in the log file Thank you everyone and sorry for this inconvenience<br>
<br>
<br>
<br>
<br>
________________________________________<br>
De : dnsdist <dnsdist-bounces@mailman.powerdns.com> de la part de dnsdist-request@mailman.powerdns.com <dnsdist-request@mailman.powerdns.com><br>
Envoy? : mercredi 10 f?vrier 2021 13:00<br>
? : dnsdist@mailman.powerdns.com<br>
Objet : dnsdist Digest, Vol 66, Issue 14<br>
<br>
Send dnsdist mailing list submissions to<br>
dnsdist@mailman.powerdns.com<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk324809" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
or, via email, send a message with subject or body 'help' to<br>
dnsdist-request@mailman.powerdns.com<br>
<br>
You can reach the person managing the list at<br>
dnsdist-owner@mailman.powerdns.com<br>
<br>
When replying, please edit your Subject line so it is more specific than "Re: Contents of dnsdist digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: cache dnsdist not working for my setup (Otto Moerbeek)<br>
2. Re: cache dnsdist not working for my setup (SAMI RAHAL)<br>
3. Re: cache dnsdist not working for my setup (Kai)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 10 Feb 2021 10:18:25 +0100<br>
From: Otto Moerbeek <otto@drijf.net><br>
To: SAMI RAHAL <Sami.Rahal@topnetpro.tn><br>
Cc: "dnsdist@mailman.powerdns.com" <dnsdist@mailman.powerdns.com><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <YCOk4eGPhpekwJB6@clue.drijf.net><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
On Wed, Feb 10, 2021 at 07:04:34AM +0000, SAMI RAHAL via dnsdist wrote:<br>
<br>
> Hi<br>
> I proceeded as Markus said the permission problem is solved but the log file is empty and I have the following message when I want to consult the traffic in the console.<br>
><br>
> showResponseLatency()<br>
> No traffic yet.<br>
><br>
> PS I don't have these problems with version 1.3!<br>
<br>
When swicthing versions, it is very important to read the upgrade guide (and other docs) first. Also read and understand
<a href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" id="LPlnk83765" previewremoved="true">
https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>
<div id="LPBorder_GT_16131458644140.5393562400504086" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_16131458644100.8656001857544612" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_16131458644110.5641656241824099" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_16131458644110.3060042447778274" style="background-color: rgb(255, 255, 255); height: 200px; position: relative; margin: auto; display: table; width: 200px;">
<a id="LPImageAnchor_16131458644120.9835488026528696" style="display: table-cell; text-align: center;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 200px; width: 200px; border-width: 0px; vertical-align: bottom;" aria-label="Option d’image d’aperçu avec lien sélectionnée. Appuyez deux fois pour ouvrir le lien." id="LPThumbnailImageID_16131458644120.07780798201420125" width="200" height="200" src="https://s0.wp.com/i/blank.jpg"></a></div>
</td>
<td id="TextCell_16131458644130.6262885210028428" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_16131458644130.6395638277155858"></div>
<div id="LPTitle_16131458644130.16178063842183144" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_16131458644140.7685186839287729" style="text-decoration: none;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank">Open Source Support: out in the open | PowerDNS Blog</a></div>
<div id="LPMetadata_16131458644140.678854680543271" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
blog.powerdns.com</div>
<div id="LPDescription_16131458644140.9160050691600361" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
As an Open Source project, PowerDNS works hard to support its users and customers. We also love to work with our collaborators, our community, on projects inside and outside of PowerDNS. This way w…</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" id="LPlnk259827" previewremoved="true">https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><br>
<br>
Open Source Support: out in the open | PowerDNS Blog<<a href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" id="LPlnk786822" previewremoved="true">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>>
<div id="LPBorder_GT_16131458954660.3625505871330744" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_16131458954630.5612632018482597" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_16131458954630.5319805872662512" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_16131458954630.9976053159158639" style="background-color: rgb(255, 255, 255); height: 200px; position: relative; margin: auto; display: table; width: 200px;">
<a id="LPImageAnchor_16131458954630.823735752477537" style="display: table-cell; text-align: center;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 200px; width: 200px; border-width: 0px; vertical-align: bottom;" aria-label="Option d’image d’aperçu avec lien sélectionnée. Appuyez deux fois pour ouvrir le lien." id="LPThumbnailImageID_16131458954640.7848622811272538" width="200" height="200" src="https://s0.wp.com/i/blank.jpg"></a></div>
</td>
<td id="TextCell_16131458954640.15116684267225056" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_16131458954640.3775896040673379"></div>
<div id="LPTitle_16131458954640.5939677582607099" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_16131458954650.35229623711133484" style="text-decoration: none;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank">Open Source Support: out in the open | PowerDNS Blog</a></div>
<div id="LPMetadata_16131458954650.8311069381477989" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
blog.powerdns.com</div>
<div id="LPDescription_16131458954650.5067055617440516" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
As an Open Source project, PowerDNS works hard to support its users and customers. We also love to work with our collaborators, our community, on projects inside and outside of PowerDNS. This way w…</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
blog.powerdns.com<br>
As an Open Source project, PowerDNS works hard to support its users and customers. We also love to work with our collaborators, our community, on projects inside and outside of PowerDNS. This way w?<br>
<br>
<br>
<br>
Only if you think for yourself first and give complete information to the list we can maybe help you. At the moment, your messages only cause noise on the list.<br>
<br>
-Otto<br>
<br>
<br>
><br>
> Regards<br>
><br>
> ________________________________________<br>
> De : dnsdist <dnsdist-bounces@mailman.powerdns.com> de la part de<br>
> dnsdist-request@mailman.powerdns.com<br>
> <dnsdist-request@mailman.powerdns.com><br>
> Envoy? : mardi 9 f?vrier 2021 13:00<br>
> ? : dnsdist@mailman.powerdns.com<br>
> Objet : dnsdist Digest, Vol 66, Issue 12<br>
><br>
> Send dnsdist mailing list submissions to<br>
> dnsdist@mailman.powerdns.com<br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk901892" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> dnsdist-request@mailman.powerdns.com<br>
><br>
> You can reach the person managing the list at<br>
> dnsdist-owner@mailman.powerdns.com<br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of dnsdist digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: cache dnsdist not working for my setup (Pieter Lexis)<br>
> 2. Re: cache dnsdist not working for my setup (Markus Ehrlicher)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Tue, 9 Feb 2021 10:24:42 +0100<br>
> From: Pieter Lexis <pieter.lexis@powerdns.com><br>
> To: dnsdist@mailman.powerdns.com<br>
> Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
> Message-ID: <1c384ba0-5146-4f21-bfff-801b4c66e1ba@powerdns.com><br>
> Content-Type: text/plain; charset=utf-8<br>
><br>
> Hi,<br>
><br>
> On 2/9/21 9:41 AM, SAMI RAHAL via dnsdist wrote:<br>
> > I have adjusted access to the console, but now I have a problem with<br>
> > the dnsdist log file<br>
> ><br>
> > Fatal Lua error: [string "chunk"]:164: Caught exception: Unable to<br>
> > open file '/var/log/dnsdist.log' for logging: Permission denied<br>
> ><br>
> > ls -l /var/log/<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 8 03:21 dnsdist.log<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 7 19:59 dnsdist.log-20210208<br>
> ><br>
> ><br>
> > the log files are empty, I didn't have this problem before<br>
> > installing version 1.5<br>
><br>
> dnsdist runs as the dnsdist user. 2 things might be the case<br>
><br>
> 1. the /var/lib directory is not accessable to all users 2. a<br>
> protection setting in the systemd service file might prevent thist<br>
> (most likely ProtectSystem=full)<br>
><br>
> Have a look at what might be the culprit here.<br>
><br>
> --<br>
> Pieter Lexis<br>
> PowerDNS.COM BV -- <a href="https://www.powerdns.com" id="LPlnk68648" previewremoved="true">
https://www.powerdns.com</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Tue, 9 Feb 2021 10:03:41 +0000<br>
> From: Markus Ehrlicher <Markus.Ehrlicher@komsa.de><br>
> To: "'dnsdist@mailman.powerdns.com'" <dnsdist@mailman.powerdns.com><br>
> Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
> Message-ID: <7034235e27fa4916b300db5450ab55dc@komsa.de><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi,<br>
><br>
> I think, I ran into the same problem ob Ubuntu 20.04. My solution was, to create an folder /var/log/dnsdist with write-permission to the _dnsdist-User and configured all logfiles for dnsdist to this location.<br>
><br>
> Best regards,<br>
> Markus<br>
><br>
> -----Urspr?ngliche Nachricht-----<br>
> Von: dnsdist <dnsdist-bounces@mailman.powerdns.com> Im Auftrag von<br>
> Pieter Lexis via dnsdist<br>
> Gesendet: Dienstag, 9. Februar 2021 10:25<br>
> An: dnsdist@mailman.powerdns.com<br>
> Betreff: Re: [dnsdist] cache dnsdist not working for my setup<br>
><br>
> Hi,<br>
><br>
> On 2/9/21 9:41 AM, SAMI RAHAL via dnsdist wrote:<br>
> > I have adjusted access to the console, but now I have a problem with<br>
> > the dnsdist log file<br>
> ><br>
> > Fatal Lua error: [string "chunk"]:164: Caught exception: Unable to<br>
> > open file '/var/log/dnsdist.log' for logging: Permission denied<br>
> ><br>
> > ls -l /var/log/<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 8 03:21 dnsdist.log<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 7 19:59 dnsdist.log-20210208<br>
> ><br>
> ><br>
> > the log files are empty, I didn't have this problem before<br>
> > installing version 1.5<br>
><br>
> dnsdist runs as the dnsdist user. 2 things might be the case<br>
><br>
> 1. the /var/lib directory is not accessable to all users 2. a<br>
> protection setting in the systemd service file might prevent thist<br>
> (most likely ProtectSystem=full)<br>
><br>
> Have a look at what might be the culprit here.<br>
><br>
> --<br>
> Pieter Lexis<br>
> PowerDNS.COM BV -- <a href="https://www.powerdns.com" id="LPlnk952661" previewremoved="true">
https://www.powerdns.com</a><br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk612830" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk440730" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of dnsdist Digest, Vol 66, Issue 12<br>
> ***************************************<br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk295015" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 10 Feb 2021 10:12:17 +0000<br>
From: SAMI RAHAL <Sami.Rahal@topnetpro.tn><br>
To: Otto Moerbeek <otto@drijf.net><br>
Cc: "dnsdist@mailman.powerdns.com" <dnsdist@mailman.powerdns.com><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <1612951969563.19881@topnetpro.tn><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hello<br>
I'm sorry OTTO, but I'm pressed for time as soon as I migrated to version 1.5 I encountered quite a few problems!<br>
now I only have the problem of log (empty) and the cache which still does not work<br>
<br>
----------Log config------------------------------<br>
-- log all queries to a 'dndist.log' file, in text-mode (not binary) appending and unbuffered addAction(AllRule(), LogAction("/var/log/dnsdist/dnsdist.log", false, true, false))<br>
<br>
-------------------------Cache config------------------------- ewServer({name="unbound",pool={"resolverT"},address="IP", qps=1000, order=1}) newServer({name="pdns-recursor",pool={"resolverT"},address="IP", order=2}) cacheresolv = newPacketCache(100000)<br>
getPool("resolverT"):setCache(cacheresolv)<br>
setStaleCacheEntriesTTL(86400)<br>
addAction(AllRule(), PoolAction("resolverT"))<br>
<br>
<br>
________________________________________<br>
De : Otto Moerbeek <otto@drijf.net><br>
Envoy? : mercredi 10 f?vrier 2021 10:18<br>
? : SAMI RAHAL<br>
Cc : dnsdist@mailman.powerdns.com<br>
Objet : Re: [dnsdist] cache dnsdist not working for my setup<br>
<br>
On Wed, Feb 10, 2021 at 07:04:34AM +0000, SAMI RAHAL via dnsdist wrote:<br>
<br>
> Hi<br>
> I proceeded as Markus said the permission problem is solved but the log file is empty and I have the following message when I want to consult the traffic in the console.<br>
><br>
> showResponseLatency()<br>
> No traffic yet.<br>
><br>
> PS I don't have these problems with version 1.3!<br>
<br>
When swicthing versions, it is very important to read the upgrade guide (and other docs) first. Also read and understand
<a href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" id="LPlnk474337" previewremoved="true">
https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>
<div id="LPBorder_GT_16131459566140.8416575583720983" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_16131459566110.8726344675925635" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_16131459566110.2517064455524607" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_16131459566110.9004884363278073" style="background-color: rgb(255, 255, 255); height: 200px; position: relative; margin: auto; display: table; width: 200px;">
<a id="LPImageAnchor_16131459566110.4734587976114266" style="display: table-cell; text-align: center;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 200px; width: 200px; border-width: 0px; vertical-align: bottom;" aria-label="Option d’image d’aperçu avec lien sélectionnée. Appuyez deux fois pour ouvrir le lien." id="LPThumbnailImageID_16131459566110.07483678944660566" width="200" height="200" src="https://s0.wp.com/i/blank.jpg"></a></div>
</td>
<td id="TextCell_16131459566120.43213273432479415" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_16131459566120.8618414158387432"></div>
<div id="LPTitle_16131459566120.09543741964481045" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_16131459566120.0022100627992778232" style="text-decoration: none;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank">Open Source Support: out in the open | PowerDNS Blog</a></div>
<div id="LPMetadata_16131459566120.8060518140020165" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
blog.powerdns.com</div>
<div id="LPDescription_16131459566130.0812417345792491" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
As an Open Source project, PowerDNS works hard to support its users and customers. We also love to work with our collaborators, our community, on projects inside and outside of PowerDNS. This way w…</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" id="LPlnk702266" previewremoved="true">https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><br>
<br>
Open Source Support: out in the open | PowerDNS Blog<<a href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" id="LPlnk132736" previewremoved="true">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>>
<div id="LPBorder_GT_16131459873130.699340428005831" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_16131459873110.2589113563376554" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_16131459873120.051515136855774135" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_16131459873120.6866054778374878" style="background-color: rgb(255, 255, 255); height: 200px; position: relative; margin: auto; display: table; width: 200px;">
<a id="LPImageAnchor_16131459873120.8486871344890894" style="display: table-cell; text-align: center;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 200px; width: 200px; border-width: 0px; vertical-align: bottom;" aria-label="Option d’image d’aperçu avec lien sélectionnée. Appuyez deux fois pour ouvrir le lien." id="LPThumbnailImageID_16131459873120.20434638492437707" width="200" height="200" src="https://s0.wp.com/i/blank.jpg"></a></div>
</td>
<td id="TextCell_16131459873120.1710272862190224" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_16131459873120.8750614383281541"></div>
<div id="LPTitle_16131459873120.3484727577525205" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_16131459873130.8410262543775555" style="text-decoration: none;" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/" target="_blank">Open Source Support: out in the open | PowerDNS Blog</a></div>
<div id="LPMetadata_16131459873130.8596434428187006" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
blog.powerdns.com</div>
<div id="LPDescription_16131459873130.4669246601445144" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
As an Open Source project, PowerDNS works hard to support its users and customers. We also love to work with our collaborators, our community, on projects inside and outside of PowerDNS. This way w…</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
blog.powerdns.com<br>
As an Open Source project, PowerDNS works hard to support its users and customers. We also love to work with our collaborators, our community, on projects inside and outside of PowerDNS. This way w?<br>
<br>
<br>
<br>
Only if you think for yourself first and give complete information to the list we can maybe help you. At the moment, your messages only cause noise on the list.<br>
<br>
-Otto<br>
<br>
<br>
><br>
> Regards<br>
><br>
> ________________________________________<br>
> De : dnsdist <dnsdist-bounces@mailman.powerdns.com> de la part de<br>
> dnsdist-request@mailman.powerdns.com<br>
> <dnsdist-request@mailman.powerdns.com><br>
> Envoy? : mardi 9 f?vrier 2021 13:00<br>
> ? : dnsdist@mailman.powerdns.com<br>
> Objet : dnsdist Digest, Vol 66, Issue 12<br>
><br>
> Send dnsdist mailing list submissions to<br>
> dnsdist@mailman.powerdns.com<br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk321185" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> dnsdist-request@mailman.powerdns.com<br>
><br>
> You can reach the person managing the list at<br>
> dnsdist-owner@mailman.powerdns.com<br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of dnsdist digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: cache dnsdist not working for my setup (Pieter Lexis)<br>
> 2. Re: cache dnsdist not working for my setup (Markus Ehrlicher)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Tue, 9 Feb 2021 10:24:42 +0100<br>
> From: Pieter Lexis <pieter.lexis@powerdns.com><br>
> To: dnsdist@mailman.powerdns.com<br>
> Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
> Message-ID: <1c384ba0-5146-4f21-bfff-801b4c66e1ba@powerdns.com><br>
> Content-Type: text/plain; charset=utf-8<br>
><br>
> Hi,<br>
><br>
> On 2/9/21 9:41 AM, SAMI RAHAL via dnsdist wrote:<br>
> > I have adjusted access to the console, but now I have a problem with<br>
> > the dnsdist log file<br>
> ><br>
> > Fatal Lua error: [string "chunk"]:164: Caught exception: Unable to<br>
> > open file '/var/log/dnsdist.log' for logging: Permission denied<br>
> ><br>
> > ls -l /var/log/<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 8 03:21 dnsdist.log<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 7 19:59 dnsdist.log-20210208<br>
> ><br>
> ><br>
> > the log files are empty, I didn't have this problem before<br>
> > installing version 1.5<br>
><br>
> dnsdist runs as the dnsdist user. 2 things might be the case<br>
><br>
> 1. the /var/lib directory is not accessable to all users 2. a<br>
> protection setting in the systemd service file might prevent thist<br>
> (most likely ProtectSystem=full)<br>
><br>
> Have a look at what might be the culprit here.<br>
><br>
> --<br>
> Pieter Lexis<br>
> PowerDNS.COM BV -- <a href="https://www.powerdns.com" id="LPlnk162770" previewremoved="true">
https://www.powerdns.com</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Tue, 9 Feb 2021 10:03:41 +0000<br>
> From: Markus Ehrlicher <Markus.Ehrlicher@komsa.de><br>
> To: "'dnsdist@mailman.powerdns.com'" <dnsdist@mailman.powerdns.com><br>
> Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
> Message-ID: <7034235e27fa4916b300db5450ab55dc@komsa.de><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi,<br>
><br>
> I think, I ran into the same problem ob Ubuntu 20.04. My solution was, to create an folder /var/log/dnsdist with write-permission to the _dnsdist-User and configured all logfiles for dnsdist to this location.<br>
><br>
> Best regards,<br>
> Markus<br>
><br>
> -----Urspr?ngliche Nachricht-----<br>
> Von: dnsdist <dnsdist-bounces@mailman.powerdns.com> Im Auftrag von<br>
> Pieter Lexis via dnsdist<br>
> Gesendet: Dienstag, 9. Februar 2021 10:25<br>
> An: dnsdist@mailman.powerdns.com<br>
> Betreff: Re: [dnsdist] cache dnsdist not working for my setup<br>
><br>
> Hi,<br>
><br>
> On 2/9/21 9:41 AM, SAMI RAHAL via dnsdist wrote:<br>
> > I have adjusted access to the console, but now I have a problem with<br>
> > the dnsdist log file<br>
> ><br>
> > Fatal Lua error: [string "chunk"]:164: Caught exception: Unable to<br>
> > open file '/var/log/dnsdist.log' for logging: Permission denied<br>
> ><br>
> > ls -l /var/log/<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 8 03:21 dnsdist.log<br>
> > -rw------- 1 dnsdist dnsdist 0 Feb 7 19:59 dnsdist.log-20210208<br>
> ><br>
> ><br>
> > the log files are empty, I didn't have this problem before<br>
> > installing version 1.5<br>
><br>
> dnsdist runs as the dnsdist user. 2 things might be the case<br>
><br>
> 1. the /var/lib directory is not accessable to all users 2. a<br>
> protection setting in the systemd service file might prevent thist<br>
> (most likely ProtectSystem=full)<br>
><br>
> Have a look at what might be the culprit here.<br>
><br>
> --<br>
> Pieter Lexis<br>
> PowerDNS.COM BV -- <a href="https://www.powerdns.com" id="LPlnk197832" previewremoved="true">
https://www.powerdns.com</a><br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk321887" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk816814" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of dnsdist Digest, Vol 66, Issue 12<br>
> ***************************************<br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk336090" previewremoved="true">
https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 10 Feb 2021 11:23:15 +0100<br>
From: Kai <kai@xs4all.net><br>
To: dnsdist@mailman.powerdns.com<br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <57b09646-de11-2939-940b-305c4742d8d3@xs4all.net><br>
Content-Type: text/plain; charset=utf-8; format=flowed<br>
<br>
Sami,<br>
<br>
On 10-02-2021 11:12, SAMI RAHAL via dnsdist wrote:<br>
> Hello<br>
> I'm sorry OTTO, but I'm pressed for time as soon as I migrated to version 1.5 I encountered quite a few problems!<br>
> now I only have the problem of log (empty) and the cache which still<br>
> does not work<br>
><br>
> ----------Log config------------------------------<br>
> -- log all queries to a 'dndist.log' file, in text-mode (not binary)<br>
> appending and unbuffered addAction(AllRule(),<br>
> LogAction("/var/log/dnsdist/dnsdist.log", false, true, false))<br>
><br>
> -------------------------Cache config-------------------------<br>
> ewServer({name="unbound",pool={"resolverT"},address="IP", qps=1000,<br>
> order=1})<br>
> newServer({name="pdns-recursor",pool={"resolverT"},address="IP",<br>
> order=2}) cacheresolv = newPacketCache(100000)<br>
> getPool("resolverT"):setCache(cacheresolv)<br>
> setStaleCacheEntriesTTL(86400)<br>
> addAction(AllRule(), PoolAction("resolverT"))<br>
<br>
IP is not an ipaddress<br>
ewServer is not a valid statement.<br>
<br>
<br>
How can we possibly test out your configuration if it is incomplete?<br>
<br>
<br>
<br>
Kai<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
dnsdist mailing list<br>
dnsdist@mailman.powerdns.com<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk75908" previewremoved="true">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
End of dnsdist Digest, Vol 66, Issue 14<br>
***************************************<br>
_______________________________________________<br>
dnsdist mailing list<br>
dnsdist@mailman.powerdns.com<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk595407" previewremoved="true">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
dnsdist mailing list<br>
dnsdist@mailman.powerdns.com<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk589733" previewremoved="true">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
End of dnsdist Digest, Vol 66, Issue 16<br>
***************************************<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210212/9d9829f8/attachment.htm" id="LPlnk418011" previewremoved="true">http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210212/9d9829f8/attachment.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
dnsdist mailing list<br>
dnsdist@mailman.powerdns.com<br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" id="LPlnk531490" previewremoved="true">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
End of dnsdist Digest, Vol 66, Issue 17<br>
***************************************<br>
</div>
</span></font></div>
</div>
</body>
</html>