471,570 Members | 1,680 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

are there any who is API of internic

i'd like to make a program that getting some domain name
so i need to get domain name seaching API like google Search API
is it exsit?? i'm still not find this...
couly you tell me this if it exsit....?
Dec 27 '05 #1
1 2487
Sotec,
i'd like to make a program that getting some domain name
so i need to get domain name seaching API like google Search API
is it exsit?? i'm still not find this...


The .NET libraries don't have a ready-made class/API for WHOIS queries, but
that usually isn't a problem. This is because the WHOIS service is a very
simple text-based ("telnet") interface, and it is documented in RFC 954:

http://www.ietf.org/rfc/rfc0954.txt

The only thing you need to do is send a text string to port 43 of a WHOIS
server. For example, try the following command from the command line:

telnet whois.arin.net 43

....and then type in "@microsoft.com" and press Enter. You get a long reply.

Now, to do this programmatically, you could use the
System.Net.Sockets.TcpClient class. See the .NET Framework documentation for
examples. Another option would be to use Indy.Sockets components from here:

http://www.indyproject.org/Sockets/D.../DotNet.en.iwp

And the docs: http://docs.projectindy.org/online/TIdWhois.html

For you information, Indy.Sockets is an open-source project for TCP/IP
programming.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Dec 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by point | last post: by
6 posts views Thread by Fred | last post: by
9 posts views Thread by joealey2003 | last post: by
11 posts views Thread by Karl-Hugo Weesberg | last post: by
476 posts views Thread by Xah Lee | last post: by
2 posts views Thread by Jordan | last post: by
10 posts views Thread by PJ6 | last post: by
4 posts views Thread by Daniel Mark | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.