How Names Are Mapped to IP Addresses Name Resolution Service Computer44 Where is the Computer44 file? Computer
Examples: A host name is the DNS name, of a device on a network, that is used to locate computers on the network What Are Host Names? FQDN server1.nwtraders.com. server1.training.nwtraders.com. FQDN DNS Suffix Host Name DNS Suffix Host Name Server1 = Server1 = com “.” Root nwtraders training
What Are NetBIOS Names? Server2 NetBIOS Name16 th characterServicesIP address Server200Workstation Server220Server Server201Messenger A NetBIOS name is an identifier used by NetBIOS services running on a computer. It is made up of a 15-character name plus a 16th character (byte) denoting the service
How to View Names on a Client Your instructor will demonstrate how to: View host names and DNS suffixes by using the Ipconfig utility View host names by using System Properties View NetBIOS names by using the Nbtstat command View your computer’s NetBIOS name by using System Properties Rename a computer View host names and DNS suffixes by using the Ipconfig utility View host names by using System Properties View NetBIOS names by using the Nbtstat command View your computer’s NetBIOS name by using System Properties Rename a computer
The Host Name Resolution Process Host name resolution is the process of resolving a host name to an IP address What is the IP address for Salescomputer2? What is the IP address for Salescomputer2? Salescomputer Salescomputer2 Client Resolver Cache/Hosts File DNS NetBIOS Name Cache WINS Broadcast Lmhost File
Client Resolver Cache The client resolver cache is a location in memory that stores host names that have recently been resolved to IP addresses. It also stores host name- to-IP address mappings loaded from the Hosts file Computer1 Hosts File Resolved host names from the DNS server Resolved host names from the DNS server
Hosts File The Hosts file is a static file that is maintained on the local computer and that is used to load host name-to-IP address mappings into the client resolver cache Computer1 Hosts File # Copyright (c) Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # rhino.acme.com # source server # x.acme.com # x client host localhost
Lmhosts File An Lmhosts file is a local text file that maps NetBIOS names to IP addresses for hosts that are not located on the local subnet Computer1 Lmhosts File # Copyright (c) Microsoft Corp. # # This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to computernames # (NetBIOS) names. Each entry should be kept on an individual line. # The IP address should be placed in the first column followed by the # corresponding computername. The address and the computername # should be separated by at least one space or tab. The "#" character # is generally used to denote the start of a comment (see the exceptions # below). # # The following example illustrates all of these extensions: # # rhino #PRE #DOM:networking #net group's DC # "appname \0x14" #special app server # popular #PRE #source server # localsrv #PRE #needed for the include # # #BEGIN_ALTERNATE # #INCLUDE \\localsrv\public\lmhosts # #INCLUDE \\rhino\public\lmhosts # #END_ALTERNATE