beautypg.com

Configuration procedure, Configuring the ipv6 dns client, Configuring static domain name resolution – H3C Technologies H3C S12500-X Series Switches User Manual

Page 90: Configuring dynamic domain name resolution, Specifying dhcp servers on a relay agent

background image

79

Configuration procedure

To configure dynamic domain name resolution:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify a DNS server IP
address.

Specify a DNS server IPv4 address:
dns server ip-address [ vpn-instance

vpn-instance-name ]

Specify a DNS server IPv6 address:

ipv6 dns server ipv6-address

[ interface-type interface-number ]

[ vpn-instance vpn-instance-name ]

Use at least one command.
By

default, no DNS server IP

address is specified.

3.

(Optional.) Configure a
DNS suffix.

dns domain domain-name [ vpn-instance
vpn-instance-name ]

By default, no DNS suffix is
configured and only the

provided domain name is
resolved.

Configuring the IPv6 DNS client

Configuring static domain name resolution

Static domain name resolution allows applications such as Telnet to contact hosts by using host names

instead of IPv6 addresses.
Follow these guidelines when you configure static domain name resolution:

For the public network or a VPN, each host name maps to only one IPv6 address. The last

configuration for a host name takes effect.

You can configure host name-to-IPv6 address mappings for the public network and up to 1024
VPNs, and configure a maximum of 1024 host name-to-IPv6 address mappings for the public

network or each VPN.

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 thus in turn.

This manual is related to the following products: