Limiting memory usage

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Thu Apr 25 17:34:43 UTC 2002


bert hubert <ahu at ds9a.nl> wrote:
> In article <aa5n2v$1hj at pub3.rc.vix.com>, phn at icke-reklam.ipsec.nu wrote:

>> I don't think you can (in a reasonable way) limit a nameservers
>> memory hunger. It's a function of the clients usage and TTL values
>> set in the RR.  Trying to enforce lower TTL will break the
>> original RR-publishers suggestion.

> DJBDNS dnscache does this just fine. You tell it how much memory it should
> use and it uses exactly that, dropping old entries to store new ones.


A nameserver is _supposed_ to cache data up to the time given
in the original TTL. By silently truncationg the cache it breaks
the function it's supposed to do.

But noone have ever accused djbdns to follow any standards (but db's )

> Regards,

> bert

> -- 
> http://www.PowerDNS.com/pdns  Try our new database driven nameserver! 
> http://www.tk                               the dot in .tk
> http://lartc.org            Linux Advanced Routing & Traffic Control HOWTO


-- 
Peter Håkanson         
        IPSec  Sverige      (At the Riverside of Gothenburg, home of Volvo)
           Sorry about my e-mail address, but i'm trying to keep spam out.
	   Remove "icke-reklam" and it works.


More information about the bind-users mailing list