Home   Archive   Permalink

Proper use of whois

I have solved my problem by other means, so this is not urgent, but now I am curious.
I want to use the 'whois' function to find who owns an IP address, to find out who is using our office VPN. I have a test IP address and I have the 'whois' program on my windows computer. If I use the 'whois' program, I get a result, but if I try to use the REBOL 'whois' function I get a different result. So I am wondering if I am using the REBOL 'whois' correctly. I did read the documentation in the CORE user manual.
Here are the results of a couple tries with REBOL:
>> print read whois://
% DOTGOV WHOIS Server ready
No match for ''.
>>> Last update of whois database: 2017-03-30T20:23:20Z <<<
Please be advised that this whois server only contains information pertaining
to the .GOV domain. For information for other domains please use the whois
server at RS.INTERNIC.NET.
>> print read whois://
No match for
For more information on Whois status codes, please visit https://icann.org/epp
>> print read whois://
** Access Error: Cannot connect to rs.internic.net
** Where: open-proto
** Near: print read whois://
And finally, to show that I do indeed have a valid address, here is the result with the stand-alone 'whois.' Because of copy/paste restrictions I can't show the entry of the command for anyone demanding absolute proof.
Whois v1.14 - Domain information lookup
Copyright (C) 2005-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
Connecting to NET.whois-servers.net...
Connecting to whois.corporatedomains.com...
Domain ID: 31992718_DOMAIN_NET-VRSN
Registrar WHOIS Server: whois.corporatedomains.com
Registrar URL: www.cscprotectsbrands.com
Updated Date: 2016-01-12T20:57:49Z
Creation Date: 2000-07-27T04:00:00Z
Registrar Registration Expiration Date: 2025-07-27T17:53:12Z
Registrar IANA ID: 299
Registrar Abuse Contact Email: domainabuse@cscglobal.com
Registrar Abuse Contact Phone: +1.8887802723
Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
Registry Registrant ID:
Registrant Name: Comcast Domains
Thank you.

posted by:   Steven White     30-Mar-2017/16:43:13-7:00

Interesting, this example from http://www.thehindu.com/biz/2003/05/19/stories/2003051900110200.htm worked once for me, then later failed with the 'No match for "HINDUONNET.COM".' response. Perhaps this result will give you some direction (notice the server response which worked is version 2.0 - perhaps Rebol's whois protocol needs to be updated).
print read whois://hinduonnet.com@whois.networksolutions.com
connecting to: whois.networksolutions.com
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
     Domain Name: HINDUONNET.COM
     Registrar: ENOM, INC.
     Sponsoring Registrar IANA ID: 48
     Whois Server: whois.enom.com
     Referral URL: http://www.enom.com
     Name Server: NS1.ACCELICIM.NET
     Name Server: NS2.ACCELICIM.NET
     Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibite
     Updated Date: 04-mar-2017
     Creation Date: 27-jun-2001
     Expiration Date: 27-jun-2017
>>> Last update of whois database: Fri, 31 Mar 2017 14:51:35 GMT <<<
For more information on Whois status codes, please visit https://icann.org/epp
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.
The Registry database contains ONLY .COM, .NET, .EDU domains and

posted by:   Nick     31-Mar-2017/11:02:27-7:00