使用w3Sockets组件来实现域名查询功能  
看看这遍文章:
 http://www.xbasp.net/Article_Show.asp?ArticleID=2246其实网上很多的

解决方案 »

  1.   

    我不会用asp的,大家有没有php的呀
      

  2.   

    http://91it.net/download/software.asp?id=1944
    http://91it.net/download/class.asp?classid=3&Nclassid=549
      

  3.   

    用google搜索一下呀,楼主 OK???
      

  4.   

    GOOGLE也搜索了呀,不过还没找到
      

  5.   

    http://91it.net/download/soft/php/Mattsname.rar
      

  6.   

    http://91it.net/download/soft/php/20021116075244whois.rar
    ------------------
    whois php :
    ----------------------------------------
    http://www.sdfdc.com/whois/whois.php
      

  7.   

    function whois($domain,$ext) {
    switch($ext) {
    case "com":
    case "net":
    $server="whois.crsnic.net";
    $nomatch="No match for";
    break;
    case 'net.cn':
    case 'org.cn':
    case 'com.cn':
    $server="whois.cnnic.net.cn";
    $nomatch="no matching record";
    break;
    case 'org':
    $server="whois.publicinterestregistry.net";
    $nomatch="NOT FOUND";
    break;
    case 'biz':
    $server="whois.nic.biz";
    $nomatch="Not found";
    break;
    case 'info':
    $server="whois.afilias.info";
    $nomatch="NOT FOUND";
    break;
    case 'cc':
    $server="whois.nic.cc";
    $nomatch="No match for";
    break;
    case 'tv':
    $server="whois.tv";
    $nomatch="No match for";
    break;
    }
    if(($sc = fsockopen($server,43))==false) {
    return -1;
    }
    fputs($sc, "$domain.$ext\n");
    while(!feof($sc)){
    $output.=fgets($sc,128);
    }
    fclose($sc);
    if (eregi($nomatch,$output,$reg)){
    return 0;
    }else{
    return 1;
    }

    }