Enables the Domain Name System (DNS) cache on a virtual router (VR) or VLAN.
dns | Domain name system. |
cache | Specifies enabling the DNS cache. |
vlan | Specifies enabling DNS cache on a VLAN. |
vlan_name | Specifies the VLAN name. |
vr | Specifies enabling DNS cache on a VR. |
vr_name | Specifies the VR name. If not specified, VR of current command context is used. |
If no VR name is specified, the VR of the current command context is used.
To view the DNS cache configuration, use the command show dns cache configuration {{vlan} vlan_name | {vr} vr_name}
The following example enables DNS cache on VLAN "VLAN1":
# enable dns cache vlan VLAN1
This command was first available in ExtremeXOS 30.3.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.