$input
"; $ipadd=gethostbyname ($input); list($ip1,$ip2,$ip3,$ip4)=explode('.',$ipadd); for ($a=0;$a<256;$a++) { $scanip="$ip1.$ip2.$ip3.$a"; $newhostname=gethostbyaddr($scanip); echo "$scanip ---> $newhn
"; } } ?>

HostsFinder.php by Nilesh Dosooye

This utility allows you to find all hostnames (if any) on a particular domain. You can either put a hostname or an ip address and program will scan the entire subdomain to locate hosts.

Hostname or Ipaddress :