WHMCS and DAS
(14 intermediate revisions by one user not shown) | |||
Line 12: | Line 12: | ||
The search is not reliable due to the fact that: | 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 | + | - 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 | - 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. | ||
Line 26: | Line 28: | ||
== NETIM's DAS== | == NETIM's DAS== | ||
− | NETIM | + | 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>. | + | ''<nowiki>.EXT|https://www.netim.com/bin/das-whmcs.php?login=XXXX&password=YYYY&domain=|HTTPREQUEST-: AVAILABLE</nowiki>'' |
− | Replace " | + | 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 | + | 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: | ||
+ | ''<nowiki>{ | ||
+ | "extensions": ".EXT", | ||
+ | "uri": "https://www.netim.com/bin/das-whmcs.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>'' | ||
+ | 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== | == 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 | 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 |
Latest revision as of 11:50, 1 April 2019
[edit] 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
[edit] 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
[edit] 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