Operation Manual - DNS
H3C S3100 Series Ethernet Switches
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
Enter system view
Configure a mapping
between a host name and
an IP address
Note:
The IP address you assign to a host name last time will overwrite the previous one if
there is any.
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
Enter the system view
Enable dynamic domain
name resolution
Configure an IP address
for the DNS server
Configure DNS suffixes
Operation
system-view
ip host hostname
ip-address
Operation
system-view
dns resolve
dns server ip-address
dns domain
domain-name
Command
Command
1-3
Chapter 1 DNS Configuration
Remarks
—
Required
No IP address is assigned
to a host name by default.
Remarks
—
Required
Disabled by default
Required
No IP address is
configured for the DNS
server by default.
Optional
No DNS suffix is
configured by default
Need help?
Do you have a question about the H3C S3100 8C SI and is the answer not in the manual?