# What is a geofeed? RFC 8805 explained

> A geofeed is a CSV a network publishes under RFC 8805, one prefix per line with its country, region and city. Databases poll it on their own schedule.

Source: https://mosaicbrowser.com/blog/what-is-a-geofeed

## Geofeeds, and how an address gets its country

A geofeed is a CSV a network publishes under RFC 8805, one prefix per line with its country, region and city. Databases poll it on their own schedule.

![A prefix, a country, a region, a city, beside a screenshot: a proxy check result in Mosaic: latency, IP address, ISP, HTTPS support and reputation](https://mosaicbrowser.com/covers/what-is-a-geofeed.webp)

A geofeed is a CSV file a network operator publishes to say where its IP ranges are used, one prefix per line with a country, a region and a city. [RFC 8805](https://www.rfc-editor.org/rfc/rfc8805) records the format. Geolocation databases fetch the file, check it and merge it into their own data, each on its own schedule, so a range that has moved can keep its old country in some databases for a while after the operator has published the new one.

## What a geofeed line looks like under RFC 8805

Each line of an RFC 8805 feed has five comma-separated fields:

```
ip_prefix,alpha2code,region,city,postal_code

```

Only the prefix is required. The RFC's own examples:

```
192.0.2.0/25,US,US-AL,,
192.0.2.5,US,US-AL,Alabaster,
192.0.2.128/25,PL,PL-MZ,,
2001:db8::/32,PL,,,

```

The prefix is a single address or a CIDR block, IPv4 or IPv6. The country is an ISO 3166-1 two-letter code. The region is an ISO 3166-2 code such as `US-AL` or `PL-MZ`, not a free-text state name. The city is free UTF-8 text without commas. The postal code is deprecated: parsers have to read it, but new feeds "SHOULD NOT include this field due to the granularity of this information", and the privacy section says a very specific postal code must not be published without the consent of the people it locates.

The file is UTF-8, a `#` starts a comment, and blank lines are ignored. Three rules change how a consumer reads it:

- Where prefixes nest, the longest match wins, so a `/25` inside a `/24` decides for its own addresses.
- A prefix that appears twice is an error, to be logged for someone to review.
- A line with every location field blank says "this range should have no location", for space that is reserved or being moved elsewhere. Older feeds used the country code `ZZ` for the same thing.

The abstract says the format "intentionally only allows specifying coarse-level location". A geofeed can say Warsaw. It cannot say which building.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Matched to the proxy’s IP](https://mosaicbrowser.com/features/exit-matching)

## Where the format came from

RFC 8805 was published in August 2020 by authors at Google and Loon, as an informational document on the independent stream. It is not a standard, and it says so. It describes "a currently deployed format", and says Google already fed it into a geolocation pipeline.

The use case it opens with is a conference network. The IETF, RIPE NCC and ICANN meetings carry the same address ranges from city to city, and each time those ranges looked as if they were still at the last venue. The IETF's feed, quoted in the RFC, simply comments out the last meeting and adds the next, so in November 2019 its ranges said Singapore. A database that learns location from traffic needs time to notice a move like that. A file that says where the range is now does not.

## How a database finds and trusts a feed

RFC 8805 left discovery informal: feeds were "shared informally in the form of HTTPS URIs exchanged in email threads", and checked by knowing the people involved and comparing the prefixes with the routes their networks announce.

[RFC 9632](https://www.rfc-editor.org/rfc/rfc9632) (August 2024, standards track, replacing RFC 9092) puts the pointer in the registry. The `inetnum:` record that a regional internet registry holds for an address block gets a `geofeed:` attribute with the URL of the CSV, or a `remarks: Geofeed <url>` line where the registry has not adopted the new attribute. It also describes an optional way to sign the file with the Resource Public Key Infrastructure, so a consumer can check that whoever published it holds the addresses.

That check is the point. RFC 8805's security section gives the example: without verifying who holds a prefix, "ISP Bob" could "make geolocation statements about IP space held by ISP Alice". A geofeed is a claim by the network about itself, and it is only worth what the consumer does to confirm the network is talking about its own space.

## Why a moved range can wear the wrong country

A change goes through several hands, and each keeps its own clock.

1. The operator edits the feed. RFC 8805 says a publisher "can change geolocation data at any time and without notification".
2. A consumer fetches it. The RFC recommends refreshing "no less often than weekly", or by the HTTP `Expires` or `Cache-Control` headers if the publisher sets them.
3. The consumer reviews it. [MaxMind's correction page](https://www.maxmind.com/en/geoip-data-correction-request) says geofeed submissions "are imported and reviewed once per business day" and accepted corrections go into "the next database release".
4. The website loads that release. A site that downloads a database file and refreshes it monthly sees the change a month later, and one that never updates its copy never sees it.

Each step is reasonable. Added up, the same address can be in its new country in one lookup and its old one in another, and the operator has done everything right. The vendors' own accuracy figures, and why the city drifts first, are in [when IP geolocation databases disagree](https://mosaicbrowser.com/blog/ip-geolocation-databases-disagree).

For a proxy IP this has a plain consequence. The seller labels a range by the country you bought, and the address reaches each database's view of the world on that chain's schedule. A range one network sold and another now uses in a different country is the case that can sit between the two.

## What Mosaic does with the answer

We do not read geofeeds ourselves. When a profile's proxy is checked, Mosaic asks a geolocation service, through the proxy, where the IP is, and the profile's timezone, language and geolocation follow that measured answer rather than the country on the seller's label. With no proxy, a profile matches this computer's own location. The IP is measured again before every launch and the timezone and geolocation follow it, so an address that has since moved in the lookup gets the new answer at the next start. The order it happens in is on [IP matching](https://mosaicbrowser.com/features/exit-matching).

That still leaves the case this post is about: our lookup and a site's database can disagree when a range has moved and only one of them has caught up. The leak test reads the timezone from inside the profile's page and compares it with the IP as a second service sees it, and reports a difference as a warning. If a site keeps reading a zone your profile does not claim, [browser timezone does not match IP](https://mosaicbrowser.com/guides/browser-timezone-does-not-match-ip) has the fixes, starting with the computer's own clock.

## Sources

1. [RFC 8805: A Format for Self-Published IP Geolocation Feeds](https://www.rfc-editor.org/rfc/rfc8805), read November 3, 2026
2. [RFC 9632: Finding and Using Geofeed Data](https://www.rfc-editor.org/rfc/rfc9632), read November 3, 2026
3. [MaxMind: Submit a data correction](https://www.maxmind.com/en/geoip-data-correction-request), read November 3, 2026

## Questions

### What is a geofeed?

A geofeed is a plain CSV file that a network operator publishes to say where its IP ranges are used. Each line is a prefix followed by an ISO country code, an ISO region code and a city, in the format RFC 8805 describes.

### Is RFC 8805 an internet standard?

No. RFC 8805 is an informational, independent-stream RFC from August 2020 that records a format already in use. The companion document that says how to find a geofeed from registry records, RFC 9632, is on the standards track.

### How do geolocation databases find a geofeed?

RFC 9632 adds a geofeed: attribute, or a remarks: Geofeed line, to the inetnum: record a registry holds for an address block, pointing at the CSV's URL. Before that, feeds were swapped as links in email, which RFC 8805 itself describes.

### How long does a geofeed change take to show up?

There is no single answer, because each consumer polls on its own schedule. RFC 8805 recommends refreshing at least weekly. MaxMind says geofeed corrections are imported and reviewed once per business day and land in its next database release, and a website still has to load that release.

### Can a proxy seller fix the country of an IP with a geofeed?

Only for addresses its network actually holds, and only if consumers check that it holds them. RFC 8805 warns that without that check one ISP could make statements about another's address space.

## Related

[When IP geolocation databases disagree about one address](https://mosaicbrowser.com/blog/ip-geolocation-databases-disagree): Lookups agree on the country more than 99% of the time and on the city far less. We match a profile's country and timezone, and keep its city loose.

[Match browser timezone to proxy IPs, automatically](https://mosaicbrowser.com/features/exit-matching): No need to match browser timezone to proxy by hand: Mosaic sets each profile's timezone, language and location from the measured IP, before every launch.

[Browser timezone does not match IP: what it means and the fix](https://mosaicbrowser.com/guides/browser-timezone-does-not-match-ip): Browser timezone does not match IP? Your browser reads the computer's clock, and a proxy or VPN moves only the address. Match the zone to the IP.

[Mobile IP geolocation can be hundreds of kilometres off](https://mosaicbrowser.com/blog/mobile-ip-location-inaccurate): A phone's traffic leaves through its carrier's gateway, so a mobile IP's city is often the gateway's. The country is reliable; the city often is not.









[A profile created with a proxy was drawn for nowhere](https://mosaicbrowser.com/blog/created-for-nowhere): Create a profile for a proxy's location and it should match the IP. Ours didn't for pasted proxies: one gateway gave New York, then Chicago. The fix.

[Match the identity to the address it browses from](https://mosaicbrowser.com/blog/matching-identity-to-address): Match a profile's timezone, language and location to its proxy's measured IP. Mosaic draws them for it, re-checks at launch, and guards used languages.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
