< Home

Configuring a DNS Test

A DNS test measures the speed at which a DNS server resolves a specified domain name to an IP address.

Procedure

  1. Access the system view.

    system-view

  2. Enable the dynamic domain name resolution function.

    dns resolve

  3. Configure the DNS server.

    dns server ip-address

  4. Create an NQA test instance and access the test instance view.

    nqa test-instance admin-name test-name

  5. Set the test type to DNS.

    test-type dns

  6. Configure the IPv4 address of the tested DNS server.

    dns-server ipv4 ip-address

    The IP address of the DNS server must be the IP address of the DNS server configured on the 3.

  7. Configure the domain name to be resolved by the DNS server.

    destination-address url dest-url

  8. Optional: Configure other parameters for the DNS test.

    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.

  9. Start the NQA test.

    start

    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 } ]

Follow-up Procedure

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 %                    
Table 1 Description of the display nqa results command output

Item

Description

Send operation times

Number of sent test packets

Receive response times

Number of received response packets

Completion

Test completion state:
  • success: The test is successful.

  • no result: The test is running, and no result has been obtained.

  • failed: The test fails.

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >