All zones settings

When the Zones node is highlighted in the Load Generators group box, the Zones Settings dialog is displayed with:

DNS

Overriding DNS is useful if you need to run tests on a pre-production environment or on a specific cluster node of a production environment.

It is possible to configure IP addresses to override DNS resolution and distribute them to all Load Generators of all zones. Therefore, no DNS resolution will be performed for these host names.

IP addresses v4 and v6 are handled.

  1. Check the option Enable DNS overriding.
  2. In the Hostname field, enter or select a hostname among all the servers defined in the project.
  3. In IP Addresses, enter IP addresses directly in the field or click the pencil icon to open a text area dialog.

    Accepted separators are: comma, semi-colon, space, carriage return.

Time to live of DNS cache

The Time to live (TTL) of DNS cache for Load Generators is set by default to 30 seconds. You can choose to set a different value.

Notes

To update the DNS cache TTL of your machine OS, refer to the specific documentation of the operating system.

  1. Start Registry Editor (Regedit.exe).
  2. Locate and then click the following key in the registry:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters

  3. On the Edit menu, point to New, click DWORD Value, and then add the following registry values:

    Value name: MaxCacheTtl

    Data type: REG_DWORD

    Value data: If you lower the Maximum TTL value in the client's DNS cache to 1 second, this gives the appearance that the client-side DNS cache has been disabled.