C613-50631-01 Rev A Command Reference for IE340 Series 932
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DOMAIN NAME SERVICE (DNS) COMMANDS
IP
DNS FORWARDING CACHE
ip dns forwarding cache
Overview Use this command to set the DNS Relay name resolver cache size and cache entry
lifetime period. The DNS Relay name resolver cache stores the mappings between
domain names and IP addresses.
Use the no variant of this command to set the default DNS Relay name resolver
cache size and cache entry lifetime period.
Note that the lifetime period of the cache entry can be overwritten by the time-out
period of the DNS reply from the DNS server if the time-out period of the DNS reply
from the DNS server is smaller than the configured time-out period. The time-out
period of the cache entry will only be used when the time-out period of the DNS
reply from the DNS server is bigger than the time-out period configured on the
device.
Syntax
ip dns forwarding cache [size <0-10000>] [timeout <60-3600>]
no ip dns forwarding cache [size|timeout]
Default The default cache size is 0 (no entries) and the default lifetime is 1800 seconds.
Mode Global Configuration
Examples To set the cache size to 10 entries and the lifetime to 500 seconds, use the
commands:
awplus# configure terminal
awplus(config)# ip dns forwarding cache size 10 time 500
To set the cache size to the default, use the commands:
awplus# configure terminal
awplus(config)# no ip dns forwarding cache size
Related
commands
clear ip dns forwarding cache
debug ip dns forwarding
ip dns forwarding
show ip dns forwarding
show ip dns forwarding cache
Command
changes
Version 5.4.8-1.1: maximum cache limit increased to 10000
Parameter Description
<0-10000> Number of entries in the DNS Relay name resolver cache.
<60-3600> Timeout value in seconds.