[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] keyserver.noreply.org moved
From: |
Fabio Massimo Di Nitto |
Subject: |
Re: [Sks-devel] keyserver.noreply.org moved |
Date: |
Tue, 9 Dec 2003 19:43:51 +0100 (CET) |
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
--
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues
http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html