
Mehmood Ahmed
-
Posts
2 -
Joined
-
Last visited
Posts posted by Mehmood Ahmed
-
-
Hi,
I want to add .com.pk in domain availability check. so as per blesta documentation in following file
/vendors/io-developer/php-whois/src/Iodev/Whois/Configs/module.tld.servers.json
we need to put whois line, but PKNIC has not provide whois server line.
In whmcs I am using following in dist.whois.json file and it works while searching .pk domains as well ordering
{ "extensions": ".pk,.com.pk,.net.pk,.org.pk,.edu.pk,.gov.pk", "uri": "https://pk6.pknic.net.pk/pk5/lookup.PK?name=", "available": "Domain not found" }
but as I planned to shift bleta, in blesta whois file its not working, it tried in different ways but not working.
{"zone": ".pk", "host": "https://pk6.pknic.net.pk/pk5/lookup.PK?name="}
and
{"zone": ".pk", "host": "https://pk6.pknic.net.pk/pk5/lookup.PK"}
pls help
.pk - domain availability check
in Support
Posted
Thanks for your reply Paul. I appreciate your help.
your provided solution is working. I put all extension as a separate
{"zone": ".pk", "host": "whois.pknic.net.pk"}, {"zone": ".com.pk", "host": "whois.pknic.net.pk"}, {"zone": ".net.pk", "host": "whois.pknic.net.pk"}, {"zone": ".org.pk", "host": "whois.pknic.net.pk"}, {"zone": ".edu.pk", "host": "whois.pknic.net.pk"}, {"zone": ".gov.pk", "host": "whois.pknic.net.pk"}, {"zone": ".biz.pk", "host": "whois.pknic.net.pk"}