[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 3

mknamsv Command

Purpose

Configures TCP/IP-based name service on a host for a client.

Syntax

mknamsv { -a "Attribute=Value ..." | -A FileName }

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 Web-based System Manager Devices application (wsm devices fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit mknamerslv fast path to run this command.

Flags

-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:
Domain Domain name
NameServer Internet address of name server in dotted decimal format

Examples

  1. 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.
  2. To configure name server initialization files according to information in another file, enter the command in the following format:
    mknamsv -A namsv.file
    In this example, the file that contains the configuration information is namsv.file.

Files

/etc/resolv.conf Contains DOMAIN name server information for local resolver routines.

Related Information

The namerslv command.

Naming in AIX Version 4.3 System Management Guide: Communications and Networks.

Configuring Name Servers 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.

The SMIT Interface for TCP/IP in AIX Version 4.3 System Management Guide: Communications and Networks.

System Management Interface Tool (SMIT): Overview in AIX Version 4.3 System Management Guide: Operating System and Devices.


[ Previous | Next | Contents | Glossary | Home | Search ]