Command Manual - DNS
Quidway S3900 Series Ethernet Switches-Release 1510
1.1.7 dns server
Syntax
dns server ip-address
undo dns server [ ip-address ]
View
System view
Parameter
ip-address: IP address of the DNS Server.
Description
Use the dns server command to configure an IP address to the DNS Server.
Use the undo dns server to remove IP addresses.
No IP address is configured to the DNS Server by default.
You can configure maximum 6 DNS Servers.
Related command: display dns server.
Example
# Configure a DNS Server address to 172.16.1.1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] dns server 172.16.1.1
1.1.8 ip host
Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameter
Hostname: Host name, comprises 1 to 20 characters, including letters, numbers,
hyphens (-), or dots (.). The host name must include at least one letter.
ip-address: IP address of the specified host in dotted decimal notation.
Huawei Technologies Proprietary
1-6
Chapter 1 DNS Configuration Commands