How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Bypass domain provider lookup for selected TLDs

  • Shane Marriott shared this idea 1 year ago
  • Domains
  • 1 Comment


We are using a domain lookup provider successfully for lookups, but of course, this is checking all the supported TLD's. We have a few TLD's that we register directly with a registry and ideally we'd run domain checks using the standard WHOIS lookup which we already have in place. An option against each TLD to bypass the default lookup provider would be ideal.

2 Comments

Login to post a comment.

Hi Shane,
Thanks for submitting this suggestion.

If the lookup provider returns that a domain is not supported, then WHMCS will fall back to a standard WHOIS lookup automatically: https://github.com/WHMCS/sample-registrar-module/blob/master/modules/registrars/registrarmodule/registrarmodule.php#L903

So this should already be possible. Is there a particular lookup provider or search term for which this is not occurring?
Here is a use-case. Some extensions offer premium domains, you need to do the lookup through the appropriate registrar (eg. enom). This lookup can be much slower than the generic lookups and disables the search button until it finishes - this annoys customers and gives the impression the site is slow. For certain extensions we would like to use a lookup different to the default, that way premium domains could be handled correctly but without a lag impacting other extensions