On 30 Jun, Oscar Plameras wrote: > The reason is as follows: > > Number of IPV4 addresses = 255*255*255*255 * 50 bytes (your allocation) > = 4,228Mb * 50 = > 202,280MB
A cache isn't a complete copy. You store what you allow room for, and fall back to your normal mechanism if the entry isn't in the cache. You use LRU typically after the cache fills. This is all very standard stuff, and it's the technique that Solaris uses to get good performance. So I can't see why Linux couldn't do the same. The only trick I see is invalidating entries in the cache that are continually being used, during a period when its address changes. The solution would seem to be simply to invalidate the old entry when the DNS server is told of the address change in the normal course of events. luke -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug