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

posta 2 anni fa923 visualizzazioni
1 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande