Displaying and maintaining ipv6 dns, Ipv6 dns configuration examples – H3C Technologies H3C S12500 Series Switches User Manual

Page 206

Advertising
background image

192

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable dynamic domain
name resolution.

dns resolve

Disabled by default.
For more information about the dns
resolve command, see Layer 3—IP

Services Command Reference.

3.

Specify a DNS server.

dns server ipv6 ipv6-address
[ interface-type interface-number ]

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.

4.

Configure a DNS suffix.

dns domain domain-name

Not configured by default. Only the
provided domain name is resolved.
For more information about the dns
domain command, see Layer 3—IP

Services Command Reference.

Displaying and maintaining IPv6 DNS

Task Command

Remarks

Display the static IPv6 domain name
resolution table.

display ipv6 host [ | { begin | exclude
| include } regular-expression ]

Available in any view.

Display IPv6 DNS server information.

display dns ipv6 server [ dynamic ] [ |
{ begin | exclude | include }

regular-expression ]

Available in any view.

Display DNS suffixes.

display dns domain [ dynamic ] [ |
{ begin | exclude | include }

regular-expression ]

Available in any view.

Display information about dynamic IPv6
domain name cache.

display dns host ipv6 [ | { begin |
exclude | include } regular-expression ] Available in any view.

Clear information about dynamic IPv6
domain name cache.

reset dns host ipv6

Available in user view.

For more information about the display dns domain, display dns host ipv6, and reset dns host ipv6
commands, see Layer 3—IP Services Command Reference.

IPv6 DNS configuration examples

IMPORTANT:

By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.

Advertising