
C613-50186-01 Rev B
Command Reference for AR2050V
703
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
OMAIN
N
AME
S
ERVICE
(DNS) C
OMMANDS
CLEAR
IP
DNS
FORWARDING
CACHE
clear ip dns forwarding cache
Overview
Use this command to clear the DNS Relay name resolver cache.
When using VRF-lite, use this command to clear the DNS Relay name resolver
cache for either the whole device or for a specific VRF instance.
Syntax
clear ip dns forwarding cache
Syntax (VRF-lite)
clear ip dns [vrf <name>|global] forwarding cache
Mode
Privileged Exec
Examples
To clear all cached data, use the command:
awplus#
clear ip dns forwarding cache
Example
(VRF-lite)
To clear the cached data for VRF instance red, use the command:
awplus#
clear ip dns vrf red forwarding cache
To clear the cached data for the default global VRF instance only, use the
command:
awplus#
clear ip dns global forwarding cache
Related
Commands
Command
changes
Version 5.4.6-2.1: VRF-lite support added.
Parameter
Description
vrf
Apply this command to the specified VRF instance.
<name>
The name of the specific VRF instance
global
When VRF-lite is configured, apply this command to the global
routing and forwarding table.