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

lsnamsv Command

Purpose

Shows name service information stored in the database.

Syntax

lsnamsv { -C | -S"AttributeList ..." } [ -Z ]

Description

The lsnamsv high-level command shows customized, TCP/IP-based name service information from the /etc/resolv.conf file only. No information from the name server database is shown. The command can extract all customized name service information or selected name service attribute information from the configuration database.

You can use a Web-based System Manager Network application (wsm network fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit lsnamerslv fast path to run this command.

Flags

-C Extracts all customized name service configuration information.
-S "AttributeList ..." Specifies a selected set of attributes to be extracted from the system configuration database. Attributes can be the following:
Domain Domain name
NameServer Internet address of name server in dotted decimal format
-Z Specifies that the output be in colon format. This flag is used when the lsnamsv command is invoked from the SMIT usability interface.

Examples

  1. To list all customized name service configuration information in dotted decimal format, enter the following command:
    lsnamsv -C
  2. To list selected attributes, enter the following command:
    lsnamsv -S "domain nameserver"
    The -S flag indicates that the quoted list that follows contains a list of attributes to display.

Related Information

The namerslv command.

Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.

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


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