Jump to content

[NOT A BUG] WHOIS Logic


polyglot2

Recommended Posts

Tested on versions 3.8.2 and 4.1.2

 

Currently entries in includes/whoisservers.php are like these:

 

.com|whois.crsnic.net|No match for

.org|whois.publicinterestregistry.net|NOT FOUND

.org.uk|whois.nic.uk|No match

.edu|whois.internic.net|No match for

.tourism.pl|whois.dns.pl|does not exists

...

 

which indicates that WHMCS only search for a negative indicator. But it does not look for a positive indicator. This means that if the response is an error page, or blank, or there is some other network error, etc, WHMCS can't tell the difference.

 

Maybe the entries can be made like:

 

.com|whois.crsnic.net|No match for|Already registered

.org|whois.publicinterestregistry.net|NOT FOUND|ALREADY REGISTERED

 

or whatever. And WHMCS should check both the existence of negative and positive (and reports error when there are both found, or there are none found).

 

Here at our servers, we experience network problem from time to time. When that happens, during the period WHMCS will report domain as not being available every time, even though it is. This disrupts the ordering process.

Edited by polyglot2
Link to comment
Share on other sites

  • 3 weeks later...
Tested on versions 3.8.2 and 4.1.2

 

Currently entries in includes/whoisservers.php are like these:

 

.com|whois.crsnic.net|No match for

.org|whois.publicinterestregistry.net|NOT FOUND

.org.uk|whois.nic.uk|No match

.edu|whois.internic.net|No match for

.tourism.pl|whois.dns.pl|does not exists

...

 

which indicates that WHMCS only search for a negative indicator. But it does not look for a positive indicator. This means that if the response is an error page, or blank, or there is some other network error, etc, WHMCS can't tell the difference.

 

Maybe the entries can be made like:

 

.com|whois.crsnic.net|No match for|Already registered

.org|whois.publicinterestregistry.net|NOT FOUND|ALREADY REGISTERED

 

or whatever. And WHMCS should check both the existence of negative and positive (and reports error when there are both found, or there are none found).

 

Here at our servers, we experience network problem from time to time. When that happens, during the period WHMCS will report domain as not being available every time, even though it is. This disrupts the ordering process.

 

I don't see how this would make any difference. If there is a network issue and the appropriate WHOIS server cannot be reached or has problems, you can't trust its response or assume the domain is available anyways (which is what your suggestion would do).

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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