Steps for disabling caching for selected applications

You can disable resolver caching for applications in your environment that do not need to use it.

Before you begin

Some applications might not need to use resolver caching. For example, as shown in Figure 1, you might have a production network and a test network in your environment. Users of the test network might require specialized host name resolution using a unique set of DNS servers that are not used in the production network. Because the test network is isolated and is likely to affect only a small number of users, using resolver caching for the test network could waste cache storage, and could complicate operation of the production network by adding information that is not pertinent to the production network. You can disable resolver caching for applications using the test network, while continuing to use resolver caching for the production network.

Procedure

Perform the following steps to disable caching for some applications:

  1. Identify or create the TCPIP.DATA data set associated with the application for which you want to disable resolver caching.
  2. Turn off the resolver caching function by specifying the NOCACHE statement in that TCPIP.DATA data set.
  3. Issue the MODIFY RESOLVER,REFRESH command to cause the resolver to refresh the settings for the application.
  4. Activate the trace resolver facility to determine which TCPIP.DATA values are being used by the resolver and where they are being read from.
  5. When the trace is active, issue the Netstat HOME⁄-h command to display the values.

Results

You know you are done when the value NOCACHE is displayed in the trace resolver output that is generated by the Netstat HOME⁄-h command.

For more information about configuration statements in TCPIP.DATA, see z/OS Communications Server: IP Configuration Reference. For more information about the MODIFY command for the resolver address space, see z/OS Communications Server: IP System Administrator's Commands.