ENTRDEESFRPTIT
Back to Blog
Guides & Tutorials

How to Add Geofeed to RIPE NCC — Step-by-Step Guide

February 27, 2026
Mustafa Enes Akdeniz
How to Add Geofeed to RIPE NCC — Step-by-Step Guide

Adding Geofeed to RIPE NCC

RIPE NCC provides the most comprehensive geofeed support among all RIRs. You can add geolocation information directly to your inetnum or inet6num objects in the RIPE Database. RIPE supports both a dedicated geofeed: attribute and the standard remarks: method.

Prerequisites

  • A RIPE NCC Access account with maintainer (mntner) access to the relevant inetnum/inet6num object
  • A geofeed CSV file hosted on a publicly accessible HTTPS URL
  • Your IP prefix must be registered in the RIPE Database

If you don't have a geofeed file yet, use our free Geofeed Generator to create one in seconds.

⚠️ Important: Your geofeed file must be served over HTTPS. Plain HTTP URLs will not be accepted by RIPE or recognized by geolocation providers. Make sure the URL is publicly accessible without any authentication requirements.

Step 1: Find Your Object in the RIPE Database

  1. Go to the RIPE Database Query tool: https://apps.db.ripe.net/db-web-ui/query
  2. Search for the subnet you want to update (e.g., 203.202.232.0/24)
  3. Click on the matching inetnum or inet6num object in the results

Step 2: Log In and Edit the Object

  1. Click "Update Object" on the object detail page
  2. Log in with your RIPE NCC Access credentials if prompted
  3. You will see the object editor with all existing attributes
⚠️ Note: You need maintainer (mnt-by) access to modify the object. If you don't have the credentials, contact the person or organization listed in the mnt-by: attribute of the object.

Step 3: Add Geolocation Attributes

In the object editor, you need to add the following attributes. If the attribute keys are not already present, click the "+" button next to any existing input field and select the attribute you want to add from the dropdown.

Add the following attributes to your object:

country:    TR
language:   TR
geoloc:     41.0291 28.9766
geofeed:    https://yourdomain.com/.well-known/geofeed.csv
remarks:    Geofeed https://yourdomain.com/.well-known/geofeed.csv

Attribute Explanations

AttributeDescriptionExample
country:ISO 3166-1 two-letter country code where the addresses are usedTR
language:ISO 639-1 language code for the countryTR
geoloc:Latitude and longitude coordinates (decimal format, space-separated)41.0291 28.9766
geofeed:HTTPS URL pointing to your geofeed CSV file (RIPE-specific attribute)https://yourdomain.com/.well-known/geofeed.csv
remarks:Standard RFC 8805 geofeed reference (for compatibility with other databases)Geofeed https://yourdomain.com/.well-known/geofeed.csv
💡 Tip: Adding both geofeed: and remarks: Geofeed ... ensures maximum compatibility. The geofeed: attribute is RIPE-specific and processed directly by RIPE, while the remarks: format is the RFC 8805 standard recognized by third-party geolocation databases like MaxMind and IPinfo.
⚠️ Important: The geofeed file must be publicly accessible — it should not require any authentication, API key, or login to access. Geolocation providers crawl these URLs automatically, and if they get a 401/403 response, your geofeed will be ignored.

Step 4: Submit the Changes

  1. Review all the attributes you've added
  2. Click "Submit" to save the changes
  3. RIPE will validate the object and apply the update

Step 5: Verify Your Geofeed

After submitting, you can verify your geofeed setup:

  • Query your object again on the RIPE Database to confirm the attributes are saved
  • Allow 24-48 hours for geolocation databases to pick up the changes
⏱️ Timing Note: Changes to the RIPE Database are applied immediately, but geolocation providers (MaxMind, IPinfo, Google, DB-IP) operate on their own update schedules. It typically takes 24-48 hours for providers to detect your changes, and 1-4 weeks for full propagation across all databases. Don't test your geolocation immediately after submitting — give it time to propagate.

Example: Complete inetnum Object with Geofeed

inetnum:       203.202.232.0 - 203.202.232.255
netname:       EXAMPLE-NET
descr:         Example Network
country:       TR
language:      TR
geoloc:        41.0291 28.9766
admin-c:       EXAMPLE-RIPE
tech-c:        EXAMPLE-RIPE
status:        ASSIGNED PA
geofeed:       https://example.com/.well-known/geofeed.csv
remarks:       Geofeed https://example.com/.well-known/geofeed.csv
mnt-by:        EXAMPLE-MNT
source:        RIPE

Applying Geofeed to Multiple Subnets

If you have multiple subnets, you need to update each inetnum or inet6num object individually. The geofeed URL can be the same file — it should contain entries for all your prefixes.

For parent objects (e.g., a /16 that contains multiple /24s), the geofeed attribute on the parent applies to all child objects unless overridden by a more specific child object.

💡 Tip: If you manage many subnets, consider using the RIPE REST API to automate object updates. The RIPE REST API documentation explains how to programmatically update inetnum objects.

Don't Have a Geofeed File?

You can generate your geofeed CSV file for free using our Geofeed Generator tool. Simply enter your IP prefixes, select the correct country, region, and city, and download the ready-to-use CSV file.

Further Reading

Frequently Asked Questions

Can a single geofeed file be used for multiple subnets?

Yes. A single geofeed CSV file can contain entries for multiple IP prefixes. You can reference the same geofeed URL in multiple inetnum or inet6num objects. The file should list all your prefixes with their respective geolocation data.

How long does it take for a geofeed update to become active?

After submitting changes to the RIPE Database, it typically takes 24-48 hours for RIPE to process the update. However, geolocation providers like MaxMind, IPinfo, and Google may take 1-4 weeks to pick up and reflect the changes in their databases, as they operate on different update cycles.

Is there a tool to validate RIPE geofeed?

Yes. You can verify your geofeed setup by querying your object on the RIPE Database (apps.db.ripe.net) to confirm attributes are saved correctly. Additionally, you can use the RFC 8805 geofeed validator tools available online, or check if your geofeed URL is publicly accessible and returns valid CSV content with correct formatting.
geofeedripe-nccripeip-geolocationgeolocationtutorial
Available in other languages:
Türkçe
How to Add Geofeed to RIPE NCC — Step-by-Step Guide — IPv4 Market Blog