Configuring dynamic domain name resolution, Configuration guidelines, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 104

89
To configure static domain name resolution:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a mapping between
a host name and an IPv6
address.
ipv6 host host-name ipv6-address
[ vpn-instance
vpn-instance-name ]
By default, no mapping between
a host name and an IPv6 address
is configured.
Configuring dynamic domain name resolution
To send DNS queries to a correct server for resolution, you must enable dynamic domain name resolution
and configure DNS servers. A DNS server manually configured takes precedence over the one
dynamically obtained through DHCP, and a DNS server configured earlier takes precedence. A name
query 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 addition, you can configure a DNS suffix that the system automatically adds to the provided domain
name for resolution. A DNS suffix manually configured takes precedence over the one dynamically
obtained through DHCP, and a DNS suffix configured earlier takes precedence. The DNS resolver first
uses the suffix that has the highest priority. If the name resolution fails, the DNS resolver uses the suffix that
has the second highest priority, and so on.
Configuration guidelines
Follow these guidelines when you configure dynamic domain name resolution:
•
You can specify DNS server IPv4 addresses as follows:
{
Specify DNS server IPv4 addresses for the public network and up to 1024 VPNs.
{
Specify a maximum of six DNS server IPv4 addresses for the public network or each VPN.
•
You can specify DNS server IPv6 addresses as follows:
{
Specify DNS server IPv6 addresses for the public network and up to 1024 VPNs.
{
Specify a maximum of six DNS server IPv6 addresses for the public network or each VPN.
An IPv6 name query is first sent to the IPv6 DNS servers. If no reply is received, it is sent to the IPv4
DNS servers.
•
You can specify DNS suffixes as follows:
{
Specify DNS suffixes for the public network and up to 1024 VPNs.
{
Specify a maximum of 16 DNS suffixes for the public network or each VPN.
Configuration procedure
To configure dynamic domain name resolution:
Step Command
Remarks
1.
Enter system view.
system-view
N/A