Configuring domain resolution for system WPARs

You can configure the domain resolution for system WPARs using the -r flag for the mkwpar command.

Files such as the /etc/resolv.conf file do not exist in system WPARs by default.

To copy the global environment's domain resolution configuration into the system WPARs, run the following command:
mkwpar -n wpar_name -r
Running this command copies the following files into the system WPARs, if they exist in the global environment:
  • /etc/resolv.conf
  • /etc/hosts
  • /etc/netsvc.conf
  • /etc/irs.conf
  • /etc/networks
If the NSORDER environmental variable is set in the environment where you run the mkwpar command, the variable is added to the /etc/environment file for the new system WPAR.

The -r flag is not supported by the chwpar command. Any changes to the domain resolution configuration of an existing WPAR must be made by manually editing the relevant files.