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

Greek domains checks seems to be broken #219

Open
paulomanrique opened this issue Mar 7, 2024 · 1 comment
Open

Greek domains checks seems to be broken #219

paulomanrique opened this issue Mar 7, 2024 · 1 comment

Comments

@paulomanrique
Copy link

paulomanrique commented Mar 7, 2024

PHP-Whois version: 4.1.10

PHP version: 8.2

Description
Greek domains seems to be broken

How to reproduce

 $whois = Iodev\Whois\Factory::get()->createWhois();
$whois->loadDomainInfo('euro2day.gr');

Error message

 Iodev\Whois\Exceptions\ServerMismatchException  No servers matched for domain 'euro2day.gr'.

It seems that whois.ripe.net and whois.radb.net stopped working with .gr domains.

@dehlirious
Copy link

The .gr TLD isn't listed anywhere in module.tld.servers.json

That would explain why No servers matched

If you check iana.org, there is no whois server specified!

https://www.iana.org/domains/root/db/gr.html

And it is true, even using those custom whois servers, no results for .gr domains

$whois = Factory::get()->createWhois();

$customServer = TldServer::fromData([
    "zone" => ".gr",
    "host" => "whois.radb.net",
]);

$whois->getTldModule()->addServers([$customServer]);

var_dump($whois->loadDomainInfo('www.gr'));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants