The dns command specifies a DNS server for the current domain.
The undo dns command removes the DNS server from the current domain.
By default, a domain has no DNS server.
This command is supported only on the NetEngine 8000 F1A.
dns primary-ip ip-address
dns second-ip ip-address
undo dns primary-ip
undo dns second-ip
Specifies the IP address of the DNS server.
It is in the dotted decimal format and must be a valid unicast address.
Sets the secondary DNS server.
-
Sets the primary DNS server.
AAA domain view
2: Configuration level
Usage Scenario
Modifications about DNS server configurations take effect during next login.
Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain Huawei [*HUAWEI-aaa-domain-huawei] dns primary-ip 10.1.1.1