[dnsdist] Fwd: dnsdist cache looks empty
Federico Olivieri
lvrfrc87 at gmail.com
Mon Nov 28 21:19:30 UTC 2016
+ dnsdist mailing list
---------- Forwarded message ----------
From: Federico Olivieri <lvrfrc87 at gmail.com>
Date: 2016-11-28 21:18 GMT+00:00
Subject: Re: [dnsdist] dnsdist cache looks empty
To: Remi Gacogne <remi.gacogne at powerdns.com>
Hi Remi,
Below the info required. It seems strange that all counters are zero
because from the dnsdist web interface I can clearly see 6487 queries for
pool private. Unfortunately the mail doesn't allow me to send you the
screenshot. Also, my dnsdist is up and running well so, dnsdist must
receive queries
root at UKLNDLABPI:~# dnsdist -e
dnsdist: option requires an argument -- 'e'
Read configuration from '/etc/dnsdist/dnsdist.conf'
Added downstream server 192.168.99.10:53
Added downstream server 8.8.8.8:53
Unable to bind to webserver socket on 192.168.1.3:8083: binding socket to
192.168.1.3:8083: Address already in use
Listening on 127.0.0.1:53
dnsdist 1.0.0 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
ACL allowing queries from: 192.168.0.0/16, 127.0.0.1/32
Marking downstream DMZ (192.168.99.10:53) as 'up'
Marking downstream GOOGLE (8.8.8.8:53) as 'up'
> getPool("private"):getCache():printStats()
Entries: 0/10000
Hits: 0
Misses: 0
Deferred inserts: 0
Deferred lookups: 0
Lookup Collisions: 0
Insert Collisions: 0
TTL Too Shorts: 0
> showRules()
# Matches Rule Action
0 0 IP (/32, /128) match for QPS over 30 delay by
100 msec
1 0 IP (/32, /64) match for QPS over 50 drop
2 0 (qtype==ANY) && (UDP) tc=1 answer
> showPools()
Name Cache Servers
DMZ 192.168.99.10:53,
GOOGLE 8.8.8.8:53
private 0/10000
> showServers()
# Name Address State Qps
Qlim Ord Wt Queries Drops Drate Lat Outstanding Pools
0 DMZ 192.168.99.10:53 up 0.0
0 10 1 0 0 0.0 0.0 0
1 GOOGLE 8.8.8.8:53 up 0.0
0 255 1 0 0 0.0 0.0 0
All 0.0
0 0
>
root at UKLNDLABPI:~#
2016-11-28 10:39 GMT+00:00 Remi Gacogne <remi.gacogne at powerdns.com>:
> On 11/28/2016 11:37 AM, Federico Olivieri wrote:
> > Hi Remi,
> >
> > Thanks for your reply.
> > Yes, the pool received query and worked properly. Unfortunately I don't
> > have access to it right now, but I could see from the GUI more then 1000
> > queries resolved without problem. Please let me know if you need for
> > some logs/output/whatever
>
> Could you show me the results of showRules(), showPools() and
> showServers() when you have access to it and some spare time?
>
> Thanks!
>
> Remi
>
> > 2016-11-28 10:18 GMT+00:00 Remi Gacogne <remi.gacogne at powerdns.com
> > <mailto:remi.gacogne at powerdns.com>>:
> >
> >
> > Hi Federico,
> >
> > On 11/28/2016 11:09 AM, Federico Olivieri wrote:
> > > I started dnsdist I didn't get any error, so I suppose the config
> is
> > > fine. However, when I check the cache , it looks pretty empty
> > >
> > >> getPool("private"):getCache():printStats()
> > > Entries: 0/10000
> > > Hits: 0
> > > Misses: 0
> > > Deferred inserts: 0
> > > Deferred lookups: 0
> > > Lookup Collisions: 0
> > > Insert Collisions: 0
> > > TTL Too Shorts: 0
> > >
> > > Can someone please point me in the right direction
> >
> > It looks like the "private" pool didn't get any queries. Do you route
> > some queries to it? Do you see an increase of the counters of the
> > servers placed in that pool?
> >
> >
> > --
> > Remi Gacogne
> > PowerDNS.COM BV - https://www.powerdns.com/
> >
> >
> > _______________________________________________
> > dnsdist mailing list
> > dnsdist at mailman.powerdns.com <mailto:dnsdist at mailman.powerdns.com>
> > https://mailman.powerdns.com/mailman/listinfo/dnsdist
> > <https://mailman.powerdns.com/mailman/listinfo/dnsdist>
> >
> >
>
>
> --
> Remi Gacogne
> PowerDNS.COM BV - https://www.powerdns.com/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20161128/874d71cf/attachment.html>
More information about the dnsdist
mailing list