Fortinet white logo
Fortinet white logo

Administration Guide

Starting a UDP Protocol DNS latency test

Starting a UDP Protocol DNS latency test

FortiTester tests the latency of the DUT while handling DNS query requests. The DUT could be a gateway device or a DNS server. This test traffic sends DNS requests to a DNS server and measures latency.

To start a UDP DNS latency test:
  1. In Performance Testing, expand Protocol > UDP and click DNS latency.
  2. Click Create New.
  3. Configure the network or select a network template. See Using network configuration templates for how to create a network template.
  4. Select a Certificate Group, if applicable.
  5. Click OK.
  6. Configure the test case options described below.
  7. Click Start to run the test case.

FortiTester saves the configuration automatically so you can run the test again later. You can also click Save to save the test case without running it.

Tip 1: You can copy an existing case and change its settings to create a new case. In the case list, click Clone to clone the configuration. Only the case name is different from the original case.

Tip 2: You can add or edit a comment when the test is running. This comment can be used to search for the test result in the Results page. This is useful especially when the test runs for a long time.

UDP DNS latency test case options

For details about the common options for protocol cases, see Protocol Test Case common options.

Settings Guidelines
Load
Time Out The default is 1000 microseconds.
Renew Socket Specify Yes or No. If Yes, the client side renews a socket to send out the next query (note if the client profile “Domain Policy” is set as List, all queries for the names in the domain list will use the same socket; after that a new socket will be created for next batch of queries). If No, use the old socket.
Client Profile
Domain Policy Random or List. If Random is selected, FortiTester generates random domain names for queries. If List is select, FortiTester uses queries in the specified list.
Random Length Specify the random length of the domain policy.
Domain If Domain Policy is List, specify a list of domain name records. For example: fortinet.com:A,www.fortinet.com:A,
fortitester.com:MX

A name followed with a “:A” means it’s an address record, while a “:MX” means a mail exchange record.

Recursion Desired

Enable or disable Recursion Desired and Recursion Available to control the RD/RA flag when the client side sends DNS queries.

When the client side of a DNS Latency case sends DNS queries, the RD/RA bits in the DNS flags will use the configuration of these two fields. The RD/RA bits configuration only affect the DNS query packets sent by client side.

Recursion Available

Starting a UDP Protocol DNS latency test

Starting a UDP Protocol DNS latency test

FortiTester tests the latency of the DUT while handling DNS query requests. The DUT could be a gateway device or a DNS server. This test traffic sends DNS requests to a DNS server and measures latency.

To start a UDP DNS latency test:
  1. In Performance Testing, expand Protocol > UDP and click DNS latency.
  2. Click Create New.
  3. Configure the network or select a network template. See Using network configuration templates for how to create a network template.
  4. Select a Certificate Group, if applicable.
  5. Click OK.
  6. Configure the test case options described below.
  7. Click Start to run the test case.

FortiTester saves the configuration automatically so you can run the test again later. You can also click Save to save the test case without running it.

Tip 1: You can copy an existing case and change its settings to create a new case. In the case list, click Clone to clone the configuration. Only the case name is different from the original case.

Tip 2: You can add or edit a comment when the test is running. This comment can be used to search for the test result in the Results page. This is useful especially when the test runs for a long time.

UDP DNS latency test case options

For details about the common options for protocol cases, see Protocol Test Case common options.

Settings Guidelines
Load
Time Out The default is 1000 microseconds.
Renew Socket Specify Yes or No. If Yes, the client side renews a socket to send out the next query (note if the client profile “Domain Policy” is set as List, all queries for the names in the domain list will use the same socket; after that a new socket will be created for next batch of queries). If No, use the old socket.
Client Profile
Domain Policy Random or List. If Random is selected, FortiTester generates random domain names for queries. If List is select, FortiTester uses queries in the specified list.
Random Length Specify the random length of the domain policy.
Domain If Domain Policy is List, specify a list of domain name records. For example: fortinet.com:A,www.fortinet.com:A,
fortitester.com:MX

A name followed with a “:A” means it’s an address record, while a “:MX” means a mail exchange record.

Recursion Desired

Enable or disable Recursion Desired and Recursion Available to control the RD/RA flag when the client side sends DNS queries.

When the client side of a DNS Latency case sends DNS queries, the RD/RA bits in the DNS flags will use the configuration of these two fields. The RD/RA bits configuration only affect the DNS query packets sent by client side.

Recursion Available