NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Automatic mirror selection.
Dmitriy Tochansky wrote:
> Is there any mechanism to choose mirror automaticly from list?
I don't know.
I've often wondered similar for FreeBSD sites too,
maybe this is something we could share among the BSDs ?
It should be possible to knock up a script that would generate a
sensible default at least some of the time, to spread the load away
from central servers, eg
With
http://www.berklix.net/cgi-bin/printenv
I see my
REMOTE_ADDR="93.203.208.27"
& nslookup
93.203.208.27
p5DCBD01B.dip0.t-ipconnect.de
so in my case defaults of
http://www.de.netbsd.org
http://www.de.freebsd.org
would be good.
If a script couldnt calculate a match, before giving up & returning the root
http://www.netbsd.org, it could also try a
ping -c 1 using the 2 letter country sub domain, in case it had been
created since the script was last updated.
Maybe a student (or anyway with some time) might like to write it ?
Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
Reply below not above, like a play script. Indent old text with "> ".
Send plain text. No quoted-printable, HTML, base64, multipart/alternative.
Home |
Main Index |
Thread Index |
Old Index