mknamsv Command
Purpose
Configures TCP/IP-based name service on a host for a client.
Syntax
Description
The mknamsv high-level command configures a TCP/IP instance to use a name server. It calls the namerslv low-level command to configure the resolv.conf file appropriately.
You can use the System Management Interface Tool (SMIT) smit mknamerslv fast path to run this command.
Flags
| Item | Description | 
|---|---|
| -A FileName | Specifies the name of the file containing named daemon initialization information. | 
| -a "Attribute=Value..." |   Specifies a list of attributes with corresponding values
to be used for updating the named server initialization files
in the database. Attributes available are:  
  | 
Examples
- To configure the name server initialization files, enter the command
in the following format:  mknamsv -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.
 - To configure name server initialization files according to information
in another file, enter the command in the following format:  mknamsv -A namsv.fileIn this example, the file that contains the configuration information is namsv.file. The "attribute=value" pairs must not be placed in one line. As an example, enter the "attribute=value" pairs to
namsv.filein the following format:domain=austin.century.com nameserver=192.9.200.1 
Files
| Item | Description | 
|---|---|
| /etc/resolv.conf | Contains domain name server information for local resolver routines. |