[PEAR-BUG] Req #4017 [Asn->Bgs]: Add lookup of whois server per TLD

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=4017&edit=1

 ID:               4017
 Updated by:       [email protected]
 Reported By:      spam at gemal dot dk
 Summary:          Add lookup of whois server per TLD
-Status:           Assigned
+Status:           Bogus
 Type:             Feature/Change Request
 Package:          Net_Whois
 Operating System: Linux
 PHP Version:      4.3.10
 Assigned To:      kguest
 Roadmap Versions: 
 New Comment:

-Status: Assigned
+Status: Bogus
Sorry, but your problem does not imply a bug in PEAR itself.  For a
list of more appropriate places to ask for help using PEAR, please
visit http://pear.php.net/support/ as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PEAR.

use the existing getDomainServer method:

<?php                                                                   
                                                  
require_once "Net/Whois.php";                                           
                                                  
                                                                        
                                                  
$tld  = "de";     // get information about this tld                     
                                                  
$whois = new Net_Whois;                                                 
                                                  
$data = $whois->getDomainServer($tld);                                  
                                                  
echo $data;                                                             
                                                  
?>


Previous Comments:
------------------------------------------------------------------------

[2011-08-13 14:38:21] kguest

-Assigned To:
+Assigned To: kguest


------------------------------------------------------------------------

[2010-06-06 17:36:58] hm2k

You don't need to use a html list, you can simply send a query to
whois.iana.org which will return the details of the tld, including the
whois server.

However, this script uses xxx.whois-servers.net to lookup the correct
server, you can use that.

------------------------------------------------------------------------

[2005-03-31 07:43:45] gemal

Description:
------------
It could be really nice if it was possible to lookup which whois server
to use with a specific TLD

a list of TLD's and the whois server can be located here:
http://www.math.utah.edu/whois.html

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=4017&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.