Re: mirrorlist server selection

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

On Wed, 17 Mar 2010, Les Mikesell wrote:
>
> Doesn't the mirrorlist refer to the DNS names?  So if you add, delete, or 
> move a mirror you'd have to update DNS for its name, then put the DNS name in 
> your mirrorlist - and you have two things that can get out of sync, both 
> cached in various places.


I don't think you understand how the mirrorlist works.
It's just a list of mirrors of the repo you want available and the path to 
that location.

> So each host behind a squid picks a name from the list and since they are 
> likely different names, squid won't know the target url is already in its 
> cache.  And getting/managing copies of the mirrorlist is much slower than a 
> new DNS lookup.  There's probably a rare case where being able to 'yum clean 
> all' on demand is quicker than waiting for an intermediate DNS cache to 
> refresh and clear a bad entry, but things have gone badly wrong if you need 
> that.

For dealing with squid either:


1. setup a private mirror and user mirrormanager to refer your folks there
2. use intelligentmirror

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.