Reply to topic
Domain check script!
john_drake


Joined: 20 Jul 2004
Posts: 1
Reply with quote
is there such thing that when provided a domain name gives all information on transfer details - how long until possible, reasons, past transfers and so on..???
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1022
Location: Felton, Delaware
Reply with quote
I know that such things exist, and im in the process of writing such an application in .NET, but I don't readily know where to get one...
dan
HostMySite Tech

Joined: 07 Mar 2004
Posts: 42
Location: Newark, Delaware
Reply with quote
You could probably just do whois search on network solutions or other websites. Or else write like perl or php scrtipt that just run the whois command and outputs the results..
byron
Forum Admin

Joined: 07 Mar 2004
Posts: 160
Location: Newark, DE, USA
Reply with quote
Unfortuneatly whois is not a definitive answer on the availability of a domain, unless you are querying the registrar's whois server that has the domain. Whois servers get their information from other whois servers. Internic is probably the best one though.

Major registrars are a good source for this kind of information though, they usually have whois db's that are fairly up to date. Network Solutions, Tucows, GoDaddy. Most of these however limit the number of whois requests from a client, or have some other interface that makes it difficult to automate grabbing this information.

Even when you register a domain via goDaddy, etc. It is possible that someone may have just beat you to it.

I don't think there is a way to get transfer info/previous ownership information. I can't think of any registrar that provides this information.

Also when a domain expires, most registrars have a policy of holding the domain for a time period, to make sure the domain does not need to be renewed, but to renew an expired domain is usually $$$. And I don't think they publish the actual date the domain will be available. I think this is all to discourage squatters.

The best method to get this information would be to become a reseller for Tucows or other registrar. I believe you need to be incorporated though. Most major registrars have API's for their resellers, to query domain names, register domains, reporting, etc. We are not actually a registrar, but a reseller.
plu


Joined: 03 May 2005
Posts: 27
Location: Philadelphia
Reply with quote
Here is a simple script to query a whois server:
Code:
<?
    $fp = fsockopen ("whois.networksolutions.com", 43);

    if ($fp) {
        fwrite($fp, "microsoft.com\n");

        while (!feof($fp)) {
            print fread($fp,256);
        }

        fclose ($fp);
    } else {
        print"Fatal error\n";
    }
?>


As you can tell, high volume query is not recommended and allowed.

I also find this website comes in handy for this type of query:
http://www.wizzcomputers.com/indexd.html
Domain check script!
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic