Hi,
indeed, this Belgium IP address problem is a bug and will be fixed in upcoming Core Update 150 (Core Update 149 is already closed and about to be released next week, so we cannot include a fix there anymore).
Thanks for all testing and confirmation efforts.
Regarding 47.60.49.96
and 47.60.0.0/16
located in the US: The story behind this is complicated indeed and goes as follows:
There are five RIRs on this planet (ARIN, LACNIC, AfriNIC, RIPE, APNIC), publishing data about the IP address space maintained by them on different FTP servers in a different format. Except for ARIN and LACNIC, all of them provide data regarding suballocated IP networks, such as a /24 assignment under a /22 LIR chunk.
We are currently working on importing those data, and expect to return more accurate data for all regions of the world except for both North, Latin and South America as well as the Caribbean.
From ARIN and LACNIC, who serve those areas, we only get data initially collected for statistical purposes, which are way more inaccurate. Exact results are provided by querying their public Whois services, which are strictly rate-limited, so we cannot scrape data from them in a reasonable amount of time.
This is why results for those RIRs are likelier to be inaccurate, which includes 47.60.0.0/16
, as this network is assigned by ARIN, albeit being used outside their area.
We introduced something called “overrides”, which allows us to manually set the country of entire networks or Autonomous Systems in case we know they are wrong on purpose or by chance. I will add an override for 47.60.0.0/16
, however, this is a best-effort approach, and I am currently the only person maintaining it (to be honest, I do not think it’s an elegant one, but this is all we’ve got, so we have to make do with it).
In the end, this topic deals with two separate libloc
-related issues:
- Bug #12480
- Inaccurate data from ARIN and LACNIC
The first will be fixed in Core Update 150, the latter probably will never be complete and is subject to ongoing efforts. A modern Sisyphus task, if you like to put it that way…
Thanks, and best regards,
Peter MĂĽller