PHP
  Home arrow PHP arrow Using PHP classes to navigate distributed whois databases
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Using PHP classes to navigate distributed whois databases
By: Mark Jeftovic
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 10
    1999-12-07


    Table of Contents:
  • Using PHP classes to navigate distributed whois databases
  • Overview of the whois landscape
  • Making sense of it with PHP classes
  • Overview of Whois2.php
  • Looking at the pieces
  • Tying it all together
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Using PHP classes to navigate distributed whois databases
    ( Page 1 of 7 )

    Whois services changed radically this year with the introduction of competition at the registrar level in the .com/.net/.org namespace and with it the advent of the SRS (Shared Registry System). Find out how to navigate the new whois in your PHP scripts.
    When we think of conducting whois lookups we're probably used to that meaning: querying the Internic database, usually for a domain record for a .com/.net/.org or .edu domain.

    We also knew that there were other whois servers out there, one for ..mil and .int for example, not to mention the ones for the myriad ccTLD's (country code TLD's) in existence, and we could look up domains in those TLD's by asking the approprate whois server about it.

    Things changed radically this year with the introduction of competition at the registrar level in the .com/.net/.org namespace and with it the advent of the SRS (Shared Registry System). ICANN set up shop to succeed the IANA and began accrediting other registrars while Network Solutions split into seperate business units to handle their registrar operation (which now competes with all the others, albeit with a nice head start) and the registry, which is still for all intents and purposes, a monopoly.

    After a period of holding out and refusing to sign the ICANN registrar accreditation agreement, Network Solutions finally did so and as per the terms of the deal, began redirecting port 43 whois service from rs.internic.net over to whois.nsiregistry.net on December 1st/1999.

    What all this means is that on December 1st, running "whois devshed.com" stopped looking like this:

    InfoWest Global Internet Services, Inc. (DEVSHED-DOM) 1845 W. Sunset Blvd. St. George, UT 84770 US Domain Name: DEVSHED.COM Administrative Contact: Cosby, David R (DRC4) dcosby@INFOWEST.COM 801.674.0165 Technical Contact, Zone Contact: Gifford, Aaron D (AG44) agifford@INFOWEST.COM 435-674-0165 (801) 634-9567 (FAX) 435-674-9654 Billing Contact: InfoWest Domain Services (IDS2-ORG) dns@INFOWEST.COM 435-674-0165 Fax- 435-674-9654 Record last updated on 06-Aug-1997. Record created on 06-Aug-1997. Database last updated on 4-Dec-1999 12:14:06 EST. Domain servers in listed order: NS1.INFOWEST.COM 204.17.177.10 NS2.INFOWEST.COM 204.17.177.20
    And started looking like this:

    Domain Name: DEVSHED.COM Registrar: NETWORK SOLUTIONS, INC. Whois Server: whois.networksolutions.com Referral URL: www.networksolutions.com Name Server: NS1.INFOWEST.COM Name Server: NS2.INFOWEST.COM
    Basically, the default whois server ceased to be whois.internic.net (a.k.a rs.internic.net) which only carried records for domains registered via Network Solutions or Worldnic, and started to be the registry whois server which carried entries for all .com/.net/.org domains.

     
     
    >>> More PHP Articles          >>> More By Mark Jeftovic
     

       

    PHP ARTICLES

    - Using Directory Iterators to Build Loader Ap...
    - Using the spl_autoload() Functions to Build ...
    - Working Out of the Object Context to Build L...
    - Using the _autoload() Magic Function to Buil...
    - The Destruct Magic Function in PHP 5
    - The Autoload Magic Function in PHP 5
    - Developing a Recursive Loading Class for Loa...
    - The Sleep and Wakeup Magic Functions in PHP 5
    - Using the Clone Magic Function in PHP 5
    - Including Files Recursively with Loader Appl...
    - The Call Magic Function in PHP 5
    - Designing a Captcha System with PHP and MySQL
    - Using Static Methods to Build Loader Apps in...
    - The Isset and Unset Magic Functions in PHP 5
    - Advanced PHP Form Input Validation to Check ...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT