3Com Switch 7750 Configuration Guide Guide
Configuring Static DNS Resolution 775
n
If you have configured aliases for domain names on the DNS server, the Ethernet
switch can resolve a host IP address according to its alias.
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 199, a Switch 7757 is used as a DNS client with dynamic DNS
resolution. It allows you to visit host 1 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 597 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 598 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.