Hi all,

This file only lists countries and respective country codes - I can't see any RIR information in there.


On 03/05/2018 12:46 PM, Peter van Roosmalen wrote:
Hi Sergey,

RIPE NCC publishes the list of countries and corresponding RIRs here: https://www.ripe.net/participate/internet-governance/internet-technical-community/the-rir-system/list-of-country-codes-and-rirs.

Unfortunately, it's an HTML page and not a plain text/CSV/JSON/XML (or any other format one can parse automatically). Does IANA (or any other body) publish it this way? Actually, what would be the proper way to map a country (or country code) to the respective RIR?

When you read the first line on that page, it states: “We maintain a list of ISO 3166 defined country codes on our FTP Site.” -> ftp://ftp.ripe.net/iso3166-countrycodes.txt . That might help?



Hartelijke groeten / Best regards,

Peter van Roosmalen