[Pdns-users] dnsdist drops packet

bert hubert bert.hubert at powerdns.com
Sat Dec 19 15:34:11 UTC 2015


On Sat, Dec 19, 2015 at 04:11:57PM +0100, Aleš Rygl wrote:
> #   Name                 Address                       State     Qps    Qlim Ord Wt    Queries   Drops Drate   Lat Pools
> 0   rzt-entdns3          93.153.116.35:53                 up     0.0    1000   1  1    1547610    7186   0.0  72.7 
> 1   rzt-entdns2          127.0.0.1:53                     up     1.0    1000   1  1    1548253    7379   0.0  81.2 
> All                                                              0.0                   3095863   14565   
> 
> Could't the drops be caused by downstream server responding too late because of SERVFAIL when resolving a particular domain? 

Could be, we have the infrastructure to give insight into that but we don't
make it easy yet:

> grepq(".")
Time    Client                                          ID    Name                      Type  Lat. TC RD AA Rcode
-25.0   127.0.0.1:59117                                 13086 ds9a.nl.                  A             RD    Question
-21.2   127.0.0.1:59117                                 0     ds9a.nl.                  A     0.0           No Error. 0 answers
-20.0   127.0.0.1:59117                                 13086 ds9a.nl.                  A             RD    Question
-16.2   127.0.0.1:59117                                 0     ds9a.nl.                  A     0.0           No Error. 0 answers
-15.0   127.0.0.1:59117                                 13086 ds9a.nl.                  A             RD    Question
-11.2   127.0.0.1:59117                                 0     ds9a.nl.                  A     0.0           No Error. 0 answers

This "knows" about timeouts to backends, but we don't make it easy to "grep" for them.

Will add this as a feature.

	Bert

> 
> Regards
> Ales
> 
> 
> On Saturday 19 of December 2015 13:20:35 Federico Olivieri wrote:
> > Hi guys,
> > 
> > Nobody has any clue for this? I woukd try to understand why dnsdist shows
> > some dropped packets. There is any debug that can help me to understand why
> > it os happen?
> > 
> > Thanks and Merry Christmas!!!
> > 
> > Federico
> > 
> > On 18 Dec 2015 14:22, "Federico Olivieri" <lvrfrc87 at gmail.com> wrote:
> > > Hi all,
> > > 
> > > I have a raspberry that is running dnsdist with this configuration:
> > > 
> > > newServer{address="192.168.0.3:53"}
> > > newServer{address="127.0.0.1:5300", pool="abuse"}
> > > addPoolRule({"wpad.domain.name"}, "abuse")
> > > webserver("192.168.0.2:8083", "supersecret")
> > > addACL("0.0.0.0/0")
> > > addACL("::/0")
> > > carbonServer('37.252.122.50', 'raspi-836', 30)
> > > 
> > > I don't know why, but on webserver I can see some packets dropped from the
> > > primary server and I don't understand the reason why. There is not any
> > > queries rate for that server
> > > 
> > > #NameAddressStatusQueriesDropsQPSOutWeightOrderPools0192.168.0.3:53up24108
> > > 6720111127.0.0.1:5300up10100011abuse
> > > 
> > > Do you have any idea why there are some dropped packets?
> > > 
> > > Also, I added this line of conf. I could see the queries to goolge but I
> > > could see also the queries to a.root server. Seems that the command does
> > > not overwrite the default one. Is it the aspect  behaviour?
> > > 
> > > newServer {address="192.168.0.3", checkType="A",
> > > checkName="www.google.com.", mustResolve=true}
> > > 
> > > Last question: I added the carbon server. I can see the server on
> > > https://metronome1.powerdns.com/ but no one graph is plotted
> > > 
> > > Thank you for your time.
> > > 
> > > BTW, dnsdist seems very useful and powerful!!!
> > > 
> > > Federico
> 

> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users





More information about the Pdns-users mailing list