WHOIS Searches Using 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.
The Bash Script
whois cnn.com
The above gathers information about CNN's domain, 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:
- 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!
Yeah I hadn’t heard of this one until you mentioned it. Very useful!
Welcome to the world of linux…
How can I use it?..
Hello, I’d love for you to download and try out our free WHOIS google gadget. You can find it at http://www.networksolutions.com/labs/index.jsp
There is no CAPTCHA and you can plug it straight into your iGoogle homepage. Hope you give it a try, thanks!
@Jason: Last I heard, NetSol was still reserving domain names searched for from the homepage WHOIS search. I avoid NetSol at all costs.
We stopped our customer protection measure a while back and will not do it in the future. We’re much better than Godaddy in my humble opinion :)
@Jason: To each his own. I prefer GoDaddy.
Yeah.. welcome to the world of *nix. Oh and btw. “whois domain.tld” is no bash script -.-