Re: [tkined] Tnm::netdb cache

From: Szokoli Gabor (szocske@vaskutya.sch.bme.hu)
Date: Fri Apr 14 2000 - 08:40:51 MET DST


On Wed, 12 Apr 2000, Juergen Schoenwaelder wrote:

> I certainly see the value of being able to control the cache. The
> interesting question is what the API addition should look like.

[...]

> Another option would be to add a time stamping mechanism so that cache
> entries are validated regularily. In this case, we only need to export
> the lifetime parameter for cache entries. Perhaps this is even better
> since most applications won't regularily flush the cache anyway.
>
> Any comments? Proposals? Patches?
I'm just a plain user, but the above sounds right.
Perhaps I'm talking gibberish here, but such cached entries have to
obey DNS TTL values if they are not from the /etc/hosts file, anyway.

But maybe a single, global flush would do just fine, and keep things
simple.

Szocske

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:41 MET