display dns domain

Syntax

display dns domain [ dynamic ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

dynamic: Displays the domain name suffixes dynamically obtained through DHCP or other protocols.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display dns domain to display the domain name suffixes.

Related commands: dns domain.

Examples

# Display domain name suffixes.

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

No.    Type   Domain-name
1      S      com

Table 19: Command output

Field

Description

No

Sequence number.

Type

Type of domain name suffix:

  • S—A statically configured domain name suffix.

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

Domain-name

Domain name suffix.