I am designing a website to display website information such as ip, location, coordinates, country flag, DNS records and more. I managed to collect everything, but I just had to find who posted the website.
I saw at whoishostingthis.com that you can find the name of the data center or host of any domain that is exactly what I wanted. I researched a lot how to collect this data, but so far nothing has worked. I know this has something to do with reverse dns, but I don't know how to get the data center name using reverse dns.
I could just grab the hostname from whoishostingthis.com using curl and extract the data, but I do not want to do this, as this may break their tos or something else. So, does anyone know how to collect this data? If I could find this anyway (even using the linux binary or something else), I could import it into php.
Any help would be greatly appreciated. Thank:)
EDIT: just so that you guys know, I tried using the RESTful API from arina, but the problem is that it can display information about the organization of ip addresses in america, but if it is outside of North America, it just displays the regional authority IP. For example, if you go to http://ip.nex.im/?q=wireshock.com , which is hosted in usa, it shows hostdime inc, which is true, but if you go to http://ip.nex.im /?q=www.ovh.co.uk, it just shows the "RIPE Network Focal Point". You can try other ip http://ip.nex.im/?q=[IP OR DOMAIN]. And I could not find api for other regional ip authorities, such as ripe or others, which can display the organization that owns the ip address. If I find something that works, I will make an open api that anyone can use. And if anyone knows any other way, answer. Thank:)
source
share