Date: Sun, 14 Jan 2007 22:55:01 +0100 From: "Christian Walther" <cptsalek@gmail.com> To: "Grant Peel" <gpeel@thenetnow.com> Cc: freebsd-questions@freebsd.org, Pietro Cerutti <pietro.cerutti@gmail.com> Subject: Re: Identifying a Remote Machine. Message-ID: <14989d6e0701141355s3cbc8567h4bb07176f823516b@mail.gmail.com> In-Reply-To: <008f01c737e9$c5518470$6501a8c0@GRANT> References: <007e01c737d7$20573170$6501a8c0@GRANT> <e572718c0701140621m39011e2cjdd2424cf07038fc@mail.gmail.com> <008f01c737e9$c5518470$6501a8c0@GRANT>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14/01/07, Grant Peel <gpeel@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? Something like for ip in <domainlist> do physicalhostname=`ssh $ip "hostname"` echo "$ip $physicalhostname" done This should work for a sh compatible shell script. It should be easy to do something similar in php.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14989d6e0701141355s3cbc8567h4bb07176f823516b>