configure dns-client delete

configure dns-client delete [domain-suffix domain_name | name-server ip_address {vr vr_name}]

Description

Deletes a domain suffix from the domain suffix list or a name server from the available server list for the DNS client.

Syntax Description

domain-suffix Specifies deleting a domain suffix.
domain_name Specifies a domain name.
name-server Specifies deleting a name server.
ip_address Specifies an IP address for the name server.
vr Specifies deleting a virtual router.
Note: User-created VRs are supported only on the platforms listed for this feature in the Feature License Requirements document.
vr_name Specifies a virtual router.

Default

N/A.

Usage Guidelines

Specifying a domain suffix removes an entry from the domain suffix list.

If the deleted item was not the last entry in the list, all items that had been added later are moved up in the list. If no entries in the list match the domain name specified, an error message will be displayed.

The default value for the virtual router used by the DNS client option is VR-Default.

Example

The following example deletes a domain name from the domain suffix list:

configure dns-client delete domain-suffix xyz_inc.com

The following example removes a DNS server from the list:

configure dns-client delete name-server 10.1.2.1

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.