Eggdev: Re: [cvslog] (2004-12-10 19:00:55 UTC) Module eggdrop1.9: Change committed!
lordares at shatow.net
Sun Dec 12 17:05:34 CST 2004
Good point, I was adapting the code into my own project and added caching
because it could be of some use to me, and figured I'd add it into 1.9,
but if you feel it's not necesary, I won't dispute it :)
Just figured it might same some trouble if the local ns went down for some
On Sun, 12 Dec 2004, stdarg wrote:
> Hey, about dns caching.. I was going to do something like that, but then I
> realized most eggdrops have their dns server either on localhost or at least on
> a local network (for shells). Since their dns server already caches replies,
> it's not a big deal to requery. We don't do dns lookups that often anyway. When
> we do a lookup, we store the result somewhere (e.g. when someone connects via
> telnet) and then use that stored value.
> How much benefit do you think this has?
> --- cvslog <cvs at tsss.org> wrote:
>> Log message:
>> * Now caching the entire answer for the query
>> cache_find(char *query) will return an int which can be used on cache
>> cache entries are expired accoring to ttl from (last) reply/answer
>> -Still need to add an option to disable/tweak the cache
>> -And need to setup some sort of max for the cache
> Do you Yahoo!?
> The all-new My Yahoo! - What will yours do?
More information about the Eggdev