Command Manual (For Soliton) – DNS
H3C S3100 Series Ethernet Switches
Chapter 1 DNS Configuration Commands
1-6
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.
Examples
# Enable dynamic domain name resolution.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dns resolve
1.1.7 dns server
Syntax
dns server
ip-address
undo dns server
[
ip-address
]
View
System view
Parameters
ip-address
: IP address of the DNS Server.
Description
Use the
dns server
command to configure an IP address for the DNS Server.
Use the
undo dns server
to remove the IP address of the DNS server.
No IP address is configured for the DNS server by default.
You can configure a maximum of 6 DNS servers, including those with IPv6 addresses.
Related commands:
display dns server
.
Examples
# Configure 172.16.1.1 for a DNS Server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dns server 172.16.1.1