ping <hostname>

I want to ping my unix server by hostname.  I can ping the IP address, but it doesn't recognize the hostname.  IS THERE A HOSTS FILE, FOR $DEITY'S SAKE!!!!

I try to install DNS, really I do, but it doesn't see the domain server.

Help.

Thanks much,

Michael M Murphree
SAGEMAsked:
Who is Participating?
 
korvanConnect With a Mentor Commented:
The file is c:\winnt\system32\drivers\etc\lmhosts (the file itself is called lmhosts)

After updating, you need to run nbtstat -R (note the capital 'R').  This will purge and reload the NBT Remote Cache Name Table with the contents of the lmhosts file.
0
 
sgentherCommented:
Add the unix server to the hosts file...its in the c:\winnt\system32\drivers\etc directory
0
 
BlackManCommented:
korvan, you are not quite right! LMHOSTS contains NetBios Machine names. sgenther is right, it is the HOSTS file you must edit...
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
mkthakurCommented:
Add the line for unix server's host name  to the hosts( c:\winnt\system32\drivers\etc\hosts)  file
e.g.
10.284.211.212  unixserver
0
 
sgentherCommented:
Gee mkthakur...Do I hear an echo? Also as Blackman stated the LMhosts file is for LAN Manager servers,thus LM. Hosts is the one you want.
0
 
sgentherCommented:
Blackman....And you wonder why I like to post as answer first???
:)
0
 
BlackManCommented:
Yes, and SAGEM is not even a "First-timer"!!
0
All Courses

From novice to tech pro — start learning today.