The dns-server command configures the IP address of the domain name service (DNS) server in the NQA test.
The undo dns-server command deletes the configured IP address of the DNS server.
By default, the IP address of the DNS server is not configured.
Parameter | Description | Value |
---|---|---|
ipv4 ip-address | Specifies an IPv4 address for the DNS server. | The value is in dotted decimal notation. |
Usage Scenario
Before using a DNS test instance to detect the rate of resolving a given DNS name to an IP address, configure a DNS server first.
Prerequisites
The type of a test instance has been specified using the test-type command. 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.