Identifying a Remote Machine.
cptsalek at gmail.com
Sun Jan 14 21:55:04 UTC 2007
On 14/01/07, Grant Peel <gpeel at thenetnow.com> wrote:
> ACtually no,
> Sory if the question was vauge,
> What I am looking to do is to create a tool that will identify what MACHINE
> (not domain) an ip is being used on.
What about connecting to every domainname and quering the hostname?
for ip in <domainlist>
physicalhostname=`ssh $ip "hostname"`
echo "$ip $physicalhostname"
This should work for a sh compatible shell script. It should be easy
to do something similar in php.
More information about the freebsd-questions