HOSTS, LMHOSTS

HENNOHENNO MemberMember Posts: 31 ■■□□□□□□□□
What is the best way to remember the difference between HOSTS and LMHOSTS?

Comments

  • WebmasterWebmaster Johan Hiemstra Admin Posts: 10,292 Admin
    The best way is to use them. In other words, apply them in a lab situation, edit and use the files.

    They are located in the \WINDOWS\system32\drivers\etc folder. If you actually plan to use the LMHOSTS file you will have to remove the .sam extension. The LMHOSTS.SAM file contains several sample mapping and an explanation.

    I described both HOSTS, DNS, LMHOSTS, and WINS in my TechNotes here:
    icon_arrow.gifwww.techexams.net/technotes/networkplus/networkservices.shtml

    Here's an important part that should help you remember it:
    The LMHOSTS file is the local, static equivalent and predecessor of WINS. It is a text file that contains IP address to NetBIOS name mappings. It originated on Lan Manager (Microsoft's operating system before Windows) but used to be commonly configured on Windows OS clients and servers as well.

    The "LM" in LMHOSTS is short for LAN Manager, Microsoft's network operating system before Windows. WINS and NETBIOS are typical Microsoft technologies. So when you hear/read LMHOSTS think Microsoft, WINS, NETBIOS. More specifically IP address to NetBIOS name mappings. See for more details the TechNotes.
  • Daniel333Daniel333 Senior Member Member Posts: 2,077 ■■■■■■□□□□
    Wow, I didn't know, I didn't know that.

    This site rocks.
    -Daniel
Sign In or Register to comment.