[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] keyserver.noreply.org moved
From: |
Yaron M. Minsky |
Subject: |
Re: [Sks-devel] keyserver.noreply.org moved |
Date: |
Tue, 09 Dec 2003 15:03:20 -0500 |
Something similar already exists --- there is a membership_reload_time
in the latest version, and the full membership is automatically reloaded
from DNS on that periodicity. Having a timer on each entry might be
more elegant, but the full reload has the advantage of already being
there.
y
On Tue, 2003-12-09 at 13:43, Fabio Massimo Di Nitto wrote:
> Hi Yaron,
>
> On Tue, 9 Dec 2003, Yaron M. Minsky wrote:
>
> > On Tue, 2003-12-09 at 05:24, Peter Palfrader wrote:
> >
> > > Yaron, it would be really nice if SKS honored DNS' TTL value.
> >
> > It would be nice. Patches, anyone?
> >
> > (Another idea would be to do DNS lookups when you need them, without
> > doing any internal caching. Any thoughts on whether this would be
> > better or worse than the current implementation?)
>
> An nslookup each time you have to connect is a bit overkilling in my
> opinion, on the other side i couldn't find any specific ocaml library to
> interact with the resolver to be able to gather information about the TTL
> (but please check again!).
>
> So I think a compromise should be done and the place i would attack is
> reload_if_changed() in memebership.ml changing it in something like
> reload_if_changed_or_if_older_than_XX_minutes(). If i did get lost in the
> code all the ip addresses will be lookedup again. Making XX a
> configuration option would be even better but i think a 15 minutes TTL
> should satisfy almost everyone in this world.
>
> Fabio
--
|--------/ Yaron M. Minsky \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|
Open PGP --- KeyID B1FFD916
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916