Displaying and maintaining ipv6 dns, Ipv6 dns configuration examples, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual

Page 752

Advertising
background image

727

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable dynamic domain

name resolution.

dns resolve

Disabled by default.

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

Optional.
Not configured by default. Only the
provided domain name is resolved.

NOTE:

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

You can specify up to ten DNS suffixes on the firewall.

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 the information of
dynamic IPv6 domain name

cache.

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

Available in any
view

Clear the information of
dynamic IPv6 domain name
cache.

reset dns host ipv6

Available in user
view

IPv6 DNS configuration examples

Static domain name resolution configuration example

Network requirements

As shown in

Figure 373

, the SecPath wants to access the host by using an easy-to-remember domain

name rather than an IPv6 address. Configure static domain name resolution on the SecPath so that the

SecPath can use the domain name host.com to access the host whose IPv6 address is 1::2.

Advertising