Ip dns forwarding cache – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 650

IP Addressing and Protocol Commands
Software Reference for x310 Series Switches
25.16
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
ip dns forwarding cache
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-1000>] [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
Usage
See
for more information about DNS Relay to map IPv4 and
IPv6 addresses to name servers to maintain a a database of hostname-to-address
mappings.
Examples
To set the cache size to 10 entries and the lifetime to 500 seconds, use the commands:
To set the cache size to the default, use the commands:
Related Commands
clear ip dns forwarding cache
debug ip dns forwarding
ip dns forwarding
show ip dns forwarding
show ip dns forwarding cache
Parameter
Description
<0-1000>
Number of entries in the DNS Relay name resolver cache.
<60-3600>
Timeout value in seconds.
awplus#
configure terminal
awplus(config)#
ip dns forwarding cache size 10 time 500
awplus#
configure terminal
awplus(config)#
no ip dns forwarding cache size