WHMCS and DAS

From NETIM
Jump to: navigation, search

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": "https://www.netim.com/bin/das-whmcs.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" 
Caution: no spaces must be added between the extensions, only commas

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
Contact Us
Web Hosting
SSL Certificate
Email Hosting
Website Builder
Resellers
Affiliates
Miscellaneous