[dnsdist] cache dnsdist not working for my setup

Kai kai at xs4all.net
Wed Feb 10 10:23:15 UTC 2021


Sami,

On 10-02-2021 11:12, SAMI RAHAL via dnsdist wrote:
> Hello
> I'm sorry OTTO, but I'm pressed for time as soon as I migrated to version 1.5 I encountered quite a few problems!
> now I only have the problem of log (empty) and the cache which still does not work
> 
> ----------Log config------------------------------
> -- log all queries to a 'dndist.log' file, in text-mode (not binary) appending and unbuffered
> addAction(AllRule(), LogAction("/var/log/dnsdist/dnsdist.log", false, true, false))
> 
> -------------------------Cache config-------------------------
> ewServer({name="unbound",pool={"resolverT"},address="IP", qps=1000, order=1})
> newServer({name="pdns-recursor",pool={"resolverT"},address="IP", order=2})
> cacheresolv = newPacketCache(100000)
> getPool("resolverT"):setCache(cacheresolv)
> setStaleCacheEntriesTTL(86400)
> addAction(AllRule(), PoolAction("resolverT"))

IP is not an ipaddress
ewServer is not a valid statement.


How can we possibly test out your configuration if it is incomplete?



Kai



More information about the dnsdist mailing list