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|https://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.com.pk|https://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.net.pk|https://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.org.pk|https://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.edu.pk|https://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.web.pk|https://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.biz.pk|https://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.fam.pk|https://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