How does "whois" work?
Posted on 2005-04-15
I have written a domain search facility in VB6, but its very slow an can sometimes be innacurate.
It works by resolving the IP address from a hostname, which in theory I thought should work fine.
I have seen script examples on the net for doing this (in ASP, etc) but these are no good as they use things like winhttp, or xmlhttp. and all the examples I have seen send a query off to a TLD provider but the URL is no longer supported.
I realise I can buy various 3rd party DLLs to perform my domain searches, but then I cannot see whats "under the bonnet" to determine if their methods are future-proof. Besides I figure it can be that hard and what to be able to support it myself as well as learn something new.
So is there a simple way of doing this, like checking a DNS server or something - something garranteed to work.
And is there any "whois" source-code out there for VB6.