3Com Router 3000 Ethernet Family
Configuration Guide
Perform the following configuration in system view.
Table 3-3 Enable/disable DNS resolving
Enable DNS resolving.
Disable DNS resolving.
By default, DNS resolving is disabled.
II. Configuring IP Address of the DNS Server
To resolve domain names, the DNS client must know the domain server address where
it can send queries.
Perform the following configuration in system view.
Table 3-4 Configure IP address of the DNS server
Configure IP address of the DNS server.
Delete IP address of the DNS server.
III. Configuring the DNS Domain Name Searching List
Some of the websites that you access may have the same domain name, such as
sina.com.cn, huawei.com.cn, and sohu.com.cn.
To facilitate website searching of users, you can set a domain name to com.cn for
example. Thus, to search for the IP address mapped with "sina.com.cn", a user only
needs to enter the command ping sina. If no response is received, the DNS client
sends a request to query the IP address mapped with "sina".
You can configure a DNS domain name searching list by using the following command
repeatedly.
Perform the following configuration in system view.
Table 3-5 Configure a DNS domain name
Configure a DNS domain name.
Delete one or all DNS domain names.
Operation
Operation
Operation
3Com Corporation
3-4
Chapter 3 DNS Configuration
Command
dns resolve
undo dns resolve
Command
dns server ip-address
undo dns server [ip-address ]
Command
dns domain domain-name
undo dns domain [domain-name]