[CentOS-mirror] GEOIP issue for new caledonia mirror

Fabian Arrotin

fabian.arrotin at arrfab.net
Fri Mar 14 16:38:11 UTC 2014


On 14/03/14 17:05, Irelann Anderson wrote:
> Probably completely unrelated, but I no longer get our own mirror listed
> when I try
>   curl -4 "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os"
> 
> I get:
> 
>     http://mirror.anl.gov/pub/centos/6.5/os/x86_64/
>     http://mirrors.cmich.edu/centos/6.5/os/x86_64/
>     http://mirror.team-cymru.org/CentOS/6.5/os/x86_64/
>     http://mirror.keystealth.org/centos/6.5/os/x86_64/
>     http://centos-distro.cavecreek.net/centos/6.5/os/x86_64/
>     http://mirrors.usinternet.com/centos/6.5/os/x86_64/
>     http://mirrors.advancedhosters.com/centos/6.5/os/x86_64/
>     http://bay.uchicago.edu/centos/6.5/os/x86_64/
>     http://mirror.ubiquityservers.com/centos/6.5/os/x86_64/
>     http://mirror.metrocast.net/centos/6.5/os/x86_64/
> 
> 
> And if I try via IPv6, I get
> 
>     po=os"
>     http://mirrors.advancedhosters.com/centos/6/os/x86_64/
>     http://mirror.steadfast.net/centos/6/os/x86_64/
>     http://linux.mirrors.es.net/centos/6/os/x86_64/
>     http://centos.mirror.constant.com/6/os/x86_64/
>     http://mirrors.xmission.com/centos/6/os/x86_64/
>     http://centos.mirror.lstn.net/6/os/x86_64/
>     http://mirror.keystealth.org/centos/6/os/x86_64/
>     http://mirror.us.leaseweb.net/centos/6/os/x86_64/
>     http://mirrors.syringanetworks.net/centos/6/os/x86_64/
>     http://ftpmirror.your.org/pub/centos/6/os/x86_64/
> 
> Our own public mirror "mirrors.maine.edu <http://mirrors.maine.edu>"
> does not appear on either list.   It is both IPv4 and IPv6 enabled and
> is on the same network as the machine I issued the queries from.  If it
> makes any difference, our ASN is 557
> 

It would be better to start another thread, but : the current mirrorlist
process generate a list of mirrors for each country, and if there is
only one or two mirrors (as it was the case for the New Caledonia -NC- ,
it completes the mirror list with mirrors from "nearby countries"
(Australia in that case).
So the current logic in the mirrorlist process doesn't look at the ASN,
but just an IP -> country conversion.
As we have a *lot* of mirrors in .us, the mirrorlist process select the
top mirrors for that country, and so the reason why your own mirror is
probably not listed (or can be, depending on the load, etc ..)
That's even different for ipv6, as it's a different script (but mostly
the same logic).
Hope that this answers your question.


-- 
Fabian Arrotin
gpg key: 56BEC54E | twitter: @arrfab



More information about the CentOS-mirror mailing list