configure dns cache add | delete name-server

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

Description

Adds or deletes a Domain Name System (DNS) name server.

Syntax Description

dns Domain Name System.
cache Specifies adding or deleting DNS name server.
add Specifies adding a name server.
delete Specifies deleting a name server.
name-server Specifies adding or deleting a DNS name server.
ip_address Specifies the IP address of the DNS name server.
vr Configures the VR on which the DNS name server is accessible.
vr_name Specifies the VR on which the DNS name server is accessible. If not specified, the VR of the current command context is used.

Default

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

Usage Guidelines

You can configure a maximum of 8 name servers.

To view the current DNS name servers, use the command show dns cache name-server.

Example

The following example adds a DNS name server located at 1.1.1.2:

# configure dns cache add name-server 1.1.1.2

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, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.