Operation Manual – DNS
H3C S5600 Series Ethernet Switches
Chapter 1 DNS Configuration
1-3
aabbcc.com
. The resolver can add the suffix and delimiter before passing the name to
the DNS server.
z
If there is no dot in the domain name, such as
aabbcc
, the resolver will consider
this as a host name and add a DNS suffix before processing. The original name
such as
aabbcc
is used if all DNS lookups fail.
z
If there is a dot in the domain name, such as
www.aabbcc
and
aabbcc.
, the
resolver will directly 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
Follow these steps to configure static domain name resolution:
To do…
Use the 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:
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
Follow these steps to configure dynamic domain name resolution:
To do…
Use the 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.