ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzab6_5.4.0.1/datac.htm

59 lines
3.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Data caching" />
<meta name="abstract" content="Data caching of responses to Domain Name System (DNS) queries is done by i5/OS sockets in an effort to lessen the amount of network traffic. The cache is added to and updated as needed." />
<meta name="description" content="Data caching of responses to Domain Name System (DNS) queries is done by i5/OS sockets in an effort to lessen the amount of network traffic. The cache is added to and updated as needed." />
<meta name="DC.Relation" scheme="URI" content="dns.htm" />
<meta name="DC.Relation" scheme="URI" content="xdns.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="datac" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Data caching</title>
</head>
<body id="datac"><a name="datac"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Data caching</h1>
<div><p>Data caching of responses to Domain Name System (DNS)
queries is done by i5/OS™ sockets in an effort to lessen the amount of
network traffic. The cache is added to and updated as needed.</p>
<div class="section"><p>If RES_AAONLY (authoritative answers only) is set in _res.options,
the query is always sent on the network. In this case, the cache is never
checked for the answer. If RES_AAONLY is not set, the cache is checked for
an answer to the query before any attempt to send it on the network is performed.
If the answer is found and the time to live has not expired, the answer is
returned to the user as the answer to the query. If the time to live has expired,
the entry is removed, and the query is sent on the network. Also, if the answer
is not found in the cache, the query is sent on the network. </p>
</div>
<div class="section"><p>Answers from the network are cached if the responses are authoritative.
Non-authoritative answers are not cached. Also, responses received as a result
of an inverse query are not cached. You can clear this cache by updating the
DNS configuration with either the CHGTCPDMN, CFGTCP option 12, or through iSeries™ Navigator.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dns.htm" title="iSeries provides applications with access to the Domain Name System (DNS) through the resolver functions.">Domain Name System support</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="xdns.htm" title="This example shows how to query and update Domain Name System (DNS) records.">Example: Update and query DNS</a></div>
</div>
</div>
</body>
</html>