php-whois icon indicating copy to clipboard operation
php-whois copied to clipboard

IP-address lookup

Open joho1968 opened this issue 3 years ago • 4 comments

Description
It'd be nice if the kit could support IP-address lookup, and I do realize this may open up another can of worms considering all the different "ripe" outputs.

joho1968 avatar Dec 30 '21 10:12 joho1968

Feel free to work on it and make a PR :wink:

bessone avatar Dec 30 '21 10:12 bessone

Possibly a silly question: But would this not be a lot about checking if it's an IP address, and if so, allowing it to be looked up?

(instead of preventing the lookup)

The rest of the parser logic, etc would stay pretty much the same, no?

joho1968 avatar Dec 30 '21 10:12 joho1968

I need to find out who an IP address belongs to but it does not have a host name. Regular whois says this belongs to Microsoft: 104.47.2.254 So how to I ask this package who it belongs to?

cmanley avatar Jan 10 '24 19:01 cmanley