[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

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 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.

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 5L Version 5.2 System Management Guide: Communications and Networks.

Configuring Name Servers in AIX 5L Version 5.2 System Management Guide: Communications and Networks.

For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.2 Web-based System Manager Administration Guide.

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

System Management Interface Tool (SMIT): Overview in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]