RIPE database query service

How to query RIPE database on the command line?
April 21, 2017 – 10:49 am
Solved: Am I going through a proxy? - Virgin Media Community

Using the stock whois (on Fedora) I can easily get information for an IP adress:

$ whois SOME_IP % This is the RIPE Database query service. % The objects are in RPSL format. % % The RIPE Database is subject to Terms and Conditions. [..] % Information related to 'SOME_IP/SOME_AS' route: SOME_ROUTE mnt-by: SOME_STRING [..]

Now I want to inverse lookup entries that have the SOME_STRING in 'mnt-by'.

But how to do that via the command line?

(e.g. for easier post-processing/scripting)

RIPE documents the -i option, but:

$ -h -i mnt-by SOME_STRING Warning: RIPE flags used with a traditional server. [just options listing without -i] $ jwhois -h -i mnt-by SOME_STRING [Querying] [] % This is RIPE NCC's Routing Information Service % whois gateway to collected BGP Routing Tables % IPv4 or IPv6 address to origin prefix match % % For more information visit ERROR: Invalid search key

Related Posts