dns resolve
Syntax
dns resolve
undo dns resolve
View
System view
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.
Examples
# Enable dynamic domain name resolution.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dns resolve
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.
Related commands: display dns server.
Examples
# Configure 172.16.1.1 for a DNS Server.
<Sysname> system-view
1-5