IP Geolocalization issue

0

we are trying to restrict a cloudfront CDN to Spain, but on of our internet lines, located in Spain is getting a forbiden response. I have checked the info in http://whois.arin.net/rest/net/NET-----1 and it is updated and correct. Where is the IP location database Amazon use for the Geolicalization ? And how to force the update of that database ?

Regards

질문됨 2년 전938회 조회
1개 답변
0

Hi there!
From the case notes, l understand you have set the geolocation to Spain but however it is currently blocking ip addresses inside Spain.

Please note, CloudFront uses Maxmind GeoIP database to determine the location of the viewers [1]. To confirm the location of the IP address refer to document [2]. With that said CloudFront blocks requests according to what is in the Maxmind database at that moment. You can refer to the link here [3] to submit a request to Maxmind to correct the GeoIP data if you believe there is an error to the database.

As a suggestion you can also use third party Geolocation service to control distribution of your content at the country level for all files that you’re distributing with a given web distribution. You can refer to the link here [4]

I hope the above information is helpful.

Hope you have a great day ahead, take care and stay safe!

References: [1] https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GeoRestriction.html [2] https://www.maxmind.com/en/geoip2-precision-demo?ip_address=109.159.129.251 [3] https://www.maxmind.com/en/geoip-data-correction-request [4]https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/georestrictions.html#georestrictions-geolocation-service

Antonio
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠