WHMCS and DAS

From NETIM
(Difference between revisions)
Jump to: navigation, search
Line 29: Line 29:
  
 
NETIM provides a Domain Availability Service over HTTP especially for WHMCS.
 
NETIM provides a Domain Availability Service over HTTP especially for WHMCS.
 +
 +
You will need a special password to be asked to our support team (this is not your reseller password for security reasons)
 +
 +
 +
'''WHMCS 6'''
  
 
  Edit the file /includes/whoisservers.php
 
  Edit the file /includes/whoisservers.php
 
  Replace the line corresponding to .extension by
 
  Replace the line corresponding to .extension by
   ''<nowiki>.extension|https://www.netim.com/bin/das-whmcs.php?login=XXXX&password=YYYY&domain=|HTTPREQUEST-: AVAILABLE</nowiki>''
+
   ''<nowiki>.EXT|https://www.netim.com/bin/das-whmcs.php?login=XXXX&password=YYYY&domain=|HTTPREQUEST-: AVAILABLE</nowiki>''
  Replace ".extension" by the one you want to resell
+
  Replace "EXT" by the one you want to resell
 
  Replace "XXXX" by your reseller ID
 
  Replace "XXXX" by your reseller ID
  Replace "YYYY" by your special password to be asked to our support team (this is not your reseller password for security reasons)
+
  Replace "YYYY" by your DAS password
  
 
Do the same for all third level domain names under the extension, if any.
 
Do the same for all third level domain names under the extension, if any.
  
 +
'''WHMCS 7'''
 +
 +
Learn more how whois servers are redefined in WHMCS http://docs.whmcs.com/WHOIS_Servers
 +
Edit or create the file /ressources/domains/whois.json
 +
Add a new definition as follow:
 +
''<nowiki>{
 +
  "extensions": ".EXT",
 +
  "uri": "http://api.netim.com/bin/das-whmcs2.php?login=XXXX&password=YYYY&domain=",
 +
  "available": ": AVAILABLE
 +
}</nowiki>''
 +
Replace "EXT" by the one you want to resell
 +
Replace "XXXX" by your reseller ID
 +
Replace "YYYY" by your DAS password
 +
 +
You can redefine several extensions at the same time as follow
 +
''<nowiki>"extensions": ".EXT, .EXT2, .EXT3, .EXT4, .EXT5"</nowiki>''
 +
 +
We provide an example for extensions having no whois servers to be used in WHMCS
 +
Copy the file /modules/registrar/netim/whois.json to /ressources/domains/
 +
It can be used as extension in order to override other extensions
  
 
Make a test:
 
Make a test:

Revision as of 17:44, 2 December 2016

Introduction

WHMCS uses the whois in order to perform domain name availability checks. See http://docs.whmcs.com/Domains_Configuration#Adding_Additional_WHOIS_Services


Advantages

The search is fast


Disadvantages

The search is not reliable due to the fact that:

- A deleted domain name in redemption or quarantine status are sometimes no longer displayed into the whois whereas it is still unavailable

- Registry reserved/blocked domain names are sometimes not displayed into the whois

- Some countries doesn't provide a whois or respond very slowly

- Some countries have implemented rate limiting per minute, per hour or per day.

- The domain name syntax is often not managed by the whois server.


In addition, the whois doesn't make any difference between a regular domain name and a premium one


NETIM's DAS

NETIM provides a Domain Availability Service over HTTP especially for WHMCS.

You will need a special password to be asked to our support team (this is not your reseller password for security reasons)


WHMCS 6

Edit the file /includes/whoisservers.php
Replace the line corresponding to .extension by
 .EXT|https://www.netim.com/bin/das-whmcs.php?login=XXXX&password=YYYY&domain=|HTTPREQUEST-: AVAILABLE
Replace "EXT" by the one you want to resell
Replace "XXXX" by your reseller ID
Replace "YYYY" by your DAS password

Do the same for all third level domain names under the extension, if any.

WHMCS 7

Learn more how whois servers are redefined in WHMCS http://docs.whmcs.com/WHOIS_Servers
Edit or create the file /ressources/domains/whois.json
Add a new definition as follow:
{
  "extensions": ".EXT",
  "uri": "http://api.netim.com/bin/das-whmcs2.php?login=XXXX&password=YYYY&domain=",
  "available": ": AVAILABLE
 }
Replace "EXT" by the one you want to resell
Replace "XXXX" by your reseller ID
Replace "YYYY" by your DAS password
You can redefine several extensions at the same time as follow
"extensions": ".EXT, .EXT2, .EXT3, .EXT4, .EXT5" 
We provide an example for extensions having no whois servers to be used in WHMCS
Copy the file /modules/registrar/netim/whois.json to /ressources/domains/
It can be used as extension in order to override other extensions

Make a test:

https://www.netim.com/bin/das-whmcs.php?login=XXXX&password=YYYY&domain=yourdomainname.com

Premium domain names

As WHMCS doesn't manage premium domain names, our DAS will return a not available result preventing you to sell them without the capacity to honor the order

Personal tools
Namespaces

Variants
Actions
Your account
Domain names
Shared Hosting
Old Hosting offers
SSL Certificates
Resellers
Affiliates
Contact Us
Miscellaneous