Computer Networks - lecture2NameResolution

Computer Networks - lecture2NameResolution - Name...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Name Resolution How Names Are Mapped to IP Addresses Myself.com Name Resolution Service 1 Where is the myself.com? 192.168.1.200 2 3 Myself.com What Are Host Names? A host name is the DNS name, of a device on a network, that is used to locate computers on the network Examples: Examples: “.” Root FQDN com www.company1.com company1 Host Name DNS Suffix training FQDN server1.training.company1.com Host Name DNS Suffix www = 192.168.0.66 Server1 = 192.168.0.67 The Host Name Resolution Process Client Resolver Cache/Hosts File 1 NetBIOS Name Cache DNS Salescomputer2 What is the IP address for Salescomputer2? 2 WINS Broadcast Lmhost File 192.168.1.35 3 Salescomputer2 Host name resolution is the process of resolving a host name to an IP address Client Resolver Cache to View and Flush the 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 nameto-IP address mappings loaded from the Hosts file Computer1 Hosts File 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 # Copyright (c) 1993-1999 Microsoft Corp. Computer1 Hosts File # # 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: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost Broadcasts Local broadcasts are network messages, sent from a single computer, that are distributed to all other devices on the same segment of the network as the sending computer 2 Broadcast is answered Broadcast Fails 3 Broadcast Router 1 1 2 NetBIOS Redirector The NetBIOS redirector sends out a local broadcast If the resource is on the local network, the broadcast is answered and an IP address is returned 3 If the resource is on a remote network, then the broadcast will not pass through the router ...
View Full Document

Ask a homework question - tutors are online