A DNS test measures the speed at which a DNS server resolves a specified domain name to an IP address.
dns server ip-address
nqa test-instance admin-name test-name
test-type dns
dns-server ipv4 ip-address
destination-address url dest-url
| Item | Command | Description |
|---|---|---|
| Configuring description of a test instance | description description-information | - |
| Setting the test interval | frequency interval | By default, no test interval is set, and the test runs only once. |
| Setting the timeout for a single probe | timeout time | By default, the expiration time for a single probe in the DNS test is 3s. |
| Setting the maximum number of historical records | records history number | By default, there are a maximum of 50 historical records. |
| Configuring the maximum number of test result records | records result number | By default, a maximum of five test results are recorded. |
| Setting the aging time of a test instance | agetime hh:mm:ss | The default value is 0. That is, test instances are never aged. |
Select one of the following start modes as required.
Start the NQA test immediately.
start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Start the NQA test at a specified time point.
start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Start the NQA test after the delay of a specified period.
start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Run the display nqa results command to view the test results.
<FW> display nqa results NQA entry(admin, dns) :testflag is inactive ,testtype is dns 1 . Test 1 result The test is finished Send operation times: 1 Receive response times: 1 Completion:success RTD OverThresholds number: 0 Attempts number:1 Drop operation number:0 Disconnect operation number:0 Operation timeout number:0 System busy operation number:0 Connection fail number:0 Operation sequence errors number:0 RTT Status errors number:0 Destination ip address:10.7.1.10 Min/Max/Average Completion Time: 11/11/11 Sum/Square-Sum Completion Time: 11/121 Last Good Probe Time: 2016-01-21 18:50:57.1 Lost packet ratio: 0 %
Item |
Description |
|---|---|
Send operation times |
Number of sent test packets |
Receive response times |
Number of received response packets |
Completion |
Test completion state:
|
RTD OverThresholds number |
Number of times the RTD exceeds the specified threshold |
Attempts number |
Number of tests |
Drop operation number |
Number of test packet sending failures |
Disconnect operation number |
Number of times the peer forcibly tears down the connection |
Operation timeout number |
Number of expiration times in the test |
System busy operation number |
Number of initialization or resource application failures |
Connection fail number |
Number of connection establishment failures |
Operation sequence errors number |
Number of received out-of-order packets |
RTT Stats errors number |
Number of RTT measurement failures |
Destination ip address |
Destination address |
Min/Max/Average Completion Time |
Minimum, maximum, and average test completion periods |
Sum/Square-Sum Completion Time |
Sum and quadratic sum of completion periods |
Last Good Probe Time |
Time the last probe was complete |
Lost packet ratio |
Packet loss ratio |