Configuring dynamic domain name resolution, Displaying and maintaining ipv6 dns – H3C Technologies H3C S7500E Series Switches User Manual

Page 103

Advertising
background image

10-2

Configuring Dynamic Domain Name Resolution

To send DNS queries to a correct server for resolution, dynamic domain name resolution needs to be

enabled and a DNS server needs to be configured.

In addition, you can configure a DNS suffix that the system will automatically add to the provided

domain name for resolution.

Follow these steps to configure dynamic domain name resolution:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable dynamic domain

name resolution

dns resolve

Required

Disabled by default.

Specify a DNS server

dns server ipv6 ipv6-address

[ interface-type interface-number ]

Required

Not specified by default.

If the IPv6 address of a DNS server is

a link-local address, you need to

specify the interface-type and

interface-number arguments.

Configure a DNS suffix

dns domain domain-name

Required

Not configured by default, that is, only

the provided domain name is resolved.

z

The dns resolve and dns domain commands are the same as those of IPv4 DNS.

z

You can configure up to six DNS servers, including those with IPv4 addresses.

z

You can specify up to ten DNS suffixes.

Displaying and Maintaining IPv6 DNS

To do…

Use the command…

Remarks

Display the static IPv6 domain name

resolution table

display ipv6 host

Available in any view

Display IPv6 DNS server information

display dns ipv6 server [ dynamic ]

Available in any view

Display DNS suffixes

display dns domain [ dynamic ]

Available in any view

Display the information of dynamic IPv6

domain name cache

display dns ipv6 dynamic-host

Available in any view

Advertising