remote linux machine hostname?

General discussion about Linux, Linux distribution, using Linux etc.
alitoday
Naik
Posts: 62
Joined: Fri Nov 05, 2004 3:01 pm

remote linux machine hostname?

Postby alitoday » Tue Jun 20, 2006 4:23 pm

i want to find remote linux machine (RHEL4) hostname via its IP residing on my local local linux machine, how?
Ali
"Yes we can!"

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Re: remote linux machine hostname?

Postby lambda » Tue Jun 20, 2006 6:27 pm

alitoday wrote:i want to find remote linux machine (RHEL4) hostname via its IP residing on my local local linux machine, how?

how is its ip "residing" on your machine?

farhantoqeer
Major General
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Location: Karachi
Contact:

Postby farhantoqeer » Wed Jun 21, 2006 10:33 am

"nmap" could work for you
A: Yes
Q: Is top-posting bad?

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Thu Jun 22, 2006 11:08 am

Dear alitoday,
Salam,

As farhantoqeer told you nmap will help you. as well as if you can do tracroute to the ip and host ip might be it will have any dns records.

Best Regards.
Farrukh Ahmed

nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Re: remote linux machine hostname?

Postby nomankhn » Thu Jun 22, 2006 11:35 am

alitoday wrote:i want to find remote linux machine (RHEL4) hostname via its IP residing on my local local linux machine, how?



Dear alitoday,

local machine ip=127.0.0.1
whats your eth0 ip
whats your remote eth0 ip address.
Dns working there or not. if yes so at command prompt type this command

#nslookup 192.168.0.25

above command will give you the FQDN (Fully Qualify Domain Name).

Regards
Noman Liaquat Khanzada Rajput
Money is not everything
"Microsoft isn't evil, they just make really crappy operating systems." - Linus Torvalds

nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Re: remote linux machine hostname?

Postby nomankhn » Thu Jun 22, 2006 11:36 am

alitoday wrote:i want to find remote linux machine (RHEL4) hostname via its IP residing on my local local linux machine, how?



Dear alitoday,

local machine ip=127.0.0.1
whats your eth0 ip
whats your remote eth0 ip address.
Dns working there or not. if yes so at command prompt type this command

#nslookup 192.168.0.25

above command will give you the FQDN (Fully Qualify Domain Name).

Regards
Noman Liaquat Khanzada Rajput
Money is not everything
"Microsoft isn't evil, they just make really crappy operating systems." - Linus Torvalds

alitoday
Naik
Posts: 62
Joined: Fri Nov 05, 2004 3:01 pm

DNS

Postby alitoday » Thu Jun 29, 2006 4:22 pm

DNS ? on my machine or one remote machine.
my machine ip: 192.168.0.44
host name ws14

and remote machine ip: 192.168.0.8
hostname: ?????

FQDN/Host name what ever.
Ali

"Yes we can!"


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest