IP Geolocalization issue


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 ?


demandé il y a 2 ans906 vues
1 réponse

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= [3] https://www.maxmind.com/en/geoip-data-correction-request [4]https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/georestrictions.html#georestrictions-geolocation-service

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions