Jump to content

WHOIS Lookup for .PK Domains


gulfam

Recommended Posts

Hi,

 

.PK is TLD for Pakistan. Unfortunately, the registry has not setup WHOIS server for looking up availability/whois of .pk 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://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.com.pk|http://pknic.net.pk/cgi-bin/pknic-db/bill.html?name=|HTTPREQUEST-not registered

.net.pk|http://pknic.net.pk/cgi-bin/pknic-db/bill.html?name=|HTTPREQUEST-not registered

.org.pk|http://pknic.net.pk/cgi-bin/pknic-db/bill.html?name=|HTTPREQUEST-not registered

.edu.pk|http://pknic.net.pk/cgi-bin/pknic-db/bill.html?name=|HTTPREQUEST-not registered

.web.pk|http://pknic.net.pk/cgi-bin/pknic-db/bill.html?name=|HTTPREQUEST-not registered

.fam.pk|http://pknic.net.pk/cgi-bin/pknic-db/bill.html?name=|HTTPREQUEST-not registered

.biz.pk|http://pknic.net.pk/cgi-bin/pknic-db/bill.html?name=|HTTPREQUEST-not registered

 

NOTE:

The .pk registration authority PKNIC is bringing a change in their system. So, after April 25, 2008, following code will work.

 

.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.com.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.net.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.org.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.edu.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.web.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.biz.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

.fam.pk|http://pk5.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

 

If there is any problem or error, please feel free to contact me.

Link to comment
Share on other sites

  • 7 months later...
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated