The dns-server command sets the IP address of the DNS server in the NQA DNS test.
The undo dns-server command deletes the configured IP address of the DNS server.
| Parameter | Description | Value |
|---|---|---|
ipv4 ip-address |
Specifies the IP address of the DNS server. |
It is in the decimal format. |
Usage Scenario
The NQA DNS test instance is used to parse the specified DNS name into the IP address rate to show the performance of the DNS protocol.
Prerequisites
Before using the dns-server command, run the test-type command to specify the type of a test instance. The test instance can only be a DNS or HTTP test instance.
Precautions
The DNS server configuration of a running test instance cannot be changed.
DNS server addresses in the DNS test cases must be IP addresses configured using the dns server command. Otherwise, the test will fail.