d4vomcallister Posted June 8, 2014 Share Posted June 8, 2014 Hi and thanks in advance for any help you are able to provide. Ok so my problem is that we are based in Zimbabwe and the .co.zw tld does not have a publicly available Whois server so domain name lookups are proving to be difficult. As a work around I have created a PHP script which queries DNS records and then gives a result of "AVAILABLE" if the domain is available and no result if it is already registered. I have uploaded the script and checked it is working outside of WHMCS. See here /http://www.hectic.co.zw/dns.php?domain=isthisdomainavailable.co.zw When I add it to the whoisservers.php as .co.zw|/http://www.hectic.co.zw/dns.php?domain=|AVAILABLE and try to do a lookup WHMCS replies with "There was a problem connecting to the domain registry. Please try again later." I'm guessing that WHMCS is expecting a different response from my script. Please any help you can give is very much appreciated. I'm so close yet so far! Thank you! 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted June 8, 2014 Share Posted June 8, 2014 Try adding it to your whoisservers.php like this: .co.zw|http://www.hectic.co.zw/dns.php?domain=|HTTPREQUEST-AVAILABLE 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 8, 2014 Share Posted June 8, 2014 Hi, when you're adding a web form whois lookup to whoisservers.php, rather than using the normal port 43 whois lookup, you need to slightly alter the final string to tell whmcs that its using a web form by adding |HTTPREQUEST- before the response - also, you don't need the prevailing slash before the URL. so your entry in whmcs should be... .co.zw|http://www.hectic.co.zw/dns.php?domain=|HTTPREQUEST-AVAILABLE this works as it shows hectic.co.zw as registered and whmcs.co.zw as available. it's probably also worth noting that there is a web form that you can use at the ZISPA (the Zimbabwe Internet Service Providers' Association) web site - http://zispa.co.zw/find.html putting the appropriate form into the whoisservers.php file, you could also use the following: .co.zw|http://zispa.co.zw/cgi-bin/search?&domain=|HTTPREQUEST-is available for registration hope this helps. 0 Quote Link to comment Share on other sites More sharing options...
d4vomcallister Posted June 8, 2014 Author Share Posted June 8, 2014 It works! Thanks so much Joe Clark and brian! you are my new heroes!! 0 Quote Link to comment Share on other sites More sharing options...
Titanium Posted September 20, 2020 Share Posted September 20, 2020 What about .org.zw and .ac.zw? i am having trouble configuring those 0 Quote Link to comment Share on other sites More sharing options...
Richman Posted September 16 Share Posted September 16 On 9/20/2020 at 8:54 AM, Titanium said: What about .org.zw and .ac.zw? i am having trouble configuring those Did anyone manage to get a solution to this one 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.