On Sun, 7 Nov 2004, Matt Shields wrote:
I'm new here. I just caught this thread and checked my yum.conf. It does indeed point to the main mirror. May I suggest that the default yum.conf file contain a links to some of the public mirrors, or none at all instead of the main mirror.
That way, it doesn't point to the main mirror, which would be reserved for public mirrors. Then in the Docs show an example yum.conf that shows what is acceptable.
Another suggestion would be to put a few public mirrors in the yum.conf file and comment them out. Then put in a comment saying "Here are a few public mirrors, but you can get mirrors closer to you by looking at http://www.centos.org/download/mirrors"
The clamav projects recently started with different mirrors with an ISO country code. They have db.CC.clamav.net and when installing a package the configuration is being changed based on the configuration in /etc/sysconfig/clock.
The code can be found here (see %post section):
http://svn.rpmforge.net/svn/trunk/rpms/clamav/clamav.spec
And it would allow you to maintain and balance load based on the DNS zone information.
Although of course the number of network hops and network latency is not directly related to the physical distance (or even country borders).
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]