<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 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">Hi Markus
I read the documentation except that I translate the documents from English to French to better understand and I did not find how to display the date in an understandable format</span></pre>
Thankyou<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 17:23<br>
<b>À :</b> dnsdist@mailman.powerdns.com<br>
<b>Objet :</b> dnsdist Digest, Vol 66, Issue 19</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="LPlnk734659" 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: Fri, 12 Feb 2021 16:23:40 +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: <82d958172eff47aeb1d25141559dfe3b@komsa.de><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
You haven't read the documentation (the link I send), right? So, I'm out on this point, too. The timestamp is in your logs...<br>
<br>
[1613145477.461288399]<br>
<br>
Best regards,<br>
Markus<br>
<br>
Von: dnsdist <dnsdist-bounces@mailman.powerdns.com> Im Auftrag von SAMI RAHAL via dnsdist<br>
Gesendet: Freitag, 12. Februar 2021 17:16<br>
An:<br>
Betreff: Re: [dnsdist] cache dnsdist not working for my setup<br>
<br>
<br>
---------- Begin Log config -------<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>
---------- End Log config -------<br>
<br>
here is an example of the log still without date<br>
<br>
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<br>
<br>
------------- Begin Cache config -------<br>
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"))<br>
<br>
------------- End Cache config -------<br>
<br>
<br>
with this configuration of the cache I have all the lost packets :<br>
<br>
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>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
________________________________<br>
De : dnsdist <dnsdist-bounces@mailman.powerdns.com<mailto:dnsdist-bounces@mailman.powerdns.com>> de la part de dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com> <dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com>><br>
Envoy? : vendredi 12 f?vrier 2021 09:25<br>
? : dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com><br>
Objet : dnsdist Digest, Vol 66, Issue 17<br>
<br>
Send dnsdist mailing list submissions to<br>
dnsdist@mailman.powerdns.com<mailto: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="LPlnk228021" 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<mailto:dnsdist-request@mailman.powerdns.com><br>
<br>
You can reach the person managing the list at<br>
dnsdist-owner@mailman.powerdns.com<mailto: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<mailto:Sami.Rahal@topnetpro.tn>><br>
To: "dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>" <dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <2f4b94f00ace45418ecdb9d0908753c2@topnetpro.tn<mailto: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<mailto:dnsdist-bounces@mailman.powerdns.com>> de la part de dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com> <dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com>><br>
Envoy? : jeudi 11 f?vrier 2021 13:00<br>
? : dnsdist@mailman.powerdns.com<mailto: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<mailto: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="LPlnk246634" 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<mailto:dnsdist-request@mailman.powerdns.com><br>
<br>
You can reach the person managing the list at<br>
dnsdist-owner@mailman.powerdns.com<mailto: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<mailto:Markus.Ehrlicher@komsa.de>><br>
To: "'dnsdist@mailman.powerdns.com'" <dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <84806edf37eb45c6a13b60a6495e58f1@komsa.de<mailto: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="LPlnk32638" 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<mailto: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<mailto: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<mailto:dnsdist-bounces@mailman.powerdns.com>> de la part de dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com> <dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com>><br>
Envoy? : mercredi 10 f?vrier 2021 13:00<br>
? : dnsdist@mailman.powerdns.com<mailto: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<mailto: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="LPlnk531301">
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<mailto:dnsdist-request@mailman.powerdns.com><br>
<br>
You can reach the person managing the list at<br>
dnsdist-owner@mailman.powerdns.com<mailto: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<mailto:otto@drijf.net>><br>
To: SAMI RAHAL <Sami.Rahal@topnetpro.tn<mailto:Sami.Rahal@topnetpro.tn>><br>
Cc: "dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>" <dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <YCOk4eGPhpekwJB6@clue.drijf.net<mailto: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/">
https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a><br>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/">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/">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><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>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/<https://s0.wp.com/i/blank.jpg%5d%3chttps:/blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/">https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/<https://s0.wp.com/i/blank.jpg%5d%3chttps:/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/">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><br>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/">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/">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><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>
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<mailto:dnsdist-bounces@mailman.powerdns.com>> de la part de<br>
> dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com><br>
> <dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com>><br>
> Envoy? : mardi 9 f?vrier 2021 13:00<br>
> ? : dnsdist@mailman.powerdns.com<mailto: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<mailto: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">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<mailto:dnsdist-request@mailman.powerdns.com><br>
><br>
> You can reach the person managing the list at<br>
> dnsdist-owner@mailman.powerdns.com<mailto: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<mailto:pieter.lexis@powerdns.com>><br>
> To: dnsdist@mailman.powerdns.com<mailto: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<mailto: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">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<mailto:Markus.Ehrlicher@komsa.de>><br>
> To: "'dnsdist@mailman.powerdns.com'" <dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>><br>
> Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
> Message-ID: <7034235e27fa4916b300db5450ab55dc@komsa.de<mailto: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<mailto: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<mailto: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">https://www.powerdns.com</a><br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:dnsdist@mailman.powerdns.com><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:dnsdist@mailman.powerdns.com><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:Sami.Rahal@topnetpro.tn>><br>
To: Otto Moerbeek <otto@drijf.net<mailto:otto@drijf.net>><br>
Cc: "dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>" <dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>><br>
Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
Message-ID: <1612951969563.19881@topnetpro.tn<mailto: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<mailto:otto@drijf.net>><br>
Envoy? : mercredi 10 f?vrier 2021 10:18<br>
? : SAMI RAHAL<br>
Cc : dnsdist@mailman.powerdns.com<mailto: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/">
https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a><br>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/">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/">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><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>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/<https://s0.wp.com/i/blank.jpg%5d%3chttps:/blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/">https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/<https://s0.wp.com/i/blank.jpg%5d%3chttps:/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/">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><br>
[<a href="https://s0.wp.com/i/blank.jpg]<https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/">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/">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a>><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>
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<mailto:dnsdist-bounces@mailman.powerdns.com>> de la part de<br>
> dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com><br>
> <dnsdist-request@mailman.powerdns.com<mailto:dnsdist-request@mailman.powerdns.com>><br>
> Envoy? : mardi 9 f?vrier 2021 13:00<br>
> ? : dnsdist@mailman.powerdns.com<mailto: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<mailto: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">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<mailto:dnsdist-request@mailman.powerdns.com><br>
><br>
> You can reach the person managing the list at<br>
> dnsdist-owner@mailman.powerdns.com<mailto: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<mailto:pieter.lexis@powerdns.com>><br>
> To: dnsdist@mailman.powerdns.com<mailto: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<mailto: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">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<mailto:Markus.Ehrlicher@komsa.de>><br>
> To: "'dnsdist@mailman.powerdns.com'" <dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com>><br>
> Subject: Re: [dnsdist] cache dnsdist not working for my setup<br>
> Message-ID: <7034235e27fa4916b300db5450ab55dc@komsa.de<mailto: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<mailto: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<mailto: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">https://www.powerdns.com</a><br>
> _______________________________________________<br>
> dnsdist mailing list<br>
> dnsdist@mailman.powerdns.com<mailto:dnsdist@mailman.powerdns.com><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:dnsdist@mailman.powerdns.com><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:dnsdist@mailman.powerdns.com><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:kai@xs4all.net>><br>
To: dnsdist@mailman.powerdns.com<mailto: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<mailto: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<mailto:dnsdist@mailman.powerdns.com><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:dnsdist@mailman.powerdns.com><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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<mailto:dnsdist@mailman.powerdns.com><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">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">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<mailto:dnsdist@mailman.powerdns.com><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
End of dnsdist Digest, Vol 66, Issue 17<br>
***************************************<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210212/b0445081/attachment.htm">http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210212/b0445081/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">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
<br>
------------------------------<br>
<br>
End of dnsdist Digest, Vol 66, Issue 19<br>
***************************************<br>
</div>
</span></font></div>
</div>
</body>
</html>