<div dir="ltr">Ok,<br>I have managed to run dnsdist. Now it is up and running, however, form the web page I can see that all packets are dropped<br><br><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium">Uptime: </span><span id="uptime" style="font-family:Arial,sans-serif;color:rgb(0,0,0);font-size:medium">a minute</span><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium">, Number of queries: </span><span id="questions" style="font-family:Arial,sans-serif;color:rgb(0,0,0);font-size:medium">673</span><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium"> (</span><span id="qps" style="font-family:Arial,sans-serif;color:rgb(0,0,0);font-size:medium">7</span><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium"> qps), ACL drops: </span><span id="acl-drops" style="font-family:Arial,sans-serif;color:rgb(0,0,0);font-size:medium">673</span><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium">, Dynamic drops: </span><span id="dyn-drops" style="font-family:Arial,sans-serif;color:rgb(0,0,0);font-size:medium">0</span><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium">, Rule drops: </span><span id="rule-drops" style="font-family:Arial,sans-serif;color:rgb(0,0,0);font-size:medium">0</span><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium">, Blockfilter drops: </span><span id="blockfilter-drops" style="font-family:Arial,sans-serif;color:rgb(0,0,0);font-size:medium">0</span><br style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:medium"> <div>I have tried different configurations but the problem remain. That is my actual conf</div><div><br></div><div><div>newServer{address="<a href="http://192.168.0.3:53">192.168.0.3:53</a>", checkType="A", checkName="<a href="http://www.google.com">www.google.com</a>.", mustResolve=true, qps=10, order=1}</div><div>newServer{address="5.172.xx.xx:53", checkType="A", checkName="<a href="http://www.google.com">www.google.com</a>.", mustResolve=true, qps=100, order=2}</div><div>setServerPolicy(firstAvailable)</div><div>webserver("<a href="http://192.168.0.2:8083">192.168.0.2:8083</a>", "supersecret")</div></div><div><br></div><div>Any idea about what I have missed?<br><br>Thanks</div><div><br></div><div>Federico</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-17 15:13 GMT+00:00 Federico Olivieri <span dir="ltr"><<a href="mailto:lvrfrc87@gmail.com" target="_blank">lvrfrc87@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Found by myself.<div><br>RTFM<br><br></div><div>I haven't read for entire the README :) <br><br>"<span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px">By default, the availability of a downstream server is checked by regularly sending an A query for "<a href="http://a.root-servers.net" target="_blank">a.root-servers.net</a>.". A different query type and target can be specified by passing, respectively, the 'checkType' and 'checkName' parameters to</span><code style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;padding:0.2em 0px;margin:0px;border-radius:3px;color:rgb(51,51,51);background-color:rgba(0,0,0,0.0392157)">newServer</code><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px">. The default behavior is to consider any valid response with a RCODE different from ServFail as valid. If the 'mustResolve' parameter of </span><code style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;padding:0.2em 0px;margin:0px;border-radius:3px;color:rgb(51,51,51);background-color:rgba(0,0,0,0.0392157)">newServer</code><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px"> is set to true, a response will only be considered valid if its RCODE differs from NXDomain, ServFail and Refused."<br><br>Still remain the question about the dnsdist+recursor...Maybe I'll find the answer before the end of the README file</span></div><span class="HOEnZb"><font color="#888888"><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px"><br>Federico</span></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-12-17 14:44 GMT+00:00 Federico Olivieri <span dir="ltr"><<a href="mailto:lvrfrc87@gmail.com" target="_blank">lvrfrc87@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>I'm playing around with dnsdist on my raspberry. My idea is to use it as load balancer between 2 server. I had a look around and I have implemented this conf<br><br><div>root@raspberrypi:/etc/dnsdist# cat dnsdist.conf</div><div>newServer{address="192.168.0.3"}</div><div>newServer{address="5.172.1xx.xx"}</div></div><div><br></div><div>When I start dnsdist I get this message Marking downstream <a href="http://192.168.0.3:53" target="_blank">192.168.0.3:53</a> as 'down' and seems not working</div><div><br></div><div><div>Dec 17 14:26:46 raspberrypi dnsdist[2434]: Listening on <a href="http://127.0.0.1:53" target="_blank">127.0.0.1:53</a></div><div>Dec 17 14:26:46 raspberrypi dnsdist[2434]: dnsdist 0.0.523g812632e comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2</div><div>Dec 17 14:26:47 raspberrypi dnsdist[2434]: Marking downstream <a href="http://192.168.0.3:53" target="_blank">192.168.0.3:53</a> as 'down'</div><div>Dec 17 14:26:48 raspberrypi dnsdist[2434]: Marking downstream <a href="http://5.172.120.59:53" target="_blank">5.172.120.59:53</a> as 'down'</div></div><div><br>Questions:<br><ol><li>there is extra conf that I need to do?</li><li>How dnsdist recognizes if a server is UP or DOWN</li></ol><div>Another question. Is it possible to run dnsdist in the same server that running pdns-recursor? My understanding is that both use 127.0.0.1 in order to run and they cannot coexist. maybe there is a way to bind dnsdist to another interface</div></div><div><br>Thanks!!!</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>