whois命令
I used to do all of my WHOIS searches at a really popular website that I wont name here. I had to stop using the site because they decided to make you pay to use their tools. Next up was GoDaddy, who doesn't charge for WHOIS searches but does make you complete a CAPTCHA for each search. After hearing my bitching criticisms of GoDaddy's CAPTHAs, a friend of mine showed me how to use Cygwin to execute WHOIS searches.
我曾经在一个我不会在此命名的非常受欢迎的网站上进行所有WHOIS搜索。 我不得不停止使用该网站,因为他们决定让您付费使用他们的工具。 接下来是GoDaddy,他不收取WHOIS搜索的费用,但确实可以让您完成每次搜索的验证码。 听到我的婊子 GoDaddy的CAPTHAs的批评后,我的一个朋友向我展示了如何使用Cygwin来执行WHOIS搜索。
Bash脚本 (The Bash Script)
whois cnn.com
The above gathers information about CNN's domain, cnn.com.
以上收集了有关CNN域cnn.com的信息。
输出 (The Output)
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.
Server Name: CNN.COM.MORE.INFO.AT.WWW.BEYONDWHOIS.COM
IP Address: 203.36.226.2
Registrar: TUCOWS INC.
Whois Server: whois.tucows.com
Referral URL: http://domainhelp.opensrs.net
Server Name: CNN.COM.IS.0WN3D.BY.GULLI.COM
IP Address: 80.190.192.39
Registrar: EPAG DOMAINSERVICES GMBH
Whois Server: whois.enterprice.net
Referral URL: http://www.enterprice.net
Domain Name: CNN.COM
Registrar: NETWORK SOLUTIONS, LLC.
Whois Server: whois.networksolutions.com
Referral URL: http://www.networksolutions.com
Name Server: TWDNS-01.NS.AOL.COM
Name Server: TWDNS-02.NS.AOL.COM
Name Server: TWDNS-03.NS.AOL.COM
Name Server: TWDNS-04.NS.AOL.COM
Status: clientTransferProhibited
Updated Date: 25-jul-2008
Creation Date: 22-sep-1993
Expiration Date: 21-sep-2017
>>> Last update of whois database: Sat, 26 Jul 2008 23:50:40 EDT <<<
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
Registrars.NOTICE AND TERMS OF USE: You are not authorized to access or query ou
r WHOIS
database through the use of high-volume, automated, electronic processes. The
Data in Network Solutions' WHOIS database is provided by Network Solutions for i
nformation
purposes only, and to assist persons in obtaining information about or related
to a domain name registration record. Network Solutions does not guarantee its a
ccuracy.
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 Network Solutions (or its computer systems).
The
compilation, repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of Network Solutions. You agree not
to use
high-volume, automated, electronic processes to access or query the WHOIS
database. Network Solutions reserves the right to terminate your access to the W
HOIS
database in its sole discretion, including without limitation, for excessive
querying of the WHOIS database or for failure to otherwise abide by this policy.
Network Solutions reserves the right to modify these terms at any time.
Get a FREE domain name registration, transfer, or renewal with any annual hostin
g package.
http://www.networksolutions.com
Registrant:
Turner Broadcasting System, Inc.
One CNN Center
13N
Atlanta, GA 30303
US
Domain Name: CNN.COM
------------------------------------------------------------------------
Promote your business to millions of viewers for only $1 a month
Learn how you can get an Enhanced Business Listing here for your domain name.
Learn more at http://www.NetworkSolutions.com/
------------------------------------------------------------------------
Administrative Contact:
Manager, Domain Name tmgroup@turner.com
TBS Legal Department
One CNN Center
13 North
Atlanta, GA 30348
US
404-827-3470 fax: 404-827-1995
Technical Contact:
Server Operations, TBS hostmaster@tbsnames.turner.com
One CNN Center
Atlanta, GA 30348
US
4048275000 fax: 4048271593
Record expires on 23-Sep-2017.
Record created on 22-Sep-1993.
Database last updated on 26-Jul-2008 23:47:49 EDT.
Domain servers in listed order:
TWDNS-01.NS.AOL.COM
TWDNS-02.NS.AOL.COM
TWDNS-03.NS.AOL.COM
TWDNS-04.NS.AOL.COM
Not as pretty as some WHOIS searches but it gets me the information I need, including:
不像某些WHOIS搜索那样漂亮,但是它可以为我获取所需的信息,包括:
- Nameservers - Gives me direction as to who is hosting the domain's website. 域名服务器-给我有关谁托管域名网站的指导。
- Registrar 登记员
- Expiration date 截止日期
- Administrative contact information 行政联系信息
I couldn't do my job without the above information and Cygwin makes it easy!
没有以上信息,我将无法完成工作,而Cygwin可以轻松实现!
whois命令