Blogging Tips

Code for WHOIS Lookup for PK Domains

Code for WHOIS Lookup for PK Domains
.PK is TLD for Pakistan. Unfortunately, the registry has not setup WHOIS server for looking up availability/whois of .pk,.com.pk etc domains. I have played with it and found the perfect solution.




Checking availability/whois for .pk, .com.pk, .net.pk, .org.pk, .biz.pk, .fam.pk, .web.pk and .edu.pk can be made possible by adding following code into includes/whoisservers.php file of WHMCS.

.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.com.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.net.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.org.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.edu.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.web.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.biz.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.fam.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

 

If you still not able to do so then please contact HostPK support at www.hostpk.net

About the author

hostpk .net

hostpk .net

If you like my posts, you can follow HOSTPK on Twitter. Subscribe to HOSTPK feed via RSS or EMAIL to receive instant updates