Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLD not found #31

Closed
norhanelnezamy opened this issue Feb 20, 2017 · 7 comments
Closed

TLD not found #31

norhanelnezamy opened this issue Feb 20, 2017 · 7 comments

Comments

@norhanelnezamy
Copy link

I follow your usage steps but i found this exception No WHOIS entry was found for that TLD

@nathanheffley
Copy link

Could you please explain what domain you tried searching for?

@norhanelnezamy
Copy link
Author

norhanelnezamy commented Mar 4, 2017

@nathanheffley
I'm searching for domain like this domain.com.sa , domain.co.uk etc ...... return exception , but when I searched for domain.com , domain.org etc....... return valid result

@Jerome1337
Copy link
Contributor

I get the same error with all domains with co.uk tld, when I try another tld I get the valid result

@HelgeSverre
Copy link
Owner

Not 100% sure, but I believe you might have to add "co.uk" and "com.sa" as their own entry within the servers.json file for those to work.

@Jerome1337
Copy link
Contributor

@HelgeSverre I tested co.uk tld right now on using the master branch and it work great and I found why tld like co.uk or com.sa are not working right now.

The lastest release tag you made is 0.2.2 but this tag include an old version of your server.json. Just re-create a new release tag (0.2.3 or 0.3 if there is BC break changes) to fix this problem.

@LadyNay
Copy link

LadyNay commented Feb 9, 2018

Gosh okay, I forgot where I had posted. I need some help adding .co.za
I have added the array and the server.json info

I have gotten the information from here:
https://www.iana.org/whois?q=co.za
and have used this information

https://mybroadband.co.za/vb/showthread.php/352398-Co-za-Whois-Script-Php
https://registry.net.za/content.php?gen=1&contentid=171&title=Port+43+WHOIS+Service

coza-whois.registry.net.za seems to be the right whois server but either way I am getting an error that it could not be found

Any help would be great :)

It picks up that it is registered, but if it is available it does not work :(

@privyreza
Copy link

Get error even with the .com domain:, here is the tinker code:

>>> use Helge\Loader\JsonLoader;
>>> use Helge\Client\SimpleWhoisClient;
>>> use Helge\Service\DomainAvailability;
>>> $whoisClient = new SimpleWhoisClient();
=> Helge\Client\SimpleWhoisClient {#4764}
>>> $dataLoader = new JsonLoader("src/data/servers.json");
=> Helge\Loader\JsonLoader {#4775}
>>> $service = new DomainAvailability($whoisClient, $dataLoader);
=> Helge\Service\DomainAvailability {#4778}
>>> $service->isAvailable("helgesverre.com")
Exception with message 'No WHOIS entry was found for that TLD'

@HelgeSverre HelgeSverre closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants