Thanks for the resources Dmitri. DATA Is Good, ALWAYS(gimmi mo, gimmi mo, gimmi mo - Vikings [
youtube.com...] )!
Data from ftp.ripe.net is extremely compact but still usable and sometimes very helpful, I mean take this for example:
Helpful part is that I could
nuke entire /22 based on:
ripencc|RO|ipv4|5.253.204.0|1024|20190211|allocated
^^ - It says that on Feb 11 of 2019 this IPV4 range, staring with 5.253.204.0 contains 1024 ips within, was allocated to Romania in RIPEICC.
1. Take 5.253.204.0 and convert it to integer = 100518912
2. Take 100518912 and add 1024 and then convert it back to IP = 5.253.207.255.
3. 1024 translates to /22 subnet.
so it would seem that it belongs to
Romania all together.
M247
Europe 5.253.204.0 - 5.253.207.255
5.253.204.0/
22 But other things to consider(not in that DB):
5.253.204.0/24 -
Luxembourg - M247 Luxembourg NOC
5.253.205.0/25 -
Belgium - M247-BRUSSELS-SERVERS
5.253.206.0/26 -
Poland - M247 LTD Warsaw Infrastructure
5.253.207.0/24 -
Austria -M247 LTD Vienna Infrastructure
See what I mean?
When I need more info(IP Gets caught by my firewall) and based on RIR(region) from the record above I usually use/parse RDAP JSon Data from:
arin - rdap.arin.net/registry/ip/#ip#
ripencc - rest.db.ripe.net/search.json?query-string=#ip#
afrinic - rdap.afrinic.net/rdap/ip/#ip#"
apnic - wq.apnic.net/query?searchtext=#ip#
lacnic - rdap.lacnic.net/rdap/ip/#ip#
@tangor - Tool boxes need tools!
All the info ne weed :) - rest.db.ripe.net/search.json?query-string=5.253.205.0