enable dns cache

enable dns cache {{vlan} vlan_name | {vr} vr_name}

Description

Enables the Domain Name System (DNS) cache on a virtual router (VR) or VLAN.

Syntax Description

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.

Default

If no VR name is specified, the VR of the current command context is used.

Usage Guidelines

To view the DNS cache configuration, use the command show dns cache configuration {{vlan} vlan_name | {vr} vr_name}

Example

The following example enables DNS cache on VLAN "VLAN1":

# enable dns cache vlan VLAN1

History

This command was first available in ExtremeXOS 30.3.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.