Configuring and Administering Network Components in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014

Resetting SMF Naming Services Configuration

You can reset the configuration properties of an SMF naming service back to the files only mode as follows:

# /usr/sbin/nscfg unconfig FMRI
# svcadm refresh name-service/switch

For example, you would revert the changes that were made to the SMF configuration in Importing Naming Services Configuration as follows:

# svcadm disable dns/client
# /usr/sbin/nscfg unconfig dns/client
# /usr/sbin/nscfg unconfig name-service/switch
# svcadm refresh name-service/switch
# svcadm refresh name-service/cache