khalidorama Posted June 23, 2008 Share Posted June 23, 2008 how can i list all domains hosted in a nameserver ? I want to make reverse IP lookup to view all domains hosted in an IP address . how this could be made in PHP . waiting your replies Quote Link to comment https://forums.phpfreaks.com/topic/111426-reverse-dns-lookup-using-php/ Share on other sites More sharing options...
DarkWater Posted June 23, 2008 Share Posted June 23, 2008 Try the gethostbyadd() function. Quote Link to comment https://forums.phpfreaks.com/topic/111426-reverse-dns-lookup-using-php/#findComment-571978 Share on other sites More sharing options...
khalidorama Posted June 25, 2008 Author Share Posted June 25, 2008 I tried it and it only returns the webserver host name. I want to know the domains hosted by the webserver , how can i do that ? Quote Link to comment https://forums.phpfreaks.com/topic/111426-reverse-dns-lookup-using-php/#findComment-574063 Share on other sites More sharing options...
rhodesa Posted June 25, 2008 Share Posted June 25, 2008 not sure how to do it with PHP...I always just use this site: http://www.myipneighbors.com/ Quote Link to comment https://forums.phpfreaks.com/topic/111426-reverse-dns-lookup-using-php/#findComment-574074 Share on other sites More sharing options...
khalidorama Posted June 28, 2008 Author Share Posted June 28, 2008 I already knew about this. Thanks anyway. I googled the net for the source code of such a script, I found nothing Quote Link to comment https://forums.phpfreaks.com/topic/111426-reverse-dns-lookup-using-php/#findComment-576620 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.