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.

TABLE OF CONTENTS:
  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
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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
   

PHP ARTICLES

- 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...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap

Dev Shed Tutorial Topics: