8-4 
interface-type interface-number: Specifies an interface. When the IPv6 address of the DNS server is a 
link-local address, the two arguments must be specified. 
Description 
Use the dns server ipv6 command to specify a DNS server.  
Use the undo dns server ipv6 command to remove the specified DNS server. 
By default, no DNS server is configured. 
You can configure a maximum of six DNS servers, including those with IPv4 addresses. 
Examples 
# Specify a DNS server at 2002::1. 
<Sysname> system-view 
[Sysname] dns server ipv6 2002::1 
ipv6 host 
Syntax 
ipv6 host hostname ipv6-address 
undo ipv6 host hostname [ ipv6-address ] 
View 
System view 
Default Level 
2: System level 
Parameters 
hostname: Host name, a string of 1 to 20 characters. The character string can contain letters, numbers, 
underscores (_), hyphens (-), or dots (.) and must contain at least one letter. 
ipv6-address: IPv6 address. 
Description 
Use the ipv6 host command to configure a mapping between host name and IPv6 address. 
Use the undo ipv6 host command to remove a mapping between host name and IPv6 address. 
No mappings are created by default. 
Each host name can correspond to only one IPv6 address. The IPv6 address you last assign to the host 
name will overwrite the previous one if there is any. 
Related commands: display ipv6 host. 
Examples 
# Configure the mapping between a host name and an IPv6 address. 
<Sysname> system-view 
[Sysname] ipv6 host aaa 2001::1 
reset dns ipv6 dynamic-host 
Syntax 
reset dns ipv6 dynamic-host