NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Enjoy The TCP/IP Guide? Get the complete PDF!
The TCP/IP Guide

Google
Web TCP/IP Guide






Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  Name Systems and TCP/IP Name Registration and Name Resolution
           9  TCP/IP Name Systems: Host Tables and Domain Name System (DNS)
                9  TCP/IP Domain Name System (DNS)
                     9  DNS Name Servers and Name Resolution
                          9  DNS Resolution Concepts and Resolver Operations

Previous Topic/Section
DNS Basic Name Resolution Techniques: Iterative and Recursive Resolution
Previous Page
Pages in Current Topic/Section
12
3
Next Page
DNS Name Resolution Process
Next Topic/Section

DNS Name Resolution Efficiency Improvements: Caching and Local Resolution
(Page 3 of 3)

Local Resolution

One other area where resolution efficiency can be improved is the special case where we are trying to resolve the names of computers in our own organizations. Suppose that I, an employee at XYZ Industries, want to get some sales information using FTP from “sales.xyzindustries.com”. My FTP client will invoke my local resolver to resolve that name, by sending it to our local DNS server. Now, would it be smart for that server, which is here inside the company, to start the resolution process up at the root name server? Not really.

The local DNS server that accepts local resolution requests from resolvers on the network may in fact be the authoritative name server for “sales.xyzindustries.com”. In other cases, it may know how to answer certain resolution requests directly. Obviously, it makes sense for the server to check to see if it can answer a resolver's query before heading up to the root server, since this provides a faster answer to the client and saves internetwork traffic. This is called local resolution.

Most DNS servers will perform this check to see if they have the information needed for a request before commencing the “formal” top-down resolution process. The exception is DNS servers that do not maintain information about any zones: caching-only servers. In some cases, DNS resolvers on client machines may also have access to certain local zone information, in which case they can use it instead of sending a resolution query at all.

There's one more thing I also want to point out: most operating systems also support the use of the old host table mechanism, which can be useful for local machines on a network. If a host has a host table, the resolver will check the host table to see if it can find a mapping for a name before it will bother with the more time-consuming DNS resolution process. This is not technically part of DNS, but is often used in conjunction with it.


Previous Topic/Section
DNS Basic Name Resolution Techniques: Iterative and Recursive Resolution
Previous Page
Pages in Current Topic/Section
12
3
Next Page
DNS Name Resolution Process
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.