Jump to content

New gTLDs Whois Server


nimonogi

Recommended Posts

in 7.2.3 for whois system we have to edit /resource/domain/dist.whois.json instead of whois file (like before)

right ?

no - that's the default file that will be updated when you run a WHMCS update, so never edit that file... create a new file in the same directory and call it whois.json and add your custom definitions in there.

 

https://docs.whmcs.com/WHOIS_Servers

Link to comment
Share on other sites

xyz and store are both CentralNIC TLDs - .club isn't. :)

 

to access the whois for both .xyz and .store, you need to obey CentralNIC's rules... so if you make too many lookups, your server IP will be blocked... if this is occurring, you'll need to contact CentralNIC support. :idea:

Link to comment
Share on other sites

  • 2 weeks later...

seems .beer stopped again after last update, can you confirm this still works please as readdedit and still no joy

 

{
       "extensions": ".beer",
       "uri": "socket://whois.nic.beer",
       "available": "This domain name has not been registered"
    },

 

Thanks in advance

Link to comment
Share on other sites

Thanks for confirmation Brian.

Seems one of the updates has overwritten the json file...  and theres quite a few tlds missing again..  have added beer in again, will wait now to see if anymore flag up, we dont to a massive amount of the new tlds...

 

Link to comment
Share on other sites

36 minutes ago, lance said:

Seems one of the updates has overwritten the json file...

you aren't modifying the dist.whois.json file are you ? you should leave that alone, and create a whois.json file in the same folder and add your changes in there... that way, it shouldn't be affected by a WHMCS update.

https://docs.whmcs.com/WHOIS_Servers#Customising_WHOIS_Servers

Link to comment
Share on other sites

  • 5 weeks later...

this is my jason file content :

[
   {
"extensions": ".amsterdam",
"uri": "socket://whois.nic.amsterdam",
"available": "Domain Status: free"
   },
   {
"extensions": ".shop",
"uri": "socket://whois.nic.shop",
"available": "queried object does not exist"
   },
   {
"extensions": ".store",
"uri": "socket://whois.nic.store",
"available": "DOMAIN NOT FOUND"
   },
{
"extensions": ".io",
"uri": "socket://whois.nic.io",
"available": "NOT FOUND"
   },
   {
       "extensions": ".biz",
       "uri": "socket://whois.biz",
       "available": "No Data Found"
   },
]

Link to comment
Share on other sites

2 hours ago, nimafire said:

this is my jason file content :

I hope it's called whois.json - and not jason! :)

[
{
"extensions": ".amsterdam",
"uri": "socket://whois.nic.amsterdam",
"available": "Domain Status: free"
},
{
"extensions": ".shop",
"uri": "socket://whois.nic.shop",
"available": "queried object does not exist"
},
{
"extensions": ".store",
"uri": "socket://whois.nic.store",
"available": "DOMAIN NOT FOUND"
},
{
"extensions": ".io",
"uri": "socket://whois.nic.io",
"available": "NOT FOUND"
},
{
"extensions": ".biz",
"uri": "socket://whois.biz",
"available": "No Data Found"
}
]

that comma before the final closing square bracket invalidates the whole file and will make them all fail.

when editing this file, you always need to remember that the final block cannot have a comma at the end... perhaps if you need to edit it in the future, leave the .biz block as the end entry and add any additional entries before it - e.g after the comma of the .io block (and you can then safely include the closing comma of each new entry block). :idea:

Link to comment
Share on other sites

  • 4 weeks later...
On 11/4/2017 at 09:02, kaufenpreis said:

I am quite new to WHMCS, I set it up a while ago with just few TLDs, I think there were about 12 or so, .com .net .org etc. About 2 weeks ago I had some time over the weekend and I thought, ok lets try sort it out and bring all those new TLDs into play.

40 minutes ago, kaufenpreis said:

not club or other tlds

i'm not quite sure what problem you're having - you'll need to explain further...

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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