[CentOS-mirror] GEOIP issue for new caledonia mirror
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:
> And if I try via IPv6, I get
> 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.
gpg key: 56BEC54E | twitter: @arrfab
More information about the CentOS-mirror