[dnsdist] Fwd: dnsdist cache looks empty

Federico Olivieri lvrfrc87 at gmail.com
Tue Nov 29 11:09:22 UTC 2016


I see what you mean!

The pool name is just used for specific rules.
Using the "default" option is fine now!

> 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         48       1   0.0  42.4           0 private
1   GOOGLE               8.8.8.8:53                       up     0.0
0 255  1          0       0   0.0   0.0           0 public
All                                                              0.0
                 48       1
>
>
>
>  getPool(""):getCache():printStats()
Entries: 25/10000
Hits: 32
Misses: 48
Deferred inserts: 0
Deferred lookups: 0
Lookup Collisions: 0
Insert Collisions: 0
TTL Too Shorts: 0

Thanks for your time

Federico

2016-11-29 10:49 GMT+00:00 Remi Gacogne <remi.gacogne at powerdns.com>:

> On 11/29/2016 11:44 AM, Federico Olivieri wrote:
> > Thanks for that! Now it looks better but still, cache looks empty. I
> > have run the same queries more times hoping to see the "Hits" counter
> > incremented as well ass the Entries but still all zeros
>
> Are your routing some queries to the "private" pool, using for example
> addPoolRule(), PoolAction(), QPSPoolAction() or setDNSSECPool() ?
> Otherwise all queries are routed to the default pool, so you need to
> either route some of them to the "private" pool, or to set a cache on
> the default pool.
>
> --
> Remi Gacogne
> PowerDNS.COM BV - https://www.powerdns.com/
>
>
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20161129/55d448f4/attachment-0001.html>


More information about the dnsdist mailing list