[Pdns-users] Number of entries can be stored in cache in pdns_recursor?
RBK1001
Paul.Sun at syniverse.com
Wed Jun 13 13:30:19 UTC 2012
Hi Peter
Thank for your reply. but not quite understand your meaning. How I can do
the rec_control dump with 1 million record?
- rbk
Peter van Dijk-6 wrote:
>
> Hello RBK,
>
> On Jun 13, 2012, at 11:03 , RBK1001 wrote:
>
>> I would like to know what is the size of the cache that can be used for
>> storing the entries in pdns_recursor?
>>
>> I used below command to start the pdns_recursor
>>
>> /usr/sbin/pdns_recursor --local-address=192.168.208.76 --local-port=5300
>> --log-common-errors=yes --logging-facility=7 --max-cache-ttl=14400
>> --forward-zones=e164.arpa="192.168.208.214:5301;192.168.208.190:5302"
>>
>> my backend has 1 million records, so by rite if I generate 1 million
>> individual request, I should have 1 million entries in cache, however,
>> when
>> I used rec_control to check, it is always around 100xxx records only.
>
>
> --max-cache-entries defaults to one million. The TTL on your entries could
> be a factor, however. max-cache-ttl provides an upper bound on caching; a
> record with a TTL of 60 in the response will still only be cached for 60
> seconds.
>
> Kind regards,
> --
> Peter van Dijk
> Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>
--
View this message in context: http://old.nabble.com/Number-of-entries-can-be-stored-in-cache-in-pdns_recursor--tp34004428p34005699.html
Sent from the PowerDNS mailing list archive at Nabble.com.
More information about the Pdns-users
mailing list