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

Reminder

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

upgrade

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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

Function

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

Format

change domain dns_config address=? [ domains=? ]

Parameters

Parameter

Description

Value

address=?

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=192.168.1.9,192.168.2.9,192.168.3.9". Both IPv4 and IPv6 addresses are supported and the IP address must be unique.

domains=?

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.

Level

Administrator

Usage Guidelines

None

Example

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

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

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 312628

Downloads: 38

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