{"id":284,"date":"2013-12-12T10:16:37","date_gmt":"2013-12-12T08:16:37","guid":{"rendered":"http:\/\/www.rocworks.at\/wordpress\/?p=284"},"modified":"2013-12-12T11:20:03","modified_gmt":"2013-12-12T09:20:03","slug":"how-to-set-dns-server-and-search-domain-in-solaris-5-11","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=284","title":{"rendered":"How to set dns-server and search domain in solaris 5.11"},"content":{"rendered":"<p>root@solaris:~# svccfg<\/p>\n<p>svc:&gt; select dns\/client<br \/>\nsvc:\/network\/dns\/client&gt; setprop config\/<strong>nameserver<\/strong> = net_address: <strong>192.168.1.14<\/strong><br \/>\nsvc:\/network\/dns\/client&gt; setprop config\/search = astring: <strong>rocworks.local<\/strong><br \/>\nsvc:\/network\/dns\/client&gt; select default<br \/>\nsvc:\/network\/dns\/client:default&gt; refresh<br \/>\nsvc:\/network\/dns\/client:default&gt; validate<\/p>\n<p>svc:\/network\/dns\/client:default&gt; select name-service\/switch<br \/>\nsvc:\/system\/name-service\/switch&gt; setprop config\/host = astring: &#8220;<strong>files dns<\/strong>&#8221;<br \/>\nsvc:\/system\/name-service\/switch&gt; select default<br \/>\nsvc:\/system\/name-service\/switch:default&gt; refresh<br \/>\nsvc:\/system\/name-service\/switch:default&gt; validate<\/p>\n<p>check the result in \/etc\/resolv.conf (don&#8217;t edit this file, it will be set by svc on (re)boot)<\/p>\n<p>search rocworks.local<br \/>\nnameserver 192.168.1.14<\/p>\n","protected":false},"excerpt":{"rendered":"<p>root@solaris:~# svccfg svc:&gt; select dns\/client svc:\/network\/dns\/client&gt; setprop config\/nameserver = net_address: 192.168.1.14 svc:\/network\/dns\/client&gt; setprop config\/search = astring: rocworks.local svc:\/network\/dns\/client&gt; select default svc:\/network\/dns\/client:default&gt; refresh svc:\/network\/dns\/client:default&gt; validate svc:\/network\/dns\/client:default&gt; select name-service\/switch svc:\/system\/name-service\/switch&gt; setprop config\/host = astring: &#8220;files dns&#8221; svc:\/system\/name-service\/switch&gt; select default svc:\/system\/name-service\/switch:default&gt; refresh svc:\/system\/name-service\/switch:default&gt; validate check the result in \/etc\/resolv.conf (don&#8217;t edit this file, it will be set by &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=284\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to set dns-server and search domain in solaris 5.11<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-284","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=284"}],"version-history":[{"count":4,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/284\/revisions"}],"predecessor-version":[{"id":286,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/284\/revisions\/286"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}