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!

Get The TCP/IP Guide for your own computer.
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 Name Server Concepts and Operation

Previous Topic/Section
DNS Root Name Servers
Previous Page
Pages in Current Topic/Section
12
3
Next Page
DNS Name Server Load Balancing
Next Topic/Section

DNS Name Server Caching, Negative Caching and Data Persistence
(Page 3 of 3)

Negative Caching

Classical DNS caching stores only the results of successful name resolutions. It is also possible for DNS servers to cache the results of unsuccessful name resolution attempts; this is called negative caching. To extend the example above, suppose you mistakenly thought the name of the company's web site was “www.xyz-industries.com” and typed that into your browser. Your local DNS server would be unable to resolve the name, and would mark that name as “unresolvable” in its cache; a negative cache entry.

Suppose you typed the name in incorrectly because someone mis-typed it on an internal memo. If a colleague later tried the same name, the DNS server would say “I already know this is a bogus name” and not try again to resolve it. Since there is no resource record for an invalid name the server itself must decide how long to cache this negative information. Negative caching improves performance because resolving a name that doesn't exist takes resources, just as resolving an existent one does. Note that “regular” caching is sometimes called “positive caching” to contrast it to “negative caching”.

The value to be used for negative caching in a zone is now specified by the Minimum field in the Start Of Authority resource record for each zone. As mentioned above, this was formerly used to specify the default TTL for a zone.


Previous Topic/Section
DNS Root Name Servers
Previous Page
Pages in Current Topic/Section
12
3
Next Page
DNS Name Server Load Balancing
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.