Configuring the DNS operation
The DNS operation measures the time for the NQA client to translate a domain name into an IP address through a DNS server.
A DNS operation simulates domain name resolution and does not save the obtained DNS entry.
To configure the DNS operation:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create an NQA operation and enter NQA operation view. | nqa entry admin-name operation-tag | By default, no NQA operations exist. |
3. Specify the DNS type and enter its view. | type dns | N/A |
4. Specify the IP address of the DNS server as the destination address of DNS packets. | destination ip ip-address | By default, no destination IP address is specified. |
5. Specify the domain name to be translated. | resolve-target domain-name | By default, no domain name is specified. |