Table Of Contents
DistributedDirector Cache Auto Refresh
Supported Standards, MIBs, and RFCs
Verifying the Cache Auto Refresh Feature
Enabling the Cache Auto Refresh Feature Example
DistributedDirector Cache Auto Refresh
Feature History
This document describes the DistributedDirector Cache Auto Refresh feature in Cisco IOS Release 12.2(8)T. It includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
The DistributedDirector Cache Auto Refresh feature works in the background to continuously update all entries in the DistributedDirector cache. Once this background refresh feature is initiated, DistributedDirector periodically updates all expired cache entries. The DistributedDirector cache saves the latest answers to all past Domain Name System (DNS) queries received since cache auto refresh was initiated, and any repeat request is served directly from the cache when caching is enabled.
The new ip director cache refresh command enables the automatic background refresh feature for the DistributedDirector cache.
Benefits
Once the cache auto refresh feature is enabled, the cache will actively and continuously update every expired entry. This feature allows DistributedDirector to return answers to queries according to the latest and most accurate network information.
Related Technologies
DistributedDirector Configurable Cache
Related Documents
DistributedDirector Configurable Cache, Cisco IOS Release 12.2(8)T feature module
Supported Platforms
•
Cisco 2600 series
•
Cisco 3620 series
•
Cisco 3640 series
•
Cisco 3660 series
•
Cisco 3725 series
•
Cisco 3745 series
•
Cisco 7200 series
Determining Platform Support Through Feature Navigator
Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Feature Navigator. Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.
Feature Navigator is a web-based tool that enables you to quickly determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image.
Feature Navigator is updated regularly when major Cisco IOS software releases and technology releases occur. For the most current information, go to the Feature Navigator home page at the following URL:
Supported Standards, MIBs, and RFCs
Standards
No new standards are supported by this feature.
MIBs
No new MIBs are supported by this feature.
To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
RFCs
No new RFCs are supported by this feature.
Prerequisites
The sorting cache must be enabled on DistributedDirector. To enable the sorting cache, use the ip director cache command.
Configuration Tasks
See the following section for configuration tasks for cache auto refresh. Each task in the list is identified as either required or optional.
•
Enabling Cache Auto Refresh (required)
Enabling Cache Auto Refresh
To enable cache auto refresh for DistributedDirector, use the ip director cache refresh command.
To turn off cache auto refresh, use the no ip director cache refresh command.
Command PurposeStep 1
Router(config)# no ip director cache refresh
Disables the DistributedDirector Cache Auto Refresh feature.
Verifying the Cache Auto Refresh Feature
To verify that the DistributedDirector Cache Auto Refresh feature is configured, enter the show running-config command.
Router(config)# ip director cacheRouter(config)# ip director cache refreshRouter# show running-configip host myhost 172.2.2.10 172.2.2.20 172.2.2.30...ip director cache refreshConfiguration Examples
This section provides the following configuration example:
•
Enabling the Cache Auto Refresh Feature Example
Enabling the Cache Auto Refresh Feature Example
In the following example, the cache auto refresh background feature for DistributedDirector is enabled:
Router(config)# ip director cacheRouter(config)# ip director cache refreshRouter# show running-configip host myhost 172.2.2.10 172.2.2.20 172.2.2.30...ip director cache refreshCommand Reference
This section documents new commands. All other commands used with this feature are documented in the Cisco IOS DistributedDirector command reference publications for various releases.
ip director cache refresh
To enable the DistributedDirector Cache Auto Refresh feature, use the ip director cache refresh command in global configuration mode. To disable automatic background refresh, use the no form of this command.
ip director cache refresh
no ip director cache refresh
Syntax Description
This command has no keywords or arguments.
Defaults
Automatic background refresh is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
The sorting cache on DistributedDirector must be enabled before you can use the ip director cache refresh command. To enable the sorting cache, use the ip director cache command.
Once automatic background refresh for the DistributedDirector cache is enabled, the cache will actively and continuously update every expired entry by processing a fake Domain Name System (DNS) request. The cache accumulates and updates answers to all past DNS queries received since cache auto refresh was initiated. Any repeat DNS request is always serviced directly from the cache.
Examples
The following example enables automatic background refresh for the DistributedDirector cache:
Router(config)# ip director cacheRouter(config)# ip director cache refreshRouter# show running-configip host myhost 172.2.2.10 172.2.2.20 172.2.2.30...ip director cache refresh
