GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WHOB(8) FreeBSD System Manager's Manual WHOB(8)

whob
display whois-type information of interest to Internet operators

whob [-h whois-server] [-g] [-AaCcfhNnOopRrstuVv] query

whob queries various sources of whois information for data of interest to network operators and their tracing and debugging tools.

whob output is designed to be easily parsed, or better yet, its functionality can be added directly into your programs (see whois.h).

The only mandatory parameter is the target host name or IP number. Options toggle the display of more interesting data or change the sources used to obtain that data.

One key advantage of whob is its lookup of ASN information derived from the global Internet routing table itself, as opposed to relying solely on what has been registered in the RADB/IRR (see below). This data is, by default, sourced from the global pWhoIs service. See www.pwhois.org

Other options are:

ASN
Display all routing advertisements transiting the respective ASN. The ASN may be supplied as the target argument, or a hostname or IP address may be supplied and whob will resolve the ASN automatically.
ASN
Display all routing advertisements made by the respective Origin-AS. The Origin-AS may be supplied as the target argument, or a hostname or IP address may be supplied and whob will resolve the ASN automatically.
prefix
Display all routing advertisements related to the CIDR prefix supplied by the user.
ASN
Display all networks registered to the ASN supplied by the user.
ASN
Display all contact information on file for the ASN supplied by the user.
Disable GIGO mode. By popular request, whob takes input directly from the command line and passes it without modification to pWhoIs or whatever whois server is requested (-h). The exact output is returned without any parsing. To enable parsing and the other useful switches, disable GIGO mode by passing this (-g) option.
Display the Origin-AS on record at the RADB/IRR (Routing Arbiter Database/Internet Routing Registry) in addition the the Origin-AS provided by the prefix-based whois data source.
Display the network name on record with the IP network allocation registry also such as ARIN, RIPE, or APNIC.
Display the organization name on file at the registrar.
Display the AS-Path from the perspective of the current pwhois server. The pwhois server may automatically exclude the initial, least specific ASN received from the operator of the network to which it is connected (unless that ASN is the only/origin ASN or unless it has multiple peers). Of course, this AS-Path is subjective. If you rely on this and want AS-Paths that correspond to *your* network infrastructure, you may want to install your own pwhois server. See the (-w) option and www.pwhois.org
Display the date the route was last cached by the pWhoIs server.
When possible, display dates in UTC/GMT instead of local time.
host
Change the source of prefix-based whois data from the default (pWhoIs) to any whois-compatible server of your choice (like your own).
file
Read from the specified file (or from stdin if the argument is '-') and submit its contents as bulk input to pwhois. The input will be buffered accordingly and subject to the constraints of the current pwhois server. Output is written to STDOUT (which may be redirected) and will not be parsed. Additional instructions to pwhois may be placed at the beginning of the file, however they will only apply to the first buffer of pwhois input. The first (left-most) field in each line of the file must be the IP address and lines may be up to 255 characters in length.
Change the source of prefix-based whois data from the default (pWhoIs) to Cymru. See www.cymru.com for more details. When used with the -f option, this switch causes whob to use Cymru whois for bulk file resolution instead of pwhois.
Display the Origin-AS and prefix according to RIPE NCC RIS (see www.ripe.net/projects/ris/). When used with the -f option, this switch causes whob to use RIPE NCC riswhois for bulk file resolution instead of pwhois.
Show the status of the (respective) pWhoIs server and exit(0)
Display verbose/debug output. Use multiple 'V's for additional verbosity.
Display this client's version information and exit(1)
Display this host's public IP address and exit(0)

Victor Oppleman and Eugene Antsilevitch

To report bugs, send e-mail to <whob@oppleman.com>

lft(8), whois(1)

The whob command first appeared in 2004. This whois framework has been a component of LFT since 2002.
August 17, 2002 WHOB

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.