z/OS Communications Server: IP CICS Sockets Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Configuring the CICS Domain Name Server cache

z/OS Communications Server: IP CICS Sockets Guide
SC27-3649-00

The Domain Name Server (DNS) is like a telephone book that contains a person's name, address, and telephone number. The name server maps a host name to an IP address, or an IP address to a host name. For each host, the name server can contain IP addresses, nicknames, mailing information, and available well-known services (for example, SMTP, FTP, or Telnet).

Translating host names into IP addresses is just one way of using the DNS. Other types of information related to hosts can also be stored and queried. The different possible types of information are defined through input data to the name server in the resource records.

Although the CICS® DNS cache function is optional, it is useful in a highly active CICS client environment. It combines the GETHOSTBYNAME() call that is supported in CICS sockets, and a cache that saves results from GETHOSTBYNAME() for future reference. If your system receives repeated requests for the same set of domain names, using the DNS can improve performance significantly. If you have specified that IP CICS sockets should use the Open Transaction Environment, and you link to the domain name service module, EZACIC25, your threadsafe program is switched to the QR TCB.

Guideline: If the system resolver caching function is enabled, CICS DNS caching should not be configured. Resolver caching (when enabled) provides a significant performance improvement over the CICS DNS cache. For more information about resolver caching, visit this website: http://www-01.ibm.com/software/htp/cics/library/

See z/OS Communications Server: IP Configuration Reference for information about caching issues, and see z/OS Communications Server: IP Configuration Guide for more information about system resolver caching.

Rules:
  • DNS caching does not support the caching of IPv6 addresses because the gethostbyname() function is not IPv6 enabled.
  • Using the system resolver caching function provides the following benefits:
    • After a host name is resolved, it is cached locally. Locally caching a host name enables all other applications that run in the system to retrieve this information without increasing the network communications.
    • The system resolver caching function honors the time to live (TTL) value, which indicates when the information for the resource record expires.
    • The system resolver can cache IPv4 and IPv6 resources.
  • DNS caching supports the caching of IPv4 addresses. You can use the system resolver for both IPv4 and IPv6 name resolution. IPv6 clients use unique host names and you must enable DNS entries to allow unique host names to exist in different DNS zones. An IPv6 client gets an AAAA address to use when connecting to an IPv6-enabled listener.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014