Configures TCP/IP-based name service on a host for a client.
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 Devices application in Web-based System Manager (wsm) to change device characteristics. You could also use the System Management Interface Tool (SMIT) smit mknamerslv fast path to run this command.
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:
|
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.mknamsv -A namsv.file
In 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.file in the following format:domain=austin.century.com
nameserver=192.9.200.1
Item | Description |
---|---|
/etc/resolv.conf | Contains domain name server information for local resolver routines. |