Home arrow Delphi-Kylix arrow Page 2 - Creating a WHOIS Lookup Client
DELPHI-KYLIX

Creating a WHOIS Lookup Client


In this article we are going to create a whois lookup client application. The main aim of this application will be to look up information about websites on various known WHOIS servers.

Author Info:
By: Jacques Noah
Rating: 5 stars5 stars5 stars5 stars5 stars / 3
September 18, 2006
TABLE OF CONTENTS:
  1. · Creating a WHOIS Lookup Client
  2. · DNS Resolution
  3. · The Program
  4. · Entire Code

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

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/.


blog comments powered by Disqus
DELPHI-KYLIX ARTICLES

- Loading an XML Document into the DOM
- Delphi Wrapper Classes and XML
- Delphi and the DOM
- Delphi and XML
- 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...

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 10 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials