[Pdns-users] how do query the recursor cache to see what's in it?

Kenneth Marshall ktm at rice.edu
Thu Mar 10 18:52:02 UTC 2011


On Thu, Mar 10, 2011 at 10:44:12AM -0800, Alfred B. M. Cordero wrote:
> On Thu, 10 Mar 2011 10:25:14 -0800 Kenneth Marshall <ktm at rice.edu> 
> wrote:
> >
> >Wow! That is not a lot of bandwidth. If you are pegging your
> 
> It depends.
> 
> >cap, responses may be taking a longer while to be returned and
> >pdns-recursor is timing out. Have you tried increasing the
> >value for network-timeout over the default 1500 ms?
> 
> Thanks, I will try the increase. However it seems that pdns does
> not use it's own cache. Is there additional config to change the
> behavior?
> 
> e.g. mail client connects to pop.example.com every 10 minutes
> should pdns trust the info it has already from 10 minutes ago?
> 
> It does not seem to do that. There is chance that we don't 
> understand
> how pdns internals work.
> 

It should definitely use its own cache. I did not get a result
for pop.example.com from DNS so I cannot help with that. Whether
or not a new query is made, depends upon the TTL for the record
at the very least. We would need to see actual examples to be
able to offer more.

Cheers,
Ken



More information about the Pdns-users mailing list