Configuring a DNS Test Instance
Context
Before configuring a DNS test instance, configure a DNS server and ensure reachable routes between the DNS client and the DNS server.
A DNS test can detect the speed at which a DNS name is resolved into an IP address.
The NQA client also functions as the DHCP client. Perform the following steps on the NQA client.
Procedure
- Run system-view
The system view is displayed.
- Run dns resolve
Dynamic DNS resolution is enabled.
By default, dynamic DNS resolution is disabled.
- Run nqa test-instance admin-name test-name
An NQA test instance is created, and the NQA view is displayed.
- Run test-type dns
The test type is set to DNS.
- Run dns-server ipv4 ip-address
The DNS server address is configured.
- Run destination-address url urlstring
The name of the destination host is configured.
- (Optional) Run the following commands as required to configure
parameters for the DNS test.
Run description string
A description is configured for the test instance.
Run frequency interval
The test period is set for the NQA test instance.
Run timeout time
The timeout period of a probe is set for the NQA test instance.
By default, the timeout period of a DNS probe is 3 seconds.
Run source-address ipv4 ipv4-address
The source IP address is configured.
Run records history number
The maximum number of historical records is set for the NQA test instance.
Run records result number
The maximum number of result records is set for the NQA test instance.
Run agetime hh:mm:ss
The aging time is set for the NQA test instance.