95
IPv4 DNS configuration commands
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 the
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 the
display dns domain
command 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
Output description
Field
Description
No
Sequence number
Type
Type of domain name suffix: S represents a statically configured domain name
suffix, and D represents a domain name suffix obtained dynamically through DHCP.
Domain-name
Domain name suffix