Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 562
  • Last Modified:

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
0
SAGEM
Asked:
SAGEM
1 Solution
 
sgentherCommented:
Add the unix server to the hosts file...its in the c:\winnt\system32\drivers\etc directory
0
 
korvanCommented:
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
 
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now