RagHon Consulting
+47 98237711
  • Home
  • Services
  • Products
    • Oracle Enterprise Ops Center >
      • Links
      • Youtube
    • Self Extracting Zip Files
    • RC 2 SMF toolkit
    • RBAC aware user provisioning
    • Oracle Software
    • Oracle Hardware
    • Citrix Software
  • Partners
  • Blog
  • Contact
  • About
  • Support
    • Documents
  • Apps
  • Hjem

Configure DNS services in Solaris 11 using SMF

15/2/2012

0 Comments

 

The well known files resolv.conf and nsswitch.conf are no longer important in Solaris 11. 
The new way to change DNS configuration is by using SMF: 

* Define new dns settings (resolv.conf)
svccfg -s dns/client "setprop config/nameserver = net_address: 10.0.1.1"
svccfg -s dns/client "setprop config/domain = astring: raghon.no"
svccfg -s dns/client "setprop config/search = astring: raghon.no"
svcadm enable dns/client

* Configure name-service switch (nsswitch.conf)

svccfg -s name-service/switch "setprop config/host = astring: \"files dns\""
svcadm restart name-service/switch
0 Comments



Leave a Reply.

    View my profile on LinkedIn

    Author

    Ragnar Hongset @ RagHon Consulting. Independent consultant with 9 years of experience working for SUN Microsystems, and 15+ years experience with Solaris systems.

    Archives

    Mai 2014
    Februar 2014
    Mars 2013
    Februar 2013
    Januar 2013
    April 2012
    Februar 2012
    November 2011

    Categories

    Alle
    Cheat
    Comstar
    Dns
    Encryption
    Ios
    Ipadm
    Iscsi
    Ledvil
    Mac
    Mpxio
    Nexenta
    Nsswitch.conf
    Opensolaris
    Oracle Virtual Desktop Infrastructure
    Osx
    Pgp
    Resolv.conf
    Smf
    S/MIME
    Snap
    Solaris
    Solaris 11
    Solaris 9
    Sun Ray
    Svccfg
    Svcs
    Trusted Extentions
    Tx
    Unix
    Vdi
    Windows
    Xp

    RSS-feed