March 29, 2024, 11:47:57 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Host name resolution  (Read 4229 times)

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
Host name resolution
« on: May 12, 2005, 11:28:51 AM »
Hi all
How can I get linux  system  hostname in a network from my linux or windows machine ??


 As in windows, ping -a option gives the hostname, so what should be used for that??

ping - a 192.10.10.1 returns its hostname (  in windows)

Thanks in advance..............

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Host name resolution
« Reply #1 on: May 16, 2005, 11:52:25 AM »
Acc to me u have to make DNS server for that.....

Gaurav

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
Host name resolution
« Reply #2 on: May 17, 2005, 08:25:03 AM »
I was looking for some other option  thru any network commands available in linux but did not find it.

so Now DNS is the only solution for this.

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
host name
« Reply #3 on: May 20, 2005, 12:50:23 PM »
hi dear
go to konsole
and do
vi /etc/resolve.conf
which sotred your name server is your host name