Hosts and LMhosts file, difference?

Matt_SmiMatt_Smi Member Posts: 111 ■■■□□□□□□□
I know that the host file can be used to map domain names to IP address if a DNS server is not being used. But what about LMhosts? From what I understand it can be used to map IP address to netbios names in the event that a WINS server is not be used, is that correct? Thanks.

Comments

  • vexvex Member Posts: 113
    Yes you are correct
    Ancient Certs:
    Exam 70-064: Implementing and Supporting Microsoft Windows® 95
    Exam 70-067: Implementing and Supporting Microsoft Windows NT Server 4.0
  • OpiOpi Member Posts: 127
  • gravyjoegravyjoe Member Posts: 260
    I had a problem with that for a while, but since we're on the subject, I have a question as well. I'm under the assumption that a DNS name would be the username of the person, and the WINS name would be the actual name of the computer.

    If this is right, I assume the WINS name would stay the same, no matter who signed on to that particular computer. Am I right about any of this? icon_confused.gif
    The biggest risk in life is not taking one.
  • OpiOpi Member Posts: 127
    Don't think that is correct.

    Netbios is the actual name of the computer.
    DNS is built up like this. computername(not the username).domainname

    both have nothing to do with who logs onto the system

    correct me if i'm wrong.
  • panikpanik Member Posts: 61 ■■□□□□□□□□
    Opi is right:

    DNS and WINS are both used to resolve the network address of a machine from it's name.

    WINS uses the LMHOSTS file, or a WINS server and runs over NetBEUI (?)

    DNS uses the HOSTS file, or a DNS server and runs over TCP/IP.
Sign In or Register to comment.