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

asked 2 years ago924 views
1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions