[CentOS-mirror] Incorrect mirror work

Wed Feb 24 16:04:58 UTC 2016
Fabian Arrotin <arrfab at centos.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/02/16 16:44, jonas wrote:
> Hello,
> 
> i was testing mirror list from our local network (ping to mirror is
>  0.0x) and i have noticed that our network after:
> 
> yum clean all and yum update
> 
> uses not our mirror, why its happening and how it can be fixed?
> 
> Our mirror is
> 
> centos.vpsnet.lt/centos 185.34.52.2
> 
> Thank you Jonas _______________________________________________

curl -4
'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&cc=lt'
returns a list of validated mirrors in your country, and I see yours
in that list .
So then it's up to the yum client to pick up one mirror from that list
(usually through the fastestmirror plugin).

The same curl request over ipv6 doesn't return any mirror from .lt, as
it seems none of those mirrors have AAAA record though.

Can you confirm that from your location the following query works
(without forcing the cc=) :
curl -4 'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os'

Cheers,
- -- 
Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlbN1KoACgkQnVkHo1a+xU41zwCeJQN4wIgEfkP2Z8GjkOpK91pp
AMkAoIblZVtAya/WGHRrTUb+wZ9Sr37U
=XmSN
-----END PGP SIGNATURE-----