User Tools

Site Tools


tech:unix:solaris:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tech:unix:solaris:start [2019/03/23 00:27]
rk4n3
tech:unix:solaris:start [2019/10/20 18:09] (current)
rk4n3
Line 14: Line 14:
   * The ''​printenv boot-device''​ command shows current boot setting   * The ''​printenv boot-device''​ command shows current boot setting
   * May have to use the ''​setenv boot-device newbootdevspec''​ command to change boot device   * May have to use the ''​setenv boot-device newbootdevspec''​ command to change boot device
 +
 +==== DNS (client) ====
 +
 +Prepare a list of domains to search and the IP addresses of the DNS name servers on your network.
 +Set properties in the SMF repository with the information:<​code>​
 +$ svccfg -s network/​dns/​client
 +svc:/​network/​dns/​client>​ setprop config/​search = astring: ("​domain1"​ "​domain2"​)
 +svc:/​network/​dns/​client>​ setprop config/​nameserver = net_address:​ (address1 address2)
 +svc:/​network/​dns/​client>​ select network/​dns/​client:​default
 +svc:/​network/​dns/​client:​default>​ refresh
 +svc:/​network/​dns/​client:​default>​ validate</​code>​
 +Specify the name service switch to use DNS:<​code>​
 +svc:/​network/​dns/​client:​default>​ select name-service/​switch
 +svc:/​system/​name-service/​switch>​ setprop config/host = astring: "files dns"
 +svc:/​system/​name-service/​switch>​ select system/​name-service/​switch:​default
 +svc:/​system/​name-service/​switch:​default>​ refresh
 +svc:/​system/​name-service/​switch:​default>​ validate
 +svc:/​system/​name-service/​switch:​default>​ quit</​code>​
 +Start the services that are needed to run the DNS client:<​code>​
 +$ svcadm enable dns/client
 +$ svcadm enable name-service/​switch</​code>​
  
 ====== Trivia ====== ====== Trivia ======
tech/unix/solaris/start.1553318830.txt.gz ยท Last modified: 2019/03/23 00:27 by rk4n3