H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – DNS
H3C S7500 Series Ethernet Switches Chapter 1
DNS Configuration
1-3
to do DNS lookup first. If the lookup fails, the resolver adds a DNS suffix for
another lookup.
Currently, the S7500 Series Ethernet Switches support both static and dynamic domain
name resolution on the DNS client.
1.2 Configuring Static Domain Name Resolution
Follow these steps to configure static domain name resolution:
To do… Use the command… Remarks
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.
Note:
z One hostname can be 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.
z You can add up to 50 entries for static DNS resolution.
1.3 Configuring Dynamic Domain Name Resolution
1.3.1 Configuration Procedure
Follow these steps to configure dynamic domain name resolution:
To do… Use the command… Remarks
Enter system view
system-view
Enable dynamic DNS
resolution
dns resolve
Required
This function is disabled by
default.
Configure an IP
address for a DNS
server
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.