Home arrow PHP arrow Page 2 - Using PHP classes to navigate distributed whois databases

Overview of the whois landscape - PHP

Whois services changed radically this year with the introductionof competition at the registrar level in the .com/.net/.orgnamespace and with it the advent of the SRS (Shared Registry System). Find out how to navigate the new whois in your PHP scripts.

  1. Using PHP classes to navigate distributed whois databases
  2. Overview of the whois landscape
  3. Making sense of it with PHP classes
  4. Overview of Whois2.php
  5. Looking at the pieces
  6. Tying it all together
  7. Conclusion
By: Mark Jeftovic
Rating: starstarstarstarstar / 11
December 07, 1999

print this article



Excepting for the moment .com/.net/.org, most TLD's have a whoisserver somewhere listening on port 43 where you can connect toit, give it a domain name, and get a record back for that domainname if it exists. The formats of the returned record vary acrossdifferent servers.

The .com/.net/.org namespace is a little more convoluted. We have thecentral registry database at whois.nsiregistry.net which contains aminimal record for all domains in this namespace, and then eachregistrar operates it's own whois server with more complete recordsfor only the domains they administer. Further, each registrar has it'sown whois output format for their own records.

The result of all this is One Big Mess. Depending on whether you wantto look up a ccTLD or a gTLD (generic TLD), and if the latter, whothe registrar is and where their whois server is; trying to createa script to integrate this kind of functionality into your websitecan be, in a word, nightmarish.

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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates


Dev Shed Tutorial Topics: