< Home

dns-name (service scheme view)

Function

The dns-name command configures the default DNS domain name in a service scheme.

The undo dns-name command deletes the default DNS domain name in a service scheme.

By default, no default DNS domain name is configured in a service scheme.

Format

dns-name domain-name

undo dns-name

Parameters

Parameter Description Value
domain-name

Specifies the default DNS domain name.

The value is a string of 1 to 255 case-sensitive characters. For example, the value can be huawei.com.

Views

Service scheme view

Default Level

3: Management level

Usage Guidelines

The AAA service scheme allows the default DNS domain name to be bound and sends the default DNS domain name to users.

Example

# Configure the default DNS domain name in the service scheme svcscheme1 to huawei.com.

<sysname> system-view
[sysname] aaa
[sysname-aaa] service-scheme svcscheme1
[sysname-aaa-service-svcscheme1] dns-name huawei.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >