Identifying a Remote Machine.

Christian Walther cptsalek at
Sun Jan 14 21:55:04 UTC 2007

On 14/01/07, Grant Peel <gpeel at> 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?
Something like

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 mailing list