<div dir="ltr">Hi,<div><br></div><div>Just a question from my side. There is any way to understand, from the total count of packet dropped, how many packets have been dropped for SERVFAIL?</div><div><br></div><div>Thank You</div><div><br>Federico</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-04 18:14 GMT+00:00 bert hubert <span dir="ltr"><<a href="mailto:bert.hubert@powerdns.com" target="_blank">bert.hubert@powerdns.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Dec 19, 2015 at 04:34:11PM +0100, bert hubert wrote:<br>
> Could be, we have the infrastructure to give insight into that but we don't<br>
> make it easy yet:<br>
<br>
</span>Hi Aleš,<br>
<br>
As of right now (the packages that are building now), you can do:<br>
<br>
grepq("3000ms")<br>
<br>
And get all timeouts. It also shows you which downstream caused the timeout.<br>
<br>
> grepq("3000ms")<br>
Time Client Server ID Name Type Lat. TC RD AA Rcode<br>
-67.0 <a href="http://127.0.0.1:44898" rel="noreferrer" target="_blank">127.0.0.1:44898</a> <a href="http://8.8.4.4:53" rel="noreferrer" target="_blank">8.8.4.4:53</a> 1853 <a href="http://ds9a.com" rel="noreferrer" target="_blank">ds9a.com</a>. A 3433.1 RD No Error. 1 answers<br>
-54.5 <a href="http://127.0.0.1:41892" rel="noreferrer" target="_blank">127.0.0.1:41892</a> <a href="http://8.8.4.4:53" rel="noreferrer" target="_blank">8.8.4.4:53</a> 32463 <a href="http://ezdns.it" rel="noreferrer" target="_blank">ezdns.it</a>. A T.O No Error. 0 answers<br>
-49.3 <a href="http://127.0.0.1:41892" rel="noreferrer" target="_blank">127.0.0.1:41892</a> <a href="http://8.8.4.4:53" rel="noreferrer" target="_blank">8.8.4.4:53</a> 32463 <a href="http://ezdns.it" rel="noreferrer" target="_blank">ezdns.it</a>. A T.O No Error. 0 answers<br>
-44.2 <a href="http://127.0.0.1:41892" rel="noreferrer" target="_blank">127.0.0.1:41892</a> <a href="http://8.8.4.4:53" rel="noreferrer" target="_blank">8.8.4.4:53</a> 32463 <a href="http://ezdns.it" rel="noreferrer" target="_blank">ezdns.it</a>. A T.O No Error. 0 answers<br>
<br>
Or use topSlow():<br>
> topSlow()<br>
1 <a href="http://ezdns.it" rel="noreferrer" target="_blank">ezdns.it</a>. 3 75.0%<br>
2 <a href="http://ds9a.com" rel="noreferrer" target="_blank">ds9a.com</a>. 1 25.0%<br>
3 Rest 0 0.0%<br>
<br>
You can also do topSlow(10, 4000) to get everything slower than 4000<br>
milliseconds, or even topSlow(10, 4000, 1) which will group everything by<br>
tld.<br>
<br>
Can you let us know if this is what you need?<br>
<br>
Bert<br>
<div><div class="h5"><br>
<br>
><br>
> > grepq(".")<br>
> Time Client ID Name Type Lat. TC RD AA Rcode<br>
> -25.0 <a href="http://127.0.0.1:59117" rel="noreferrer" target="_blank">127.0.0.1:59117</a> 13086 <a href="http://ds9a.nl" rel="noreferrer" target="_blank">ds9a.nl</a>. A RD Question<br>
> -21.2 <a href="http://127.0.0.1:59117" rel="noreferrer" target="_blank">127.0.0.1:59117</a> 0 <a href="http://ds9a.nl" rel="noreferrer" target="_blank">ds9a.nl</a>. A 0.0 No Error. 0 answers<br>
> -20.0 <a href="http://127.0.0.1:59117" rel="noreferrer" target="_blank">127.0.0.1:59117</a> 13086 <a href="http://ds9a.nl" rel="noreferrer" target="_blank">ds9a.nl</a>. A RD Question<br>
> -16.2 <a href="http://127.0.0.1:59117" rel="noreferrer" target="_blank">127.0.0.1:59117</a> 0 <a href="http://ds9a.nl" rel="noreferrer" target="_blank">ds9a.nl</a>. A 0.0 No Error. 0 answers<br>
> -15.0 <a href="http://127.0.0.1:59117" rel="noreferrer" target="_blank">127.0.0.1:59117</a> 13086 <a href="http://ds9a.nl" rel="noreferrer" target="_blank">ds9a.nl</a>. A RD Question<br>
> -11.2 <a href="http://127.0.0.1:59117" rel="noreferrer" target="_blank">127.0.0.1:59117</a> 0 <a href="http://ds9a.nl" rel="noreferrer" target="_blank">ds9a.nl</a>. A 0.0 No Error. 0 answers<br>
><br>
> This "knows" about timeouts to backends, but we don't make it easy to "grep" for them.<br>
><br>
> Will add this as a feature.<br>
><br>
> Bert<br>
><br>
> ><br>
> > Regards<br>
> > Ales<br>
> ><br>
> ><br>
> > On Saturday 19 of December 2015 13:20:35 Federico Olivieri wrote:<br>
> > > Hi guys,<br>
> > ><br>
> > > Nobody has any clue for this? I woukd try to understand why dnsdist shows<br>
> > > some dropped packets. There is any debug that can help me to understand why<br>
> > > it os happen?<br>
> > ><br>
> > > Thanks and Merry Christmas!!!<br>
> > ><br>
> > > Federico<br>
> > ><br>
> > > On 18 Dec 2015 14:22, "Federico Olivieri" <<a href="mailto:lvrfrc87@gmail.com">lvrfrc87@gmail.com</a>> wrote:<br>
> > > > Hi all,<br>
> > > ><br>
> > > > I have a raspberry that is running dnsdist with this configuration:<br>
> > > ><br>
> > > > newServer{address="<a href="http://192.168.0.3:53" rel="noreferrer" target="_blank">192.168.0.3:53</a>"}<br>
> > > > newServer{address="<a href="http://127.0.0.1:5300" rel="noreferrer" target="_blank">127.0.0.1:5300</a>", pool="abuse"}<br>
> > > > addPoolRule({"<a href="http://wpad.domain.name" rel="noreferrer" target="_blank">wpad.domain.name</a>"}, "abuse")<br>
> > > > webserver("<a href="http://192.168.0.2:8083" rel="noreferrer" target="_blank">192.168.0.2:8083</a>", "supersecret")<br>
> > > > addACL("<a href="http://0.0.0.0/0" rel="noreferrer" target="_blank">0.0.0.0/0</a>")<br>
> > > > addACL("::/0")<br>
> > > > carbonServer('37.252.122.50', 'raspi-836', 30)<br>
> > > ><br>
> > > > I don't know why, but on webserver I can see some packets dropped from the<br>
> > > > primary server and I don't understand the reason why. There is not any<br>
> > > > queries rate for that server<br>
> > > ><br>
> > > > #NameAddressStatusQueriesDropsQPSOutWeightOrderPools0192.168.0.3:53up24108<br>
> > > > 6720111127.0.0.1:5300up10100011abuse<br>
> > > ><br>
> > > > Do you have any idea why there are some dropped packets?<br>
> > > ><br>
> > > > Also, I added this line of conf. I could see the queries to goolge but I<br>
> > > > could see also the queries to a.root server. Seems that the command does<br>
> > > > not overwrite the default one. Is it the aspect behaviour?<br>
> > > ><br>
> > > > newServer {address="192.168.0.3", checkType="A",<br>
> > > > checkName="<a href="http://www.google.com" rel="noreferrer" target="_blank">www.google.com</a>.", mustResolve=true}<br>
> > > ><br>
> > > > Last question: I added the carbon server. I can see the server on<br>
> > > > <a href="https://metronome1.powerdns.com/" rel="noreferrer" target="_blank">https://metronome1.powerdns.com/</a> but no one graph is plotted<br>
> > > ><br>
> > > > Thank you for your time.<br>
> > > ><br>
> > > > BTW, dnsdist seems very useful and powerful!!!<br>
> > > ><br>
> > > > Federico<br>
> ><br>
><br>
> > _______________________________________________<br>
> > Pdns-users mailing list<br>
> > <a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
> > <a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
><br>
><br>
> _______________________________________________<br>
</div></div>> dnsdist mailing list<br>
> <a href="mailto:dnsdist@mailman.powerdns.com">dnsdist@mailman.powerdns.com</a><br>
> <a href="http://mailman.powerdns.com/mailman/listinfo/dnsdist" rel="noreferrer" target="_blank">http://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
<br>
_______________________________________________<br>
dnsdist mailing list<br>
<a href="mailto:dnsdist@mailman.powerdns.com">dnsdist@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/dnsdist" rel="noreferrer" target="_blank">http://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
</blockquote></div><br></div>