display dns domain

Use display dns domain to display the domain name suffixes.

Syntax

display dns domain [ dynamic ] [ vpn-instance vpn-instance-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

dynamic: Displays the domain name suffixes dynamically obtained through DHCP or other protocols. If you do not specify this keyword, the command displays the statically configured and dynamically obtained domain name suffixes.

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. To display domain name suffixes on the public network, do not use this option.

Examples

# Display domain name suffixes on the public network.

<Sysname> display dns domain
Type:
  D: Dynamic    S: Static

No.    Type   Domain suffix
1      S      com
2      D      net

Table 22: Command output

Field

Description

No.

Sequence number.

Type

Domain name suffix type:

  • S—A statically configured domain name suffix.

  • D—A domain name suffix dynamically obtained through DHCP or other protocols.

Domain suffix

Domain name suffixes.

Related commands

dns domain