Configuring ipv6 dns, Configure dynamic dns resolution – H3C Technologies H3C S3100 Series Switches User Manual

Page 925

Advertising
background image

1-22

You cannot configure both IPv6 filtering and port binding.

Configuring IPv6 DNS

Configure a static host name to IPv6 address mapping

You can directly use a host name when applying telnet applications and the system will resolve the host

name into an IPv6 address. Each host name can correspond to only one IPv6 address. A newly

configured IPv6 address will overwrite the previous one.

Table 1-15 Configure a static host name to IPv6 address mapping

To do…

Use the command…

Remarks

Enter system view

system-view

Configure a static host name to IPv6 address
mapping

ipv6 host hostname ipv6-address Required

Configure dynamic DNS resolution

If you want to use the dynamic domain name function, you can use the following command to enable

the dynamic domain name resolution function. In addition, you should configure a DNS server so that a

query request message can be sent to the correct server for resolution. The system can support at most

six DNS servers.

You can configure a domain name suffix so that you only need to enter some fields of a domain name

and the system automatically adds the preset suffix for address resolution. The system can support at

most 10 domain name suffixes.

Table 1-16 Configure dynamic DNS resolution

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the dynamic domain
name resolution function

dns resolve

Required

Disabled by default.

Configure an IPv6 DNS
server

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

Required

If the IPv6 address of the DNS server is a link-local
address, the interface-type and interface-number
arguments are required.

Configure the domain suffix.

dns domain
domain-name

Required

By default, no domain name suffix is configured,
that is, the domain name is resolved according to
the input information.

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

the commands, refer to DNS.

Advertising