No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change domain dns_config

change domain dns_config


The change domain dns_config command is used to set the IP addresses and domain names of a vStore's DNS server.


change domain dns_config address=? [ domains=? ]






IP address list of the DNS server.

The value is an IP address list which contains a maximum of three IP addresses separated by commas (,), for example, "address=,,". Both IPv4 and IPv6 addresses are supported and the IP address must be unique.


Domain name list of the DNS server.

The value is a domain name list which contains a maximum of six domain names separated by commas (,), for example, "domains=domain1,domain2,domain3,domain4,domain5,domain6". Each domain name contains 1 to 255 characters and must be unique.

A domain name has the following rules:

1. The domain name is case-insensitive.

2. The domain name contains only letters (a to z and A to Z), digits (0 to 9), periods (.), underscores (-), and hyphens (-). Each label separated by periods (.) must start or end with a letter or digit.

3. Each label separated by periods (.) contains a maximum of 63 characters.



Usage Guidelines



Set the IP addresses of the vStore's DNS server to "", "", and "", and the server's domain names to "domain1" and "domain2".

admin:/>change domain dns_config address=,, domains=domain1,domain2 
Command executed successfully.

System Response


Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 236545

Downloads: 150

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next