Jump to content

Integrate Unusual Registrar with no Whois Server


tmr

Recommended Posts

Hi guys,

 

Leading on from this Thread

 

https://forum.whmcs.com/showthread.php?89855-Integrate-Unusual-Domain-Registrar-with-no-Whois-Server

 

I'm having very similar problem as the OP above and would appreciate some help given newer WHMCS version

 

I've added the below to my /resources/domains/whois.json

 

[
   {
       "extensions": ".xx",
       "uri": "http://mydomain.tld/dns/dns.php?domain=",
       "available": "Nothing found or Domain Invalid"
   },
]

 

 

 

Remotely using this php script

 

https://gist.github.com/anonymous/60270b6629f2c06926ac2cdc9e6812a3

 

URL - http://mydomain.tld/dns/dns.php?domain=domain.xx

 

 

What am I missing?

 

The script works on website, but am I missing the link between the script and WHMCS to receive it? Not sure.

 

Thanks

 

Tim

Link to comment
Share on other sites

Are you getting an error?

 

If you attempt a WHOIS check in the admin area (under the Utilities menu), what message(s) do you get in response?

 

I also assume you have added the TLD in your Domain Pricing?

 

Yes I have added the TLD in Domain Pricing

 

In Admin panel I'm getting 'WHOIS Lookups cannot be performed for the TLD .tld'

 

In Client Area it's displaying 'domain.tld is unavailable'

 

System Activity Log I found this

01/09/2017 16:34	
Unable to load WHOIS Server Definition File: /home/abc/public_html/sites/domain.tld/resources/domains/whois.json
admin	86.179.37.121

01/09/2017 16:34	
WHOIS Lookup Error for 'domain.tld': extension not listed in /resources/domains/dist.whois.json or /resources/domains/whois.json
admin	86.179.37.122

 

 

FYI - The DNS script isn't the same as the OP but from Github. It works independently, so I'm not certain the values I'm entering into /resources/domains/whois.json for the tld that are the issue or not.

Link to comment
Share on other sites

with regards to your whois.json entry, it shouldn't need the closing comma after the final, or in your case only, entry...

 

[ 
   { 
       "extensions": ".xx", 
       "uri": "http://mydomain.tld/dns/dns.php?domain=", 
       "available": "Nothing found or Domain Invalid" 
   }
]

that might explain the admin panel error. :?:

 

https://docs.whmcs.com/WHOIS_Servers

Link to comment
Share on other sites

with regards to your whois.json entry, it shouldn't need the closing comma after the final, or in your case only, entry...

 

[ 
   { 
       "extensions": ".xx", 
       "uri": "http://mydomain.tld/dns/dns.php?domain=", 
       "available": "Nothing found or Domain Invalid" 
   }
]

that might explain the admin panel error. :?:

 

https://docs.whmcs.com/WHOIS_Servers

 

Hahaha if only all my problems were this simple

 

Thank you Brian, I was going a little nuts :D

Link to comment
Share on other sites

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