< Home

dns server ipv6

Function

The dns server ipv6 command configures the IPv6 address for the DNS server that resolves dynamic domain names.

The undo dns server ipv6 command deletes the configured IPv6 address for DNS server.

By default, no IPv6 address is configured for the DNS server that resolves dynamic domain names.

Format

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

Parameters

Parameter

Description

Value

ipv6-address

Specifies the IPv6 address for a DNS server.

The value has 128 bits. It is represented as eight groups of four hexadecimal digits with the groups being separated by colons, in the format of X:X:X:X:X:X:X:X.

interface-type interface-number

Specifies the type and number of an outbound interface that communicates with the DNS server.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IPv6 DNS client must work with the DNS server to implement dynamic domain name resolution. You can run the dns server ipv6 command to specify the IPv6 address of the DNS server. The IPv6 DNS client sends requests to the specified DNS server for domain name resolution.

Precautions

  • The IPv6 address of the DNS server must be a global unicast address or link-local address.
    • If a link-local address is configured as the IPv6 address of the DNS server, specify the outbound interface for communicating with the DNS server.
    • If a global unicast address is configured as the IPv6 address of the DNS server, do not specify the outbound interface for communicating with the DNS server.
  • The device supports a maximum of six IPv6 addresses of the DNS server.

Example

# Configure the IPv6 address of the DNS server to fc00:1::1.

<sysname> system-view
[sysname] dns server ipv6 fc00:1::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >