dns primary-ipv6

Function

The dns primary-ipv6 command specifies a IPv6 primary DNS server for the current domain.

The undo dns primary-ipv6 command removes the IPv6 primary DNS server from the current domain.

By default, a domain has no IPv6 DNS server.

This command is supported only on the NetEngine 8000 F1A.

Format

dns primary-ipv6 ipv6-addr

undo dns primary-ipv6

Parameters

Parameter Description Value
ipv6-addr

Specifies the IPv6 address of the DNS server.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

primary-ipv6

Sets the primary DNS server.

-

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Modifications about IPv6 DNS server configurations take effect during next login.

DNS server addresses can be configured in the RADIUS server, domain, and address pool view. The DNS server address delivered by the RADIUS server takes precedence over the one configured in the domain view, and the one configured in the domain view takes precedence over the one configured in the address pool view.

Example

# Set the server 2001:db8:1::1 as the primary DNS server of the current domain.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain Huawei
[*HUAWEI-aaa-domain-huawei] commit
[~HUAWEI-aaa-domain-huawei] dns primary-ipv6 2001:db8:1::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >