Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.6

Bug #17478 Error for "" and other sTLDs
Submitted: 2010-06-09 20:45 UTC
From: hm2k Assigned:
Status: Duplicate Package: Net_Whois (version SVN)
PHP Version: 5.3.2 OS:
Roadmaps: (Not assigned)    

 [2010-06-09 20:45 UTC] hm2k (James Wade)
Description: ------------ At present the script assumes that all sub top level domains use the same whois server. They don't. For example: uses while uses uses .uk isn't the only sTLD affected by this either, .za domains also share this issue. The solution is to use in a different way. At present it is grabbing the last domain part (the tld) and using that to prefix to the tail host, however, it should check to see if a record for the last 2 domain parts (stld) exists first. Test script: --------------- Try with any domain: Eg: Expected result: ---------------- [whois results for domain] Actual result: -------------- Error for "". Nominet is not the registry for this domain name.


 [2010-06-09 21:21 UTC] hm2k (James Wade)
-Status: Open +Status: Duplicate
Fixed with patch in bug #17480