display dns domain

Function

The display dns domain command displays domain name suffixes.

Format

display dns domain [ vpn-instance vpn-name ]

Parameters

Parameter Description Value
vpn-instance vpn-name

Specifies the VPN to be displayed.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
dns read

Usage Guidelines

Usage Scenario

After configuring DNS domain name suffixes, you can run the display dns domain command to view whether the configuration is successful.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display configured domain name suffixes.
<HUAWEI> display dns domain
No                    Domain Name
1                    com
2                    net
Table 1 Description of the display dns domain command output
Item Description
No

Configuration sequence of a domain name suffix.

Domain Name

Configured domain name suffix that is configured using the dns domain command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >