Using DNS Cache Resolver

Checkpointing is not supported in a stack or a MLAG setup for DNS caching.

Enabling/Disabling DNS Cache

To enable DNS cache, use the following command:

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

To disable DNS cache, use the following command:

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

Clearing the DNS Cache

To clear DNS cache entries, use the following command:

clear dns cache

Configuring DNS Cache

To add or delete DNS name servers, use the following command:

configure dns cache [add | delete ] name-server ip_address {{vr} vr_name}

Showing DNS Cache Information

To show DNS cache entries, use the following command:

show dns cache {current} {detail}

To show DNS cache status (enabled or disabled), use the following command:

show dns cache configuration {{vlan} vlan_name | {vr} vr_name}

To show the current DNS name servers, use the following command:

show dns cache name-server