CIS2153.gif (14009 bytes)

Resource Page   CIS 2153 Syllabus    Chapter Lesson Notes: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11

Chapter 3 Lesson Notes

Installing, Configuring, and Troubleshooting DNS

  1. How Host Names are Resolved
    1. Winsock requires the IP address of the destination host to establish a session.
      1. Numbers are harder to remember than names, so people use host name resolution to match up IP addresses to known host names.
    2. Resolver software on the DNS client issues query statements sent to the DNS server.
      1. Programs that use resolver software include:

                C.     The Order of Host Name Resolution

      1. Windows 2000 resolver caches the contents of the HOSTS file on system startup (This is different than Windows NT4.0).
      2. If the resolver receives a request for an entry that is longer than 15 bytes, or if it contains a period, it will be sent through the host name resolution sequence.
        1. If the request does not meet either of these specifications, it will be sent through the NetBIOS name resolution sequence.
      3. The HOSTS file can be found at %systemroot%\system32\drivers\etc.

                         4.    The Windows2000 name resolution sequence is as follows (Assuming there is DNS and WINS in the network environment):

Local Host Name

Hosts File (Read into local DNS cache at startup)

DNS Server

NetBIOS name server (WINS)

Broadcast

LMHosts file

                          5.   The Windows 2000 caching resolver:

        1. Part of DNS Client Services
        2. The resolver formulates and issues queries sent by the client to the DNS Server.

Able to cache both positive and negative responses

     c.  Example: Resolving www.shinder.net to 209.217.17.13 will include a TTL (time-to-live) on the record. That means if the query failed, future queries of the same type will return a failure immediately instead of burdening the network with a query that the TTL record knows will fail. The default for TTL is five minutes, so any query of the same type placed after six minutes of the first query will be treated like the first time.

                    D.   Recursive Queries

      1. Recursive queries have only two answers: basically "yes" (positive) and "no" (negative). There must be a response.
        1. Positive response returns the IP address
        2. Negative response returns "host not found" type error
        3. Example: If you were asked, "What year was DOS invented?" you could answer "1981" (a positive response) or "I don’t know" (a negative response)

                        2.   Benefits of recursive queries:

        1. Less network traffic when a DNS server performs recursion rather than having each client perform its own
        2. All machines using a particular DNS server benefit from having access to this centralized cache
        3. Improved security in strategically placing your DNS servers so no external DNS server ever requires access to a DNS server located on the internal network

                E.   Iterative Queries

      1. Iterative queries return a referral response containing the IP address of another DNS server that may be able to service the query. See Figure 3-2 on page 124.

         F. Looking up an address from a name (forward lookup)

  1. Uses both recursive and iterative queries.
  2. The sequence of events during the host name resolution process using both recursive and iterative queries is explained on pages 125 through 127 of your main text.
  3. Using the sequence of events as a guide, perform Exercise 3-1on page 128: Performing a Forward Lookup.

                        Looking up a name from an address (reverse lookup)

Resolving a known IP address to a host

 

1