<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="IT" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">using dnsdist in front of slave PowerDNS Authoritative Servers i see that all queries are logged (by slave) with the dnsdist source IP.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need to log and archive all queries log but within the real public ip that originated the request; I found into the documentation the Proxy Protocol ->
<a href="https://dnsdist.org/advanced/proxyprotocol.html">https://dnsdist.org/advanced/proxyprotocol.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried to configure the downstream servers as follow:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#newServer({address="192.168.1.1", name="slave-01", pool="auth", useProxyProtocol=true})
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">but after restarting dnsdist the servers are marked as “DOWN”.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sure I missing something, but I’m not able to find online a way to solve this issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Anyone faced this issue too?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best!<br>
Simone<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#1F497D;mso-fareast-language:IT">----------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#1F497D;mso-fareast-language:IT"><img border="0" width="124" height="25" style="width:1.2916in;height:.2604in" id="Immagine_x0020_1" src="cid:image001.png@01D6245B.EC6871A0" alt="logo_itnet_piccolo"></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#1F497D;mso-fareast-language:IT">
</span><span lang="EN-US" style="mso-fareast-language:IT"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#1F497D;mso-fareast-language:IT"> </span></b><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#3091D6;mso-fareast-language:IT">
      </span></b><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#287CCC;mso-fareast-language:IT">SIMONE BECCATO</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Times New Roman",serif;color:#287CCC;mso-fareast-language:IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt"><i><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:IT">       Cloud Architect</span></i><i><span lang="EN-US" style="font-size:9.0pt;font-family:"Times New Roman",serif;mso-fareast-language:IT"><o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:IT">       </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:IT">       <b>ITNET S.r.l.</b></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Times New Roman",serif;mso-fareast-language:IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:IT">       </span><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:IT">Via
 del Bosco Rinnovato 8 – Palazzo U4<br>
       20090 Assago Milanofiori Nord (MI)</span><span style="color:#1F497D;mso-fareast-language:IT"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:blue;mso-fareast-language:IT">      
<u><a href="http://www.it.net/"><span style="color:blue">www.it.net</span></a></u></span></i><span style="color:#1F497D;mso-fareast-language:IT"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>