A geofeed is a CSV file where you set the geolocation for a specific IP prefix.
Geolocation providers will use your geofeed in order to set the location of your IPv6 address in their database.
It must be hosted on a web server and be declared on the inet6num
object’s geofeed:
field.
Create a geofeed.csv file
Format:network, iso_country code, iso_region_code, city_name, postal_code
Example:
|
|
Hosting your geofeed.csv file
You can host your geofeed.csv file on your web server, GitHub Pages, jsDelivr, etc.
Example
- Hosted on GitHub Pages:
https://as.215150.xyz/geofeed.csv
- Hosted on GitHub Repository via jsDelivr:
https://cdn.jsdelivr.net/gh/AnimMouse/AS215150/geofeed.csv
Declare geofeed.csv on inet6num
- Go to the RIPE database’s My Resources (IPv6).
- Click on your IPv6 prefix.
- Click Update object.
- At the country attribute, click the + (plus) icon.
- Select geofeed, and click add.
- On geofeed, input your geofeed.csv URL.
Example URL:https://as.215150.xyz/geofeed.csv
Test geofeed.CSV
Check if your geofeed is declared properly by using Geolocate much? and input your IPv6 address there.
After declaring your geofeed.csv, geolocation service providers will automatically fetch your geofeed and update their database.