Delphi-Kylix
  Home arrow Delphi-Kylix arrow Page 2 - Creating a WHOIS Lookup Client
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
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? 
DELPHI-KYLIX

Creating a WHOIS Lookup Client
By: Jacques Noah
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2006-09-18

    Table of Contents:
  • Creating a WHOIS Lookup Client
  • DNS Resolution
  • The Program
  • Entire Code

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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


    Creating a WHOIS Lookup Client - DNS Resolution


    (Page 2 of 4 )

    As stated earlier, DNS resolution is basically just another way to gather more information about a domain. In this case, we can find out how many IP addresses a particular domain uses and also how many variations there are of this domain. For example, yahoo.com has many different IP addresses and also many different variations based on which country it services:

    Yahoo.co.jp 210.196.3.183
    Yahoo.com  211.14.12.10
    etc

    The other obvious use of a DNS resolver is to map a domain name (that does not necessarily have multiple addresses) to an IP address and vice versa. Again, this just gives you the means to mount an effective search for information about an IP address or domain name. One application of this function is that it can be used in tracing spammers. The Delphi implementation of the DNS resolver provides us with a variety of ways to query for domain information. You can query for the following and more:

    • Mailbox Domain Name -- Traces the domain name of an email address. Useful for tracing spammers.
    • Host address.
    • Mailbox or mail list information.
    • Domain name pointer.

    Although there are other queries that can be executed, I want to focus only on the host address information at this stage.           

    What will this program do?

    Basically the program is going to query any WHOIS database, mainly for domain related information. This is because we do not know what kind of information a particular WHOIS server has in its database. The only thing we can be sure of is that a WHOIS database has to store information about a domain, so we'll go with that option. The application will enable you to add as many WHOIS server addresses to it as you want, which will in turn enable you to get a wide variety of information about a domain. It will also contain an option for you to find the number of IP addresses related to a specific domain.

    To create this program you will need Borland Delphi 6 or higher, with Indy 10.1.5 or higher. Keep in mind that if you do not use the exact same Indy version, there may be some subtle differences in terms of functions used in this program, therefore the program might not work. So it is probably best for you to try and install Indy 10.1.5. All of the latest Indy versions are available from http://www.indyproject.org/.

    More Delphi-Kylix Articles
    More By Jacques Noah


       · I hope you found my article educational; I welcome your comments.
     

    DELPHI-KYLIX ARTICLES

    - Internet Access: Client Service
    - Finishing the Client for an Internet Access ...
    - The Client for an Internet Access Control Ap...
    - User Management for an Internet Access Contr...
    - Important Procedures for an Internet Access ...
    - Server Code for an Internet Access Control A...
    - Constructing the Interface for an Internet A...
    - Building a Server Application for an Interne...
    - Building an Internet Access Control Applicat...
    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi






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