Steps for creating a separate resolver configuration file for each security label

You can define a different host name or domain name for interactive users based on their security label. Implement these names by creating a separate resolver configuration file for each security label.

Procedure

Use the same directory structure under the /etc directory as follows:

  1. Log in as a file system administrator with each security label.
  2. Create a copy of your current resolver configuration file in each security label directory using the following command:
    cp  /etc/resolv.conf  /etc/seclbl/rsv.cfg
  3. Edit these new files as follows:
    1. Change the TCPIPJOBNAME statement to the appropriate stack job name.
    2. Change the HOSTNAME statement to the appropriate host name.
    3. Change the DOMAINORIGIN or first SEARCH statement to the appropriate domain for this security label.
      Tip: For information about interactions between the DOMAINORIGIN and SEARCH statements, see the TCPIP.DATA configuration statements topic in z/OS Communications Server: IP Configuration Reference.
  4. Replace your current resolver configuration file with a symbolic link as follows:
    ln  -s  "$SYSSECR/rsv.cfg" /etc/resolv.conf