Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When using RIPE web DB search system, you can add the "-B" flag to list hidden attributes of an object.

I'm trying to find a way of adding the "-B" flag somewhere within the following command:

> whois -h whois.ripe.net ASXXXXX 

However, the whois program itself returns that it's not a valid flag.

I've tried echoing it in via stdin with no joy.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I'm a big fan of GNU jwhois. It supports RIPE extensions and has many other options and is configurable beyond belief. You could use this command for your request:

jwhois -h whois.ripe.net -- -B ASXXX
share|improve this answer
    
The "--" option appears to work for BSD's whois command too :) –  Squeeb Jan 16 '11 at 17:44

-B is specific to RIPE so not supported in the generic client. Fortunately the whois protocol is exceptionally simple. This means you can telnet to port 43 on whois.ripe.net and type in the following:

-B ASXXXXXX

This will give you the output you're looking for.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.