whois utility
John Ratliff
John.Ratliff at smithville.com
Thu Feb 5 13:29:29 UTC 2015
This is exactly what I was looking for. Thanks.
John Ratliff
Systems Engineer
Office: (812) 935-2491
john.ratliff at smithville.com | smithville.com
-----Original Message-----
From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Wolff, Nicholas (Nick)
Sent: Wednesday, February 4, 2015 4:54 PM
To: William A. Mahaffey III; freebsd-questions at freebsd.org
Subject: Re: whois utility
On 2/4/15, 4:42 PM, "William A. Mahaffey III" <wam at hiwaay.net> wrote:
>On 02/04/15 15:27, John Ratliff wrote:
>> I have a FreeBSD 9.2 server and I¹m trying to use whois on an IP
>>address, but it tells me my query terms are ambiguous, gives me two
>>results, but gives me no details on the results. How can I get the
>>detail for these response?
>>
>> Ex:
>>
>> $ whois 68.68.90.0
>>
>> #
>> # ARIN WHOIS data and services are subject to the Terms of Use #
>> available at: https://www.arin.net/whois_tou.html
>> #
>> # If you see inaccuracies in the results, please report at #
>> http://www.arin.net/public/whoisinaccuracy/index.xhtml
>> #
>>
>>
>> #
>> # Query terms are ambiguous. The query is assumed to be:
>> # "n 68.68.90.0"
>> #
>> # Use "?" to get help.
>> #
>>
>> #
>> # The following results may also be obtained via:
>> #
>>http://whois.arin.net/rest/nets;q=68.68.90.0?showDetails=true&showARIN
>>=fa
>>lse&ext=netref2
>> #
>>
>> Smithville Digital, LLC SDL-BLK-4 (NET-68-68-80-0-1) 68.68.80.0 -
>>68.68.95.255
>> BG Telecom Holdings, LLC SDL-BGTEL-BLK-1 (NET-68-68-90-0-1)
>>68.68.90.0
>>- 68.68.91.255
>>
>>
>>
>> #
>> # ARIN WHOIS data and services are subject to the Terms of Use #
>> available at: https://www.arin.net/whois_tou.html
>> #
>> # If you see inaccuracies in the results, please report at #
>> http://www.arin.net/public/whoisinaccuracy/index.xhtml
>> #
>>
>> I want the information contained within the BG Telecom Holdings result.
>>How can I get whois to display this? On my Linux servers, whois shows
>>the full results for both entries, so I can at least scroll through.
>>
>> Thanks.
>>
>> John Ratliff
>> Systems Engineer
>> Office: (812) 935-2491
>> john.ratliff at smithville.com | smithville.com
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>>"freebsd-questions-unsubscribe at freebsd.org"
>>
>
>I'm on 9.3Rp5 & I've been getting those messages the whole time, I
>think they are benign .... FWIW, I get the same output on my box:
>
>[root at kabini1, /etc, 3:40:50pm] 483 % whois 68.68.90.0
>
>#
># ARIN WHOIS data and services are subject to the Terms of Use #
>available at: https://www.arin.net/whois_tou.html
>#
># If you see inaccuracies in the results, please report at #
>http://www.arin.net/public/whoisinaccuracy/index.xhtml
>#
>
>
>#
># Query terms are ambiguous. The query is assumed to be:
># "n 68.68.90.0"
>#
># Use "?" to get help.
>#
>
>#
># The following results may also be obtained via:
>#
>http://whois.arin.net/rest/nets;q=68.68.90.0?showDetails=true&showARIN=
>fal
>se&ext=netref2
>#
>
>Smithville Digital, LLC SDL-BLK-4 (NET-68-68-80-0-1) 68.68.80.0 -
>68.68.95.255
>BG Telecom Holdings, LLC SDL-BGTEL-BLK-1 (NET-68-68-90-0-1) 68.68.90.0
>-
>68.68.91.255
>
>
>
>#
># ARIN WHOIS data and services are subject to the Terms of Use #
>available at: https://www.arin.net/whois_tou.html
>#
># If you see inaccuracies in the results, please report at #
>http://www.arin.net/public/whoisinaccuracy/index.xhtml
>#
>
>[root at kabini1, /etc, 3:40:57pm] 484 %
>
>
>
>
>--
>
> William A. Mahaffey III
>
>
> ----------------------------------------------------------------------
>
> "The M1 Garand is without doubt the finest implement of war
> ever devised by man."
> -- Gen. George S. Patton Jr.
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
If you add a plus in front of the query it will expand the answers. This maybe an ARIN only thing not sure.
$ whois "+ 68.68.90.0"
You can lookup ARINs help by doing with the -a telling whois to query ARINs server.
$ whois -a "?"
A final option is passing the NET to ARIN so it knows what object to bring up. I found this by looking at the query where you got back two possibilities.
$ whois -a NET-68-68-90-0-1
There probably is a simpler way to get back one specific cidr record but I couldn¹t get it to work.
‹Nick Wolff
_______________________________________________
freebsd-questions at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list