io-developer / php-whois

PHP WHOIS provides parsed and raw whois lookup of domains and ASN routes. PHP 8.0 compatible (5.4+ old versions)
MIT License
437 stars 117 forks source link

Domain controle .jp didn't work #52

Closed Dave-09 closed 5 years ago

Dave-09 commented 5 years ago

PHP-Whois version: 3.3.1

PHP version: 7.2

Description
If you do a domain name check for *.jp it will always indicate 'available'.

How to reproduce
Please check it with enjoymyjapan.jp. This domain name is taken, but does it indicate available? That is not true.

Dave-09 commented 5 years ago

Problem also exist with google.co.jp.

io-developer commented 5 years ago

.jp has very different format. New parser and tests needed as I see.

Dave-09 commented 5 years ago

Thank you for the information! can you fix and test that? then I want to test it for you afterwards.

io-developer commented 5 years ago

Sure. But later. I guess at the end of this week or on next

io-developer commented 5 years ago

Improvements pushed to this branch - https://github.com/io-developer/php-whois/tree/dev-improvements

Dave-09 commented 5 years ago

Thank you! problem solved for enjoymyjapan.jp and other .jp domainnames, but not for google.co.jp or jprs.co.jp.

io-developer commented 5 years ago

but not for google.co.jp

Actually google.co.jp has test case...

My bad: didn't checked realtime loading. .JP has specific query format. You could pull latest commit from dev-improvements and check on your domains.

Dave-09 commented 5 years ago

Thank you! now the problem is gone :) problem solved.