3Com Switch 7750 Configuration Guide

Configuring Static DNS Resolution 833
Configuring Static
DNS Resolution
n
As one hostname can mapped to only one IP address, when you add multiple
hostname-to-address mapping entries with the same hostname, only the last one
will be valid.
You can add up to 50 entries for static DNS resolution.
Configuring Dynamic
DNS Resolution
Configuration Procedure
n
You can configure up to 6 DNS servers and 10 DNS suffixes.
DNS Configuration
Example
Network requirements
As shown in Figure 214, Switch is used as a DNS client with dynamic DNS
resolution. It allows you to visit Host with IP address 3.1.1.1/16. The DNS server IP
address is 2.1.1.2/16. The DNS suffixes “com” and “net” are configured.
Table 656 Configure static DNS resolution
Operation Command Description
Enter system view system-view -
Add a hostname-to-address
mapping entry
ip host hostname ip-address Required
There is no entry in the static
DNS list by default.
Table 657 Configure dynamic DNS resolution
Operation Command Description
Enter system view system-view -
Enable dynamic DNS
resolution
dns resolve Required
This function is disabled by
default.
Configure a DNS server IP
address
dns server ip-address Required
No DNS server IP address is
configured by default.
Configure a DNS suffix dns domain domain-name Optional
No DNS suffix is configured by
default.