DNS override

KITE and Keynote agents can override the DNS lookup for a specific domain name, substituting a hard-coded IP address in its place.

DNS override in Transaction Perspective (TxP)

To override DNS lookup:

  1. Select the top-level script object in the Script eViewer.
  2. Look for the Hosts line in the Script Properties Editor and click Add.
    a<figcaption><p>a</p>

</figcaption></figure>

The Name and IP Address fields appear:

  1. Enter the hostname to perform DNS override for in the Name field. 
  2. Enter the IP address to use instead of performing DNS lookup.
  3. Whenever this host name appears in a URL (in the starting URL or any pages or page elements throughout the running of this script), KITE or the TxP agent on the Global Network will  use the hard-coded IP address you supply here instead of performing a DNS lookup.
  4. To add additional host names to override, click the Add button again:

    You may add as many as you like.

     

DNS override in Application Perspective (ApP)

To override DNS lookup:

  1. Select the top-level script object in the Script Viewer.
  2. Look for the Hosts line in the Script Properties Editor and click Add A Host entry appears:

    a

    a

</figcaption></figure>

  1. Click the plus box to expand the Host entry:
    a<figcaption><p>a</p>

</figcaption></figure>

  1. Enter the host name to perform DNS override for in the Name field:
    a<figcaption><p>a</p>

</figcaption></figure>

  1. Enter the IP address to use instead of performing DNS lookup:
    a<figcaption><p>a</p>

</figcaption></figure>

  1. Save your script.
  2. To add additional host names to override, click the Add button again, expand the Host line by clicking the plus box and repeat the above procedure:
    a<figcaption><p>a</p>

</figcaption></figure>

Using variables in DNS override for Application Perspective

DNS Override in ApP supports the use of variables to assign the IP address value.  Of particular interest here are the following two variable types:

Value from list – Use this to randomly choose an IP address from a list.  Using this approach, you list the possible IP addresses, and optionally give them preference weightings.  For example, here are four different IP addresses to substitute for images.company.com:

a

a

Virtual user data value – Use this to associate IP address values with rows in a virtual user table.  With this approach, you can easily set a different IP address for each agent location. 

Start by entering the IP addresses in the Virtual Profiles Editor:

a

a

Then set the Type to Virtual profile data value and choose the field name you stored the IP addresses in.

a

a

Save your script.