Changes TCP/IP-based name service configuration on a host.
chnamsv [ -a"Attribute=Value ..." | -A FileName ]
The chnamsv high-level command changes a TCP/IP-based name service configuration on a host. The command changes the /etc/resolv.conf file only. The command does not change the name server database.
If you change the name service configuration for a client, the chnamsv command calls the namerslv low-level command to change the resolv.conf configuration file appropriately.
You can use the Web-based System Manager Network application (wsm network fast path) run this command. You could also use the System Management Interface Tool (SMIT) smit namerslv fast path to run this command.
chnamsv -a"domain=austin.century.com nameserver=192.9.200.1"In this example the domain name and name server address are updated. The previous domain and name server are overwritten.
chnamsv -A namsv.fileIn this example, the file that contains the updated information is namsv.file.
/etc/resolv.conf | Contains DOMAIN name server information for local resolver routines. |
The namerslv command.
TCP/IP Name Resolution in AIX Version 4.3 System Management Guide: Communications and Networks.
Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.
TCP/IP Reference in AIX Version 4.3 System Management Guide: Communications and Networks.