F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
153
Ste
p
Command
Remarks
2. Configure a mapping
between a host name
and an IPv4 address.
ip host hostname ip-address
Not configured by default.
The IPv4 address you last assign to the host
name overwrites the previous one if there is
any.
You may create up to 50 static mappings
between domain names and IPv4
addresses.
Configuring dynamic domain name resolution
To send DNS queries to a correct server for resolution, you must enable dynamic domain name resolution
and configure a DNS server.
In addition, you can configure a DNS suffix that the system automatically adds to the provided domain
name for resolution.
Configuration guidelines
Follow these guidelines when you configure dynamic domain name resolution:
• You can configure a maximum of six DNS servers, including those with IPv6 addresses, in system
view, and a maximum of six DNS servers on all interfaces of a device.
• A DNS server configured in system view has a higher priority than one configured in interface view.
A DNS server configured earlier has a higher priority than one configured later in the same view.
A DNS server manually configured has a higher priority than one dynamically obtained through
DHCP. A name query request is first sent to the DNS server that has the highest priority. If no reply
is received, it is sent to the DNS server that has the second highest priority, and so on in turn.
• You can specify a maximum of ten DNS suffixes.
• The device can resolve a maximum of four IP addresses for a domain name.
Configuration procedure
To configure dynamic domain name resolution:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable dynamic domain
name resolution.
dns resolve Disabled by default.
3. Specify a DNS server.
• Approach 1 (In system view):
dns server ip-address
• Approach 2 (In interface view):
a. interface interface-type
interface-number
b. dns server ip-address
c. quit
Use at least one approach.
No DNS server is specified by
default.