How See what is Cached?

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Sun Jul 5 23:18:56 UTC 2009


At Sun, 5 Jul 2009 15:01:29 +0300,
"Alans" <batpower83 at yahoo.co.uk> wrote:

> One more question regarding cache, ns1 cache file is 60+ MB while ns2 cache
> file is 5 MB!!
> 
> How to improve this issue?

What do you mean by "improve"?  Having both servers cache
(approximately) the same amount of data?  If the reason for the
unbalanced cache content is that you specify a lower size for ns2, you
can "improve" it by increasing the max-cache-size value for ns2 (or
decreasing it for ns1).  If the reason is due to client-side server
selection algorithm (many Unix based resolvers only uses the first
address in /etc/resolv.conf as long as it responds to their queries),
there's basically nothing you can do as the server side operator.

> And is there any way to make cache file same on
> both servers? 

I don't understand this question, if it doesn't mean the size of
cached data.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind-users mailing list