Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name | Displays information about domain name suffixes of a specified VPN instance. |
The value must be an existing VPN instance name. |
all | Displays information about all domain name suffixes, including both public and private domain name suffixes. NOTE:
If neither vpn-instance vpn-instance-name nor all is specified, only information about public domain name suffixes is displayed. |
- |
The display dns domain command displays the configuration of domain name suffixes and the order in which they are configured.
# Display the list of domain name suffixes.
<HUAWEI> display dns domain
No Domain-name
1 com
2 net
# Display the list of domain name suffixes of the VPN instance vpn1.
<HUAWEI> display dns domain vpn-instance vpn1
No Domain-name VPN-Instance
1 com.cn vpn1
Item |
Description |
---|---|
No |
Indicates the domain name suffix numbers, that is, the configuration sequence of domain name suffixes. |
Domain-name |
Indicates the configured domain name suffix. If there are multiple domain name suffixes in the list, during DNS resolution, the first suffix is added and sent to the DNS server. If the DNS server gives no response, the query message is resent; if the DNS server still gives no response, the query message is resent for a third time; if the DNS server still does not respond, the next suffix is added and sent to the DNS server for searching for the mapped address. The value is set using the dns domain command. |
VPN-Instance |
VPN instance name. The value is set using the dns domain command. |