Hello
I have recently received a new IP assignment from our local internet registry, and since swopping to the new IP range all my servers want to download updates from Japan instead of South Africa.
I have searched the web and cannot find a solution. I have removed the timedhosts.txt - but I think the problem is related to centos thinking the IP's are based in Japan:
curl -4 --silent 'http://mirrorlist.centos.org/?release=6 ... nfra=stock'
http://mirror.fairway.ne.jp/centos/6.8/updates/x86_64/
http://www.ftp.ne.jp/Linux/packages/Cen ... es/x86_64/
http://ftp.riken.jp/Linux/centos/6.8/updates/x86_64/
http://ftp.iij.ad.jp/pub/linux/centos/6 ... es/x86_64/
http://ftp.jaist.ac.jp/pub/Linux/CentOS ... es/x86_64/
http://ftp.yz.yamagata-u.ac.jp/pub/linu ... es/x86_64/
http://ftp.tsukuba.wide.ad.jp/Linux/cen ... es/x86_64/
http://ftp.nara.wide.ad.jp/pub/Linux/ce ... es/x86_64/
http://download.nus.edu.sg/mirror/cento ... es/x86_64/
http://centos.usonyx.net/main/6.8/updates/x86_64/
Does anybody know if there is some database somewhere that I can update to specify that this new IP range is based in South Africa. I check on maxmind and it is correctly reporting South Africa as the country.
New IP range - yum update sends me to far away mirror
Re: New IP range - yum update sends me to far away mirror
Yes, it's possible that there's some sort of a problem on the CentOS side. What is your IP address? You can send the info via PM if you don't want to disclose that information in public.
It may also be possible (although unlikely) that you are using some sort of a proxy or NAT, which changes the outgoing IP address. One way to test for that is to run curl ip.miuku.net, which should return the IP address as seen from the outside.
It may also be possible (although unlikely) that you are using some sort of a proxy or NAT, which changes the outgoing IP address. One way to test for that is to run curl ip.miuku.net, which should return the IP address as seen from the outside.
Re: New IP range - yum update sends me to far away mirror
Can you test again please ? The GeoIP DB used for the mirrorlist backend was updated already (done monthly), but the in memory cache had not be "cleared" after the update.
Re: New IP range - yum update sends me to far away mirror
Hello
Just an update. All the ip's on our range are now downloading from local mirrors in South Africa. Thank you for attending to this so quickly
Just an update. All the ip's on our range are now downloading from local mirrors in South Africa. Thank you for attending to this so quickly