[dnsdist] dnsdist cache looks empty

Federico Olivieri lvrfrc87 at gmail.com
Mon Nov 28 10:09:19 UTC 2016


Hi everybody,

I'm running dnsdist 1.0.0-1pdns.jessie on Raspi. I just discovered the cool
caching feature and configured on my dnsdist

root at UKLNDLABPI:~# cat /etc/dnsdist/dnsdist.conf
newServer({address="192.168.99.10", name="DMZ", order=10, pool=private})
newServer({address="8.8.8.8", name="GOOGLE", order=255, pool=public})
setServerPolicy(leastOutstanding)
addDelay(MaxQPSIPRule(30, 32, 128), 100)
addAction(MaxQPSIPRule(50), DropAction())
setServerPolicy(firstAvailable)
addAnyTCRule()
pc = newPacketCache(10000, 86400, 0, 60, 60)
getPool("private"):setCache(pc)
webserver("192.168.1.3:8083", "supersecret")
setACL("192.168.0.0/16")
addACL("127.0.0.1")

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

Thanks

Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20161128/504e3491/attachment.html>


More information about the dnsdist mailing list