[Pdns-users] Cache size in powerdns.

bert hubert ahu at ds9a.nl
Fri Nov 19 13:59:10 UTC 2004

On Fri, Nov 19, 2004 at 02:28:40PM +0100, Dimitrij Hilt wrote:
> HI,
> how can i limit a cache size ( packet cache ) from powerdns? Is it
> only with cache-ttl possible? Has powerdns a default limit for cache
> size?

Currently there is only a limit on ttl. The defaults are:

common_startup.cc:  arg().set("cache-ttl","Seconds to store packets in the
common_startup.cc:  arg().set("recursive-cache-ttl","Seconds to store
packets in the PacketCache")="10";
common_startup.cc:  arg().set("negquery-cache-ttl","Seconds to store packets
in the PacketCache")="60";
common_startup.cc:  arg().set("query-cache-ttl","Seconds to store packets in
the PacketCache")="20";

http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

More information about the Pdns-users mailing list