Yes, by improve I meant to have both files approximately same size.
As for my last question, I thought maybe there is an option that makes us be
able to define a shared directory for all DNS server so they all cache data
in one place instead of caching on each server and therefore the issue of
non balanced cache file appears.

Thanks,
Alans

-----Original Message-----
From: JINMEI Tatuya / 神明達哉 [mailto:jin...@isc.org] 
Sent: Monday, July 06, 2009 2:19 AM
To: Alans
Cc: bind-users@lists.isc.org
Subject: Re: How See what is Cached?

At Sun, 5 Jul 2009 15:01:29 +0300,
"Alans" <batpowe...@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.

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to