How to adjust WHMCS to run Whois for Australian TLDs

I noticed when I updated our WHMCS system this week that I can no longer run proper WHOIS searches on Ausrtalian TLDs (that is and so on). It was showing whether the domain was available or not, but was no longer showing full WHOIS info. The fix is simple.

For WHMCS 7.0 and higher

Create a new file called whois.json and upload to your WHMCS folder /resources/domains/whois.json
Inside the file place the following lines:

"extensions": ",,,,,",
"uri": "socket://",
"available": "---Available"

For WHMCS versions prior to 7.0

In your WHMCS /includes folder add these lines to whoisservers.php:||---Available||---Available||---Available||---Available||---Available||---Available

What was the issue?

The problem is that WHMCS is using instead of which is just returning the status Available or Unavailable instead of full WHOIS details. Do keep in mind that using there is a limitation of 20 requests per hour.  I imagine this is why WHMCS opted for the former but personally I prefer the later.

1 thought on “How to adjust WHMCS to run Whois for Australian TLDs

  1. Stuart says:

    Thank you very much! This solved my problem with WHMCS. Was really starting to annoy me.

Leave a Comment

Your email address will not be published. Required fields are marked *