WHOB(8)
π WHOB(8) β the whois-adjacent glow-up, from the System Manager's Manual π
okay bestie, sit down, hydrate, and let me tell you about whob β she lives in section 8 of the system manager's manual and she is literally the moment.
β¨ NAME β¨
whob β display whois-type information of interest to Internet operators π«Ά
(no cap, that's the whole vibe: whois-flavored facts, but built for the people actually running networks)
π¦ SYNOPSIS π¦
whob [-AaCcgNnOopPRrstuVv] [-h server] [-w server] [-f file] query | me
| whoami
yes she's got a lot of flags. she's high maintenance and she's worth it. π
πΈ DESCRIPTION πΈ
So whob goes out and queries, like, various sources of whois info to pull data that's actually interesting to network operators and to their tracing-and-debugging tools. She's not here for gossip, she's here for routing data. π
And the way she outputs it? Designed to be easily parsed. Or β even better β you can just yeet her functionality straight into your own programs (peep whois.h). iykyk.
The only mandatory parameter is the target host name or IP address. Everything else is optional seasoning: options toggle extra data on and off, or switch which sources she's pulling from.
Now here's the iconic part β the one key advantage of whob: she looks up ASN information derived from the global Internet routing table itself, instead of only trusting what's been registered in the RADB/IRR (see below, babe, I got you). And that data comes by default from the global pWhoIs service. See www.pwhois.org. β¨
π Options π
-A ASNβ show ALL routing advertisements transiting that ASN. You can pass the ASN as the target argument, or you can hand her a hostname or IP address andwhobwill resolve the ASN for you automatically. she does the homework fr fr.-a ASNβ show all routing advertisements made by that Origin-AS. Same deal: pass the Origin-AS as the target argument, or give a hostname or IP address andwhobresolves the ASN herself.-P prefixβ show all routing advertisements related to the CIDR prefix you supply. π-N ASNβ show all networks registered to the ASN you supply.-O ASNβ show all contact information on file for the ASN you supply. π-gβ disable GIGO mode. By popular request,whobtakes input straight from the command line and passes it without modification to pWhoIs (or whatever whois server you asked for with-h). The exact output comes back, no parsing, zero edits. So if you want parsing and all those other useful options to actually do anything, turn GIGO mode off with-g. π-Rβ display the Origin-AS on record at the RADB/IRR (Routing Arbiter Database/Internet Routing Registry), in addition to the Origin-AS provided by the prefix-based whois data source.-nβ display the network name on record with the IP network allocation registry (ARIN, RIPE, APNIC, etc.).-oβ suppress the organization name on file at the registrar. By default the org name is shown; this flag hides it. π-pβ display the AS-Path from the perspective of the current pWhoIs server. Heads up bestie: the pWhoIs server may automatically exclude the initial, least-specific ASN it received from the operator of the network it's connected to (unless that ASN is the only/origin ASN, or has multiple peers). So this AS-Path is subjective β I said what I said. If you rely on it and want AS-Paths that correspond to your own network infrastructure, consider running your own pWhoIs server. See the-woption and www.pwhois.org.-tβ display the date the route was last cached by the pWhoIs server. π°οΈ-uβ display dates in UTC/GMT instead of local time. Implies-t(so the cache-date display gets enabled as a side effect, sneaky but cute).-h server-w serverβ override the source of prefix-based whois data. Both flags are equivalent: each one sets the pWhoIs-compatible server to query instead of the default pWhoIs host. Accepts a hostname or IP address. two names, one destiny. π«Ά-f fileβ read from file and submit its contents as bulk input to pWhoIs. Passβ-βas file to read from stdin. The input is buffered and subject to the constraints of the current pWhoIs server. Output goes to stdout (which you can redirect) and will not be parsed. You may put additional instructions to pWhoIs at the beginning of the file, but those only apply to the first buffer of input. The first (left-most) field on each line must be the IP address; lines may be up to 255 characters long. π-cβ use Cymru's whois server instead of pWhoIs for interactive queries. When used with-f, it uses Cymru for bulk file resolution. See www.cymru.com for details.-Cβ use Cymru's whois server for bulk file resolution (implies-f). This is the explicit bulk-Cymru mode; interactive queries are unaffected. π₯-rβ use RIPE NCC RIS instead of pWhoIs. When used with-f, it uses RIPE NCC riswhois for bulk file resolution. See www.ripe.net/projects/ris/.-sβ display the version and status of the pWhoIs server and exit. πͺ-Vβ display verbose/debug output. Repeat it for extra verbosity (-VV,-VVV) β she can go deeper. π-vβ display version information and exit.me|whoamiβ display this host's public IP address and exit. main character energy, honestly. π
π₯ EXAMPLES π₯
Basic query returning ASN, prefix, net name, and org name:
whob 1.2.3.4
Query with AS-Path and net name displayed, GIGO mode disabled:
whob -gnp 1.2.3.4
Bulk file resolution using Cymru:
whob -Cf iplist.txt
Display this host's public IP:
whob me
π SEE ALSO π
whois(1), lft(8) β go read those too, bestie, they're in the friend group.
β HISTORY β
The whob command first appeared in 2004. This whois framework has been a component of LFT since 2002. she's been serving looks for decades. π
π AUTHORS π
Victor Oppleman and Eugene Antsilevitch. π legends, truly.
π BUGS π
To report bugs, send e-mail to β¨whob@oppleman.comβ©. tell her what's wrong, she can take it.
and that's the whole page, bestie β brought to you by the WHOB source, System Manager's Manual, dated April 7, 2026. tysm for reading, go query something. π
β¨π¦
π¦ where this page comes from
- ubuntu stonking: lft 3.99-1 Β· VOSTROM-PL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms