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: Specifies the IPv6 address of a DNS server.

interface-type interface-number: Specifies an interface by its type and number. 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