7-5
z
The domain name suffix configured with the
dns domain
command is applicable to both IPv4 DNS
and IPv6 DNS.
z
You can configure a maximum of 10 domain name suffixes.
Related commands:
display dns domain
.
Examples
# Configure
com
as a DNS suffix.
<Sysname> system-view
[Sysname] dns domain com
dns resolve
Syntax
dns resolve
undo dns resolve
View
System view
Default Level
2: System level
Parameters
None
Description
Use the
dns resolve
command to enable dynamic domain name resolution.
Use the
undo dns resolve
command to disable dynamic domain name resolution.
Dynamic domain name resolution is disabled by default.
Note that this command is applicable to both IPv4 DNS and IPv6 DNS.
Examples
# Enable dynamic domain name resolution.
<Sysname> system-view
[Sysname] dns resolve
dns server
Syntax
In system view:
dns server
ip-address
undo dns server
[
ip-address
]
In interface view:
dns server
ip-address
undo dns server
ip-address
View
System view, interface view