< Home

dns-domain

Function

The dns-domain command configures a DNS domain name.

The undo dns-domain command cancels the configuration of a DNS domain name.

Format

dns-domain domain-name

undo dns-domain

Parameters

Parameter Description Value
domain-name Specifies the DNS domain name. It is a string of 1 to 127 case-sensitive characters that does not contain spaces. The string is any combination of digits, letters, underscores (_), and dots (.).

Views

Basic view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Configure a DNS domain name.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] basic
[sysname-abc-basic] dns-domain www.dns.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >