Mapping IP-AS
Rezopole publishes mappings from IP adresses to AS numbers through a dedicated DNS zone. This ressource allows building a whole set of scripts: aggregations, filters, statistics...
The database is continuously refreshed in real-time, the use of DNS protocol allows querrying in numbers.
Example with "dig":
# dig +short 46.106.146.194.origin.asn.rezopole.net TXT "8674 | 194.146.106.0/23 | "
"8674 | 194.146.106.0/24 | "
The IP 194.146.106.46 is routed via AS 8674, through two possible prefixes.
Example with "asdig":
"asdig", an ad-hoc tool written in C++, is published on our github (rezopole/asdig); queries are then much easier:
# ./asdig 194.146.106.46 8674 | 194.146.106.0/24 | 8674 | 194.146.106.0/23 |