Operation Manual - DNS
H3C S3100 Series Ethernet Switches Chapter 1 DNS Configuration
1-3
z If there is a dot in the domain name, such as www.aabbcc or aabbcc., it indicates
that no DNS suffix needs to be added and the resolver will use this domain name
to do DNS lookup first. If the lookup fails, the resolver adds a DNS suffix for
another lookup.
1.2 Configuring Domain Name Resolution
1.2.1 Configuring Static Domain Name Resolution
Table 1-1 Configure static domain name resolution
Operation Command Remarks
Enter system view
system-view
—
Configure a mapping
between a host name and
an IP address
ip host hostname
ip-address
Required
No IP address is assigned
to a host name by default.
 Note:
z The IP address you assign to a host name last time will overwrite the previous one if
there is any.
z You may create up to 50 static mappings between domain names and IP
addresses.
1.2.2 Configuring Dynamic Domain Name Resolution
Table 1-2 Configure dynamic domain name resolution
Operation Command Remarks
Enter the system view
system-view
—
Enable dynamic domain
name resolution
dns resolve
Required
Disabled by default
Configure an IP address
for the DNS server
dns server ip-address
Required
No IP address is
configured for the DNS
server by default.
Configure DNS suffixes
dns domain
domain-name
Optional
No DNS suffix is
configured by default