CL Command Reference - CHGTCPDMN
CL Command List > CHGTCPDMN Reference
Description:
Use the Change TCP/IP Domain Information (CHGTCPDMN) command to specify this system¡¯s TCP/IP host and domain name and to configure the Domain Name Server (DNS) information for this system.
Restrictions:
. You must have input/output system configuration (*IOSYSCFG) special authority to run this command.
Examples:
Example 1: Change Host and Domain Names
CHGTCPDMN HOSTNAME(rs021) DMNNAME(endicott.ibm.com)
This command changes the host name and domain name.
Example 2: Change Domain Search List
CHGTCPDMN DMNSCHLIST(¡¯endicott.ibm.com
rochester.ibm.com
ibm.com¡¯)
This command changes the domain search list to be three domain names: endicott.ibm.com, rochester.ibm.com, and ibm.com.
Example 3: Change Domain Name Server Rotation
CHGTCPDMN INLDMNSVR(*ROTATE)
This command changes the initial domain name server selection so it rotates between the configured name servers in a round robin fashion.