A:
* nscfg
- import, export name service configurations
* subcommand import
import [-fvq] FMRI
If none of the SMF repository properties for the specified FMRI are currently populated, import the legacy configuration files associated with the specified FMRI into the SMF repository.
* Example: Importing DNS Client Configuration
The following command imports the DNS client configuration, stored in resolv.conf, into the SMF repository.
# nscfg import svc:/network/dns/client:default
* svcadm– manipulate service instances
D: netcfg
- create and modify network configuration profiles
The netcfg utility manipulates system network configuration profiles. netcfg can be invoked interactively, with an individual subcommand, or by specifying a command file that contains a series of subcommands.
/ netcfg location properties include:
/ nameservices: enum value list: files | dns | nis | ldap
Specifies the name services that should be configured, such as DNS, NIS, and LDAP.
Incorrect:
Not B: netcfg has no subcommand import.
Note:
* Each workstation has a nsswitch.conf file in its /etc directory. Each line of that file identifies a particular type of network information, such as host, password, and group, followed by one or more sources, such as NIS+ tables, NIS maps, the DNS hosts table, or local /etc, where the client is to look for that information.
* The Solaris platform provides the following naming services.
/ DNS, the Domain Name System
/ /etc files, the original UNIX naming system
/ NIS, the Network Information Service
/ NIS+, the Network Information Service Plus
/ LDAP, the Lightweight Directory Access Protocol