H3C LS-3100-52P-OVS-H3 Operation Manual - page 459
1-18
Configuring IPv6 DNS Client
Configuring Static IPv6 Domain Name Resolution
Configuring static IPv6 domain name resolution is to establish the mapping between a host name and
an IPv6 address. When using such applications as Telnet, you can directly input a host name and the
system will resolve the host name into an IPv6 address. Each host name can correspond to only one
IPv6 address.
Follow these steps to configure static IPv6 domain name resolution:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a host name to IPv6
address mapping
ipv6 host hostname
ipv6-address
Required
Configuring Dynamic IPv6 Domain Name Resolution
You can use the following command to enable the dynamic domain name resolution function. In addition,
you need to configure a DNS server so that a query request message can be sent to the correct server
for resolution. The system can support at most six DNS servers.
You can configure a DNS suffix so that you only need to enter part of a domain name, and the system
can automatically add the preset suffix for address resolution. The system can support at most 10 DNS
suffixes.
Follow these steps to configure dynamic IPv6 domain name resolution:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the dynamic domain
name resolution function
dns resolve
Required
Disabled by default.
Configure an IPv6 DNS
server
dns server ipv6
ipv6-address
[ interface-type
interface-number ]
Required
If the IPv6 address of the DNS server is a
link-local address, you need to specify the
interface-type and interface-number
argument.
Configure a DNS suffix
dns domain
domain-name
Required
By default, no domain name suffix is
configured, that is, the domain name is
resolved according to the input information.
The dns resolve and dns domain commands are the same as those of IPv4 DNS. For details about
the commands, refer to DNS Commands in the IP Services Volume.