R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

700
dns server ipv6
Syntax
dns server ipv6 ipv6-address [ interface-type interface-number ]
undo dns server ipv6 ipv6-address [ interface-type interface-number ]
View
System view
Default level
2: System level
Parameters
ipv6-address: IPv6 address of a DNS server.
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 dns server ipv6 to specify a DNS server.
Use undo dns server ipv6 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 up to 255 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 ipv6 host to configure a mapping between host name and IPv6 address.
Use undo ipv6 host to remove a mapping between host name and IPv6 address.