PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have been offered a little job with some web providor where I have to create a few scripts but one of which I am pretty confused about. What I am required to do is whois a given IP address so the domain names are shown, very similar to, http://whois.webhosting.info/213.165.237.226 but im not sure whether all I need to do is a whois or if its alot more complicated. Can anyone please help out as im in desperate need of the cash, hehe to continue my studys.
Joe - that's exactly what a WHOIS search does, it returns the information about the given domain. If you want to search a whole load of them, you'll need to write a script to send those requests off to the whois search and collate the responses. That is what they're paying you for, right?
launchcode wrote:Joe - that's exactly what a WHOIS search does, it returns the information about the given domain. If you want to search a whole load of them, you'll need to write a script to send those requests off to the whois search and collate the responses. That is what they're paying you for, right?
Well, he wants a reverse WHOIS search almost.
Say my computer hosts 3 sites, (bob.com, sally.com, and steve.net), he wants to be able to get all 3 domains just by typing in my IP into his script.
Ahhh.. ok. That isn't actually possible - even via tools like nslookup, whois, host, dig, etc. WebHostingInfo (the site in question) must crawl whois information and store the results of forward-resolution for later display when you look-up an IP address. In any case their information appears to be wrong, for some of my domains it listed sites that no longer resolve and for other IPs it was missing hundreds of names - so basically you cannot rely on it.
LiLpunkSkateR wrote:
Say my computer hosts 3 sites, (bob.com, sally.com, and steve.net), he wants to be able to get all 3 domains just by typing in my IP into his script.
ahhhhh, so your the one who took sally.com! I wanted that
Bind is just a DNS server - open source - and easily modified. There isn't a single hack you could install into it that would reveal multi-homed domains - unless you ran every single ISP and hosting company in the world of course
Well im sort of confused here. I don't know what you really mean by this hacking a server and reading the zones. How would I do this. Is there any references on this particular subject that anyone is aware of?