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

mdc-admin

mdc-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. If you do not specify a VPN instance, this command displays domain name suffixes for the public network.

Examples

# Display the statically configured and dynamically obtained domain name suffixes for the public network.

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

No.    Type   Domain suffix
1      S      com
2      D      net

Table 24: 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